- 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
09-30-2024 06:31 AM - edited 09-30-2024 10:23 PM
To filter a variable set on a specific catalog item without affecting other items, you can use a script in the catalog item’s *onLoad* client script. Since filtering within a variable set applies globally, applying a dynamic filter condition through scripting is the best approach. You can target the field within the specific catalog item by adding a script that applies the filter only when the particular catalog item loads. Use `g_form.setDependentField()` or `g_form.setOption()` to customize the filter for the location table field based on your specific building criteria. This way, you maintain the standard variable set but apply the filter only for the relevant item. spotify premium apk pc
- 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
10-10-2024 06:33 AM
Here's an alternative approach that works without creating a new variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2025 02:25 PM
Hi,
I'm encountering an issue while trying to filter a reference field in a variable set on site, . Despite setting the filter conditions, the reference field doesn't seem to be applying them correctly.
Has anyone experienced a similar issue? How can I resolve this? Any insights would be greatly appreciated.