Variable not showing on RITM

annieporter
Tera Contributor

I have a catalog item and I have all variables showing but one and I can't figure out why it will not write to the RITM. I have tried unchecking hidden and everything else AI suggested. Does anyone have an suggestions? I do have  base hide policy with it included but even if  I remove that it still doesn't show. 

 

1 ACCEPTED SOLUTION

mohamadalha
Tera Expert

Please verify that any UI actions associated with the removed UI policy were also removed. If they were deleted, try recreating the item and its variables from scratch.

View solution in original post

6 REPLIES 6

mohamadalha
Tera Expert

Please verify that any UI actions associated with the removed UI policy were also removed. If they were deleted, try recreating the item and its variables from scratch.

Yaramala
Mega Sage

Hi @annieporter 

Hi,

I would first confirm whether the variable is actually being saved or only not showing on the RITM.

Please check the backend records for that RITM in sc_item_option_mtom and the related sc_item_option record. If the variable/value is missing there, then it is not being written during submission or it is getting cleared before submit. If it exists there but does not show on the RITM, then it is more likely a display issue.

Things to check:

  • Variable is active and has a proper unique name

  • Variable type is a real input type, not label/container/info-only type

  • No duplicate variable names on the item or variable set

  • Catalog UI Policy is not hiding it with “Clear the variable value” enabled

  • UI Policy is not applying on Requested Item and hiding it on the RITM

  • Catalog Client Script is not using g_form.clearValue(), setValue(), setDisplay(), or setVisible() for that variable

  • Variable Set UI Policies / Client Scripts are not affecting it

  • Variable has an actual value during submit

  • Test with a brand-new request after changes, not only old RITMs

  • Check whether it is saved in backend but hidden from Variable Editor

My first check would be sc_item_option_mtom/sc_item_option. That will tell whether the issue is with saving the variable or only displaying it on the RITM.

Please mark this as Helpful or Accept as Solution if it helps.

Please mark this as Helpful if it helps.

If this addresses your question, please mark this response as Accepted Solution 

Yaramala_0-1780926085652.png

 

 

 or mark has helpful 

Yaramala_1-1780926085652.png

 

 

 if you find it helpful.

Thank you!

TejaswiniY

DylanBlumenberg
Kilo Sage

Hi @annieporter, in my experience, it's usually one of a couple things:

  • The Global field is not set to true on the variable.
  • The Hidden checkbox is set to true on the variable.
  • There are conflicting UI policies causing it to be hidden.
  • The UI policy only applies to the Catalog View and not the RITM/SCTASK. 

mohamadalha
Tera Expert

Please verify that any UI actions associated with the removed UI policy were also removed. If they were deleted, try recreating the item and its variables from scratch.