- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 10:38 AM
In my scoped application, I am using out of the box (OTB) form widget which shows related list as links. Is there any option to make the links appear as tabs?
Any direction will help. Cloning the widget is giving error for function 'hasRightsTo()' as unsupported ' data.isAdmin = gs.hasRightsTo('sp/configure.all/execute', null);'
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 08:47 AM
Your reference qualifier for the child reference should look something like:
javascript:'parent=' + current.parent_column;
Pass: ...&sys_id=-1
in the URL to indicate a new record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 11:13 AM
Hello jrmarkel,
Passing the &sys_id=-1 opens the form using the "Tabbed Form Widget" but there seems to be some issue.
I have some client script, that execute server-side code from client side, on the form which auto-populate the certain fields on the form. It's failing to populate these fields.
Regards
mkm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 12:27 PM
These should be UI scripts that run on form load.
Test as before:
..../sp?id=form&table=sys_db_object&sys_id=-1
..../sp?id=form_tabbed_v2&table=sys_db_object&sys_id=-1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 07:40 AM
Good morning jrmarkel,
Hope you are doing good. So far observed a couple of things on the Tabbed Widget, just wanted to inform you. Widget does not support:
- Create a new record on a reference field, new button is not visible
- Does not support data type URL
Thanks, have a great day.
Regards
mkm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 08:45 AM
For the issue # 2, UI Action behavior I see it's happening with user with admin role. Here below is the Out of the Box screen shot where "New" button is hidden and below the screen shot is screen shot from the portal using tabbed form widget where "New" button is visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 09:28 AM
The new button is displayed when the user has canCreate authority:
<button name="new" role="button" class="btn btn-primary btn-sm m-l-xs" ng-click="newRecord()" ng-if="options.show_new && data.canCreate && !data.newButtonUnsupported" aria-label="${Create new record}">${New}</button>
An OOB example is one that uses OOB tables and is reproducible by anyone on any instance.
For example. show the difference between these URLs:
..../sp?id=list&table=sys_db_object
..../sp?id=list_v2&table=sys_db_object
when the results are the same, then the functionality is OOB.