Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Marco Navega
2
Views
1
Comments
Max. Length on Physical Table Name on Foreign Entities
Question
In order to define a new foreign entity on ServiceCenter I had to create a view and point the Physical Table Name to that view.
This happened because the max. length available for the field Physical Table Name is small considering that you may have to use a table from a different server. Something like [ServerName].[Database].[Owner].[Table],
and of course I can´t use the first and the last parentesis, wich can cause some confusion on your first implementation.
Marco Cunha
Hi Marco, I'm assuming you ran into that in one of the 2.x releases because in version 3.0 not only is the the limit set at 2000 characters, you no longer need to remove the square brackets from the table name and should use the full name instead.
Also, version 3.1 will see the debut of a new tool named Integration Studio that will greatly simplify common integration tasks like creating a foreign entity based on another database table or view.
As for using a view, it's actually a good idea especially if you want to hide some of the external table fields and/or if you wish to centralize managing application access to your external databases. As an added bonus this might make it possible for the external database to change and by only changing where the view fetches its fields your applications would continue to run.
Best regards,
Marco Cunha
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...