Variable editor not showing in Service Portal ticket view for REQ's

Dedrei L_
Tera Contributor

I have cloned and made a very slight customisation, to remove the save button and make it read only, to the OOB sp-variable-editor widget.  I have added my cloned widget to the ticket page for end users to view a read only copy of their submitted form.  This is working perfectly fine for all forms being submitted except for REQ's whether catalog items or record producers on sc_request table.  When viewing the ticket page in the portal for any submitted REQ the variable editor widget does not display at all.

Any advice on what I need to update in order for the variable editor to work on the sc_request table?

Thanks

 

12 REPLIES 12

for that you have to build formatter on sc_request table then it will be visible for record producer. 

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0538897

https://hi.service-now.com/kb_view.do?sysparm_article=KB0725077

Harsh Vardhan
Giga Patron

Any update on this thread?

Let me know if you need any further help here. 

If your query has solved, kindly mark the answer correct and close this thread.

Hi

No I haven't really made any progress yet.  I understand that when submitting a catelog item the variables will not show in the portal when viewing the main REQ. But I still can't get it to show the variables for record producers on sc_request table.

I have tested by adding and removing the variable formatter on the sc_request form. Reason for testing with both is because the variable editor shows for incidents on the portal and our incident form does not have a custom formatter added, and similar with other custom tables where the variable editor shows on the portal even though not added to the table form. 

I don't get the same results as demonstrated in your video.

I also checked that the correct widget is being used as per the KB.  It was set on the OOTB one I then tried switching it to my custom one too with no luck and then switched it back to the OOTB one.

 

 

Also when I run the background test script on a sc_request record producer I get the desired output. So the values are being stored in the Question Answer table.

Dedrei L_
Tera Contributor

Another test that I tried, was reverting back to the OOTB sp-variable-editor widget on the portal page to make sure I didn't accidentally customise something that broke it for sc_request.  But even when reverting back to the OOTB widget it still doesn't display for record producers on sc_request.