The CreatorCon Call for Content is officially open! Get started here.

Variable Editor (Formatter)

Bruna Suda M
Tera Expert

I created a custom variable formatter (sys_ui_formatter ) for my custom Cases table using "com_glideapp_questionset_default_question_editor".

All Cases are created from a record producer. And although I created and made the formatter available on the Case form, the variables do not appear on the created record form.

Where is the error?

1 ACCEPTED SOLUTION

Bruna Suda M
Tera Expert

I managed to solve the problem!
All I had to do was remove the formatter from the form, save it and insert it again. After that it worked fine, the variables were visible in the case form...

View solution in original post

3 REPLIES 3

Swapna Abburi
Mega Sage
Mega Sage

Hi @Bruna Suda M 

The below support article may help.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0538897

 

1. Try changing the UI macro in the formatter to 'com.glideapp.questionset.DefaultQuestionEditor'.

2. Also validate if any variable names in the record producer matching with field names on your custom case table and if any UI policies/client scripts hiding the fields which are having same name as variable.

Bruna Suda M
Tera Expert

Hi @Swapna Abburi ! Thank you for your response!

I had already read this article and checked all these points, but I was not successful in solving my problem.

Although the responses appear on the portal immediately after submission, no variables are visible on the case form.


 

 

 



Bruna Suda M
Tera Expert

I managed to solve the problem!
All I had to do was remove the formatter from the form, save it and insert it again. After that it worked fine, the variables were visible in the case form...