Dynamic page creation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 01:56 AM
Hi, I have created a page . after submitting a record producer it is redirecting to that page. I want to attach the sys_id of the submitted record in the url. how to do?
Record producer script:
producer.portal_redirect = "?id=event_reg_success";
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 04:09 AM
hi @Rosy14 ,
You can try something like this:
in producer script you need to pass the id
producer.portal_redirect = "/sp?id=yourpagename&table="+current.sys_class_name+"&sys_id="+current.getUniqueValue();
or you can try only with id
producer.portal_redirect = "/sp?id=yourpagename"&sys_id="+current.getUniqueValue();
Please mark helpful & correct answer if it's really worthy for you.
Thanks,
BK