Variables are getting populated for catalog form

ramkumarjai
Tera Contributor

Hi Community,

We are currently designing a parent catalog item that consolidates multiple existing catalog items.

For example, we have four catalog items:
• Catalog A
• Catalog B
• Catalog C
• Catalog D

We created a single parent catalog item and added a dropdown variable that lists these catalogs (A, B, C, D). Based on the user’s selection, the relevant variables for the selected catalog item are shown dynamically.

The variables for each catalog item (A, B, C, D) are either copied from or referenced from their respective original catalog items. The visibility is controlled using UI Policies and Client Scripts, similar to how they work in the original catalog items.

Problem Statement

When a request is raised from the parent catalog item, and the user selects Catalog B, the variables appear correctly on the catalog form. However, after submission:
• Most of the variables related to Catalog B do not appear at the RITM (Requested Item) level
• The same variables appear correctly when Catalog B is requested directly (not through the parent catalog)

What We Have Checked So Far
• UI Policies
• UI Policy Actions
• Client Scripts
• Variable configurations
• Variable names and types

All configurations match the original Catalog B setup, and there are no differences in scripts or policies.

8 REPLIES 8

ramkumarjai
Tera Contributor
 

Siddhesh Gawade
Mega Sage
Mega Sage

@ramkumarjai ,

Can you please explain how you are referencing variables in parent catalog item?

 

Regards,

Siddhesh Gawade

Not referencing 
I recreated those variables and ensured the name and question remain same. 

@ramkumarjai ,

As you recreated variables, please make sure all UI policies or client scripts are working on RITM view as well.