Service Catalog - Custom variable type

shalani r
Tera Contributor

Hello everyone,

     I created a variable with custom type and used the widget field to display the required field as per requirement.

 

 

shalanir_2-1701411485705.pngshalanir_3-1701411531889.png

 

I need to pass the widget value to this custom type variable to be stored. But the variable is not showing up in the RITM/REQ. Kindly request to suggest any solution to achieve this.

 

Thanks in advance!

Regards,

Shalani R

1 ACCEPTED SOLUTION

Danish Bhairag2
Tera Sage
Tera Sage

Hi @shalani r ,

 

By default in the backend the custom variables are not visible. They are only visible on the portal.

 

What I could suggest you here is u can create one additional field which can be read only on the front end but visible on the RITM record (This u can achieve by using UI policy) & once the form is submitted from the portal,using onSubmit client script u can populate the custom field value in ur additional field which u would have created.This way it will be visible on RITM as well.

 

Thanks,

Danish

 

View solution in original post

6 REPLIES 6

Danish Bhairag2
Tera Sage
Tera Sage

Hi @shalani r ,

 

By default in the backend the custom variables are not visible. They are only visible on the portal.

 

What I could suggest you here is u can create one additional field which can be read only on the front end but visible on the RITM record (This u can achieve by using UI policy) & once the form is submitted from the portal,using onSubmit client script u can populate the custom field value in ur additional field which u would have created.This way it will be visible on RITM as well.

 

Thanks,

Danish

 

Hello @Danish Bhairag2 ,

     Thank you for your response.

I'll try and update you.

 

Hello @Danish Bhairag2 ,

     I used this as per your suggestion.

shalanir_0-1701415519386.png

 

Great thanks! It worked!

 

Regards,

Shalani R

@shalani r Happy to Help 😊

 

Happy Learning 🙌