- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 06:21 AM
I have a variable set that is used in multiple catalog items. I'd like to use the variable set on a catalog item to maintain our standards but I'm unsure how to filter that field for only this form.
It's a location table where I'm searching for a specific type of building. I tried the simple filter but it applies to all instances of the variable set. Not sure where to go from here so any assistance will be greatly appreciated.
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 06:39 AM
You'll need to hide the reference variable on this one Catalog Item, and create a new one to use with the different filter. If you are concerned about reporting or workflow that uses this variable value, you can set the value of the one in the variable set equal to that of the new one, keeping it hidden or read only, so that nothing is disrupted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 11:46 PM
Hi Glen,
You're on the right track by wanting to maintain consistency with a variable set, but you're not alone in running into the limitation where a filter applies globally across all catalog items using that set. This is a common challenge when trying to reuse components while needing item-specific logic. Unfortunately, out-of-the-box variable sets don’t support form-specific filtering directly, which makes things tricky when you’re targeting a unique subset like a specific type of building.
A solid workaround is to use a catalog client script on the catalog item itself. You can keep your variable set intact for standardization, but apply a script that dynamically filters the location field only when it's used within this specific catalog item. That way, the variable set stays reusable, but the behavior is tailored per form where needed. It’s a bit of extra work, but it keeps your structure clean and flexible in the long run.
Regards