Catalog variable in Request table

Ajith Sasidhara
Tera Contributor

Hi all,

I want to display Catalog item variables in sc_request form view, I cant  see the variable editor in slush bucket. Please help me on this.

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

By default it is available for only four tables - incident, sc_req_item, sc_task,   change_request.

 

If you want to make it available for any other table, you have to create the UI formatter first.

 

Please do the below for Formatters:-

 

Saurav11_0-1666092459607.png

 

Then create a new record for sc_request

 

Saurav11_1-1666092496727.png

 

Then you will see the variable editor in form layout of sc_request

 

Also even after that you will not see it as the values are not populated directly you will have to write a script which will copy variable values from RITM to Req

 

Please mark my answer as correct based on Impact.

 

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

Hi @Ajith Sasidhara ,

Please check if the visible elsewhere checkbox in checked for the variable. See the below screenshot.

 

SandeepDutta_0-1666090924143.png

 

 

@Community Alums  The checkbox is selected and still I cant find the variable editor in slush bucket.

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

By default it is available for only four tables - incident, sc_req_item, sc_task,   change_request.

 

If you want to make it available for any other table, you have to create the UI formatter first.

 

Please do the below for Formatters:-

 

Saurav11_0-1666092459607.png

 

Then create a new record for sc_request

 

Saurav11_1-1666092496727.png

 

Then you will see the variable editor in form layout of sc_request

 

Also even after that you will not see it as the values are not populated directly you will have to write a script which will copy variable values from RITM to Req

 

Please mark my answer as correct based on Impact.

 

Thanks @Saurav11  I have created a formatter but was in confusion why the variable are not displaying, thanks for the clarification now I have wrote script to map those variable in fields. Once again thanks.