Need to add two drop downs to the state field for a sn_audit_engagement Table.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 07:06 AM
Need to add a drop downs to the state field for a sn_audit_engagement Table. But this two dropdown in a state field need to be visible only in Audit workspace but not on the native side.
Is there a way we can hide the choice of a field on the native side and make it visible on the Audit workspace.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 07:32 AM - edited 05-02-2024 07:37 AM
Hi @Sai74
One possible method would be by using the URL
Analyze the URLs in the native view and that in the workspace and then create the client script like this
Worked for me !!!
function onLoad() {
var url = top.location.href;
if (url.includes('now/cwf'))
g_form.addOption('state', 'test1', 'test1');
}