April 30, 2018, 8:47 am - James Farrer
I've run into an issue several times lately and wanted to make a note for myself and thought I'd share it at the same time since it wasn't easy to find in the documentation.
When using a Table Name field on a scoped table there is a restriction by default that only allows tables from the applications scope to be selected in the field. Every time I've used this type of field I've needed to show other tables, particularly Task tables.
The fix is a simple, though obscure, attribute that can be added to the field.
To fix it:
- Go to the dictionary record of the Table Name field with the issue.
- Add a new attribute using one of the two main methods:
- Using the Attributes related list
- Click the New button in the Attributes related list.
- Select the "Allow public" attribute.
- Set the value to true.
- Using the Attributes field in the Advanced View
-
Add the following to attributes string with commas to separate the attributes if there are others present:
allow_public=true
-
- Using the Attributes related list
For the field I was working on I had the following to show all Task tables while excluding Task itself:
allow_public=true,base_table=task,skip_root=true,base_start=true