Is it possible to display only one field option to users in the US location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 03:05 AM - edited 03-31-2025 01:14 AM
Is it possible to display only one field option to users in the US location, while making all other options visible to users in other locations?
For example, only the wireless option should be visible to the US location users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 08:08 AM
@Robert H I compared it with your screenshot, and everything looks identical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2025 08:31 AM
Hello @Ria ,
The solution implemented as shown in my screen shots is working fine on my end, so there must be some other configuration on your instance that is interfering with it.
Without access to your actual instance I can only suggest that you open a Now Support case. Someone from technical support needs to have a look at it.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2025 07:56 AM
Hi @Robert H
For locations in the US, only the wireless option should be displayed, while for other locations, only the wired option should be shown. Can this be implemented using catalog UI policy?
Regards,
Riya Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2025 10:31 AM
Hello @Ria ,
Yes, the solution that I provided in this post on 2025-03-28 removes the wired option for the US location, and adds it for all other locations, using a Catalog UI Policy. All you need to do is to add similar code for the wireless option:
Execute if true:
g_form.removeOption('type', 'wired');
g_form.addOption('type', 'wireless');
Execute if false:
g_form.removeOption('type', 'wireless');
g_form.addOption('type', 'wired');
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2025 11:30 AM