How to change order of catalog variables in variable editor of RITM .

aastha3
Giga Contributor

I want to change order of catalog variables in variable editor of RITM.

1. Cant change from workflow as RITM is used through workflow versions.

2. Cant change order through catalog as according to the requirement catalog view on ESS should remain as it is but it should change only on RITM page.

How to change order of catalog variables in RITM.

Do I have to write client script on load . If yes then how ?

4 REPLIES 4

Midhun1
Giga Guru

Hi,



Screen shots would be helpful.


michal29
Mega Guru

Hello Aastha,



Catalog client scripts can have a checkbox checked that they work only on RITM view.


But getting what you want from there might be tough, and result in some browser connected issue, or may stop working with any new update of service.



Despite,


I would gather a collection of your variables, meaning -> go inspect RITM form -> narrow searches to the div with variables and search for all variables and gather them in a.. say array. Then I would add property to each element with your new Variable order like -request: 10, action: 20, comments: 30, And then reading the object value append the elements in ascending order on the form.


But as I said, it's rather not suggested. I don't know of any other way.



Regards,


Michal


Chuck Tomasi
Tera Patron

By default, the order the variables appear in the catalog item (as numbered using the order field in the variables) is how they appear in the requested item. I recommend changing the order of the variables in the catalog item definition. Changes will not impact existing records, only records going forward.



BEFORE: Catalog item Acrobat @20, Photoshop@30, RITM10001


find_real_file.png



AFTER: Catalog Item Photoshop@20, Acrobat @30, RITM10002


find_real_file.png


rathikaramamurt
Giga Expert

Hi Aastha,



You can directly add the order value in the Catalog variable (Item view) by Configure Variables option.



Regards,


Rathika.



Mark If helpful...