Create popup form using UI Macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2023 04:33 PM
Hi,
I have been tasked with creating a button on Problem Task form section that will open up a modal popup where the user will fill out certain fields. Once the user hits okay on the modal popup it will create a record on a separate custom table. I know that I can do this with UI Actions and UI Page and I suggested using the UI Action instead, but the customer wants to have the button directly on the form. So UI Macro is my option.
I know that I would need to create a UI Macro that calls a UI Page. What I need help with is how to pass a couple values from the ticket to the UI Macro and then pass the values to the UI Page.
There are 3 fields that I need on the popup form.
1. Problem sys id
2. Problem Task sys id
3. Comments box
Numbers 1 and 2 will be auto-populated from the problem task. Number 3 is what the client will fill out.
Any ideas on accomplishing this? I am still trying to convince them to use UI Action, but until then I still need to find an answer for this. Any help would be appreciated.