Adding Temporary fields to UI View

agulati
Kilo Expert

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?

4 REPLIES 4

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Can you just add the two fields to the view you're showing in the popup? I'm not sure I understand your question.


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)


Brad Tilton
ServiceNow Employee
ServiceNow Employee

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/


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