Set field value in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
I have created a page variant to create a new record in custom table. In rate type field I want to pre-populate a default value whenever form get loaded.
For this requirement I have added [field] set value handler under From loading state changed.
So, when I preview the configured page, It is showing expected result, like alert is getting printed, field value is getting set to Fixed rate
However when I'm opening URL page, its neither printing alert nor setting field value. Seems events are not getting triggered on URL page. Why this is happening. Please help me to fix this issue.
Thanks in advance for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
Hi @pallavigaik ,
The reason is whenever if we open the page in URL Path it will open the page variant which is having lowest order if no conditions are set. You have duplicated the OOB page right, did you inactivated the OOB page or not?
If not try to reduce the order of your newly created variant.
1.Open the duplicated page variant in UI Builder,Click on settings
2.Modify the order with less than the OOB page variant order and save the variant.
Now check the result by opening the page using open URL path.
If my response helped, mark it as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
42m ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
36m ago - last edited 35m ago
Any reason you are not using an onload client script (this can also handle the infomessage) or a default value?
You can also fill values from the url using the query parm when creating new records just like in classic ui: /now/sow/record/incident/-1/params/query/short_description=helloworld%5Edescription=foobar
