How to create a button in List view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 07:15 AM
Hi,
How to create a button in LIST view when user clicked on that it should open a new form to submit a record.
Thanks,
Pihu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 07:34 AM
Create an UI action and select List banner button option. And use below script:
var url = 'https://<instance-name>.service-now.com/<table_name>.do?sys_id=-1';
action.setRedirectURL(url);
Replace instance-name with your instance name and table_name with the name of the table you want to create record in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 07:50 AM
Hi Ravindranath,
Its not redirecting to New Record form its showing alert as 'No Records selected'
Thanks,
Pihu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 11:40 AM
Can you post the screenshot of the UI action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2022 03:01 AM