How do I show the catalog item variables on the RITM form on the portal

arnabwa
Giga Guru

Hi Snow Enthusiasts,

 

I believed this would be oob but not the case.

The Case : After submitting a catalog item from the portal, user can navigate to 'My Requests' option in our portal and see a list of RITMs from where user would choose a certain item to see the details or the progress.

The Issue : After opening a RITM user is able to see all the fields of the RITM available on the ess view. But cannot see the variable editor or the case details or we say the catalog item form variables (as entered by the user and submitted). 

The Proof : Please see the screenshots 

-- In Service Portal. view=ess. Only the section label is shown.

find_real_file.png

-- In native. view=ess

find_real_file.png

 

The Methods applied : 

  • Tried by keeping the variable editor in all the views
  • Tried by removing the case details section and keep the variable editor directly on to RITM
  • Looked upon all UI Policies and client scripts which might be hiding the variable editor. None of that kind.

The Info :

  • Widget used for form rendering = clone of widget-form
  • Portal is a cloned and then customized version of OOB portal.

The Question : Please guide me on what is exactly missing or what new can be introduced (may be in the widget) to incorporate the variable editor details.

 

Many Thanks,

Arnab

6 REPLIES 6

Oleg
Mega Sage

I tried to reproduce the problem, which you described, but the variables are displayed without any problems.

find_real_file.png

Do you tried to display the same with the original form widget (page id=form)? Additionally you can verify how sys_ui_section "Case Details" looks like. It should contains formatter "com_glideapp_servicecatalog_veditor":

find_real_file.png

After that you can examine the table Service Portal UI Formatters (sp_ui_formatter) for the mapping. It should contain the entry

find_real_file.png

Finally you can verify that the data of the widget contains block:

find_real_file.png

which will be filled by the following code fragment of original form widget:

find_real_file.png

If you have differences in some places comparing with my tests then you can send me details. Comparing one working and one not working instance we can try to localize the reason of your problem.

 

Hi Oleg,

 

I really appreciate your all round description of the solution with the screenshots. 

As you suspected, nothing that you described was present in our system. We have upgraded to Madrid last month. Do you feel this is a upgrade defect or anyway this has to be done manually?

Though I could establish what you suggested, I am not able to still get the variable details to appear on the form or section. I should also mention that I did not understand the step 'Finally you can verify that the data of the widget contains block:' and the screenshot. please could you guide me how do I reach at this page?

Also I have added the widget code but Is there not a need to change anything in the HTML code of the widget?

 

Many Thanks,

Arnab