Adding Temporary fields to UI View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2014 07:38 PM
Hi,
I have created a view for Incident and am using GlideDialogwindow to show that view.
I have a requirement to add 2 fields to be displayed on the window and then control behaviour.
I see 2 options here
- add the 2 new customer fields to incident object and then use those
- implement a custom UI Page instead of using the view
Is there any other best way to implement this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2014 07:50 AM
Can you just add the two fields to the view you're showing in the popup? I'm not sure I understand your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2014 09:51 AM
The 2 fields i am talking about are just to control some behavior for the UI Action, so i am looking at an option where i don't have to add these 2 fields to the underlying object.( incident in this case)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2014 09:56 AM
You could add some parameters or use a callback function to pass a couple of values and do some scripting on the form. Check out this post:
http://www.servicenowguru.com/system-ui/glidedialogwindow-quickforms/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2014 11:22 AM
Thanks Brad.
I am using a similar code.
The Only different thing is that i also need to display those checkboxes in the GlideDialogForm without them being added to the incident table. I can always add these fields to the incident table but am looking for alternatives as these fields just control some behaviour and are not going to be used for reports.
-Aman