How to auto populate variables by the use of system property?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have a requirement where we need to dynamically show/hide and auto-populate fields in a Record Producer based on selected values.
Scenario:
We have the following variables in a Record Producer:
Category(Select Box)
Subcategory(Select Box)
Subject
Attachment
Requirement:
Based on the selected Category and Subcategory, the Subject and Attachment fields should auto-populate and become mandatory.
If no matching combination is found, these fields should remain hidden.
There are 50+ such combinations, where multiple fields need to auto-populate and toggle mandatory status.
Constraints:
We cannot use UI Policies, as that would require creating 50+ separate UI Policies which would be difficult to maintain.
Looking for a solution using System Properties, Client Script, or other optimized logic to handle this efficiently.
Has anyone worked on a similar requirement? Please suggest the best approach or share any sample implementation.
Thanks in advance for your guidance!