- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 12:44 AM
Hi all developers,
I want to have table_name field with base_table set to a table (e.g. task) so that you can select only tables inheriting base table however I want to still include -- None -- option as it is in e.g. Business Rules. The issue is that I found no attribute working for that so far and once I specify base_table=task in dictionary, the -- None -- option is gone. I have found two places in the platform where "includeNone" attribute is used for table_name field but it does not look working and it is not documented.
Do you have other idea, how to show -- None -- option in the same way as when the base table is not restricted?
Best regards,
Dominik
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 04:50 AM
Hi Dominik,
in addition to the "base_table" attribute just choose "Dropdown with -- None --" from the "Choice List Specification" as shown in the screenshot.
Regards,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 04:24 AM
Hi Dominik,
Not sure how you are implementing this, but you can include none if that field is choice from its dictionary or create non selectable table extending task, with an onsubmit just dont let it submit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 04:27 AM
HI Shariq,
The field is of type "table name" which allows you to select specific table in such a field. It is used e.g. in Busienss Rules where you need to select a table on which the rule should run. However once you define "base_table" attribute in dictionary of that table_name field then you do not see "none" option and first option is actually selected for you even there is no default defined. Hopefully this makes things clearer.
Best regards,
Dominik

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 05:21 AM
Hi Stefan,
That works, great. I was thinking that this is used just for "Choice" fields, but it works also for "Table Name" fields. Thanks!
Best regards,
Dominik