view port fields in open or close dialog ui builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 08:20 AM - edited 02-17-2023 08:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 10:00 PM
Hi,
This is to pass the required or optional parameters for your viewport pages.
I guess here you are using viewport modal. When you create a page in the viewport and add any required parameters to the page, you can pass the values of those parameters via viewport fields option.
For example, if your viewport modal page has "table" as a required parameter to do some operation, you need to pass the table name while rendering your modal. You can set the "table" from this option.
ServiceNow Community Rising Star 2022/2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 09:26 AM - edited 12-05-2023 09:29 AM
I have the same problem here, I need to pass an optional parameter "sysId" by passing a client state, how can I access the client state with the json, there is no option to select the optional parameters "sysId"?
Another alternative ist the script option but I don't know how to configure it, actually I don't know what I should write in showModal option (I think it's the one responsible for opening the modal)