Custom view to open from list control button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2023 04:16 PM
Hi anyone,
How we can open a custom view from using list control (New)button?
I appreciate your response in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2023 05:18 PM
Hi @sss10 ,
you can enforce your custom view by view rules.
write rule conditions on current user (group, role, department..) to auto enforce view when they click new UI action.
Thanks
**mark - helped or solved your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2023 08:34 PM
Hi @sss10
you can follow these steps:
- Navigate to the list where you want to add the (New) button.
- Click on the "gear" icon in the upper right corner and select "Configure".
- In the "Related Lists" section, click on the "List Control" tab.
- Click on the "New" button to edit its properties.
- In the "List Control Properties" dialog box, find the "Action" field and select "URL".
- In the "URL" field, enter the URL of your custom view. The URL should be in the format: /$your_custom_view.do?sysparm_query=$query.
- Replace $your_custom_view with the name of your custom view, and $query with the query string parameters that define the records to display in your custom view.
- Click "Save" to save your changes.
Once you've saved your changes, the "New" button on the list should open your custom view instead of the default New Record form.
Regards,
Teja
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.