- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 04:15 PM
Could somebody please help me figure how the 'New' button in the screenshot below was created & how its visibility is set?
I tried to look up 'Table' form's UI policies, Client Scripts, but I was unable to figure it out.
Fyi -
When I view my custom table, it shows the 'New' button.
However, when I view a table from a Global application — for example 'Embed Object' table , the button disappears.
Any help would be appreciated,
Regards,
Yogesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 05:54 PM
Hi Yogesh,
It comes from the OOB UI Macro - 'table_col_embedded_function'
Turn off the following property to false to hide the button.
ListProperties.setHasTopNavActionButtons(false);
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 04:24 PM
By default, the visibility of NEW UI Actions is tied to the presence of having access via a Create ACL.
In addition, you can right click a list and 'configure list layout' to 'Omit new button' on that list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 04:57 PM
Thanks Darius,
I am specifically looking for the logic behind the 'New' button on the 'Table' form's Columns Tab.
It doesnt seem to be very straightforward to me.
Did you mean, right-click and configure list control? in order to toggle the visibility of the 'New' button?
It does work for me for any form/list that I have created.
But, for this list on the 'Table' form, I get the message below, when I do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 05:54 PM
Hi Yogesh,
It comes from the OOB UI Macro - 'table_col_embedded_function'
Turn off the following property to false to hide the button.
ListProperties.setHasTopNavActionButtons(false);
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 06:10 PM
Awesome! Thank you very much Antin!
The button's visibility changes when the Table is Global vs Custom.
Can you possibly help me know how that's being operated?
Thank you again,
Yogesh