- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I've created a new view and a view rule for it where I scripted the condition that users without admin and it_portfolio_manager see this specific view. But it doesn't seem to work in the SPW
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I figured it out. It seems creating Workspace View Rules don't do anything for the new Demand record form in the SPW. I had to create a variant in UI builder, create an Audience for the groups I want to see the view I made, and hardcode the view name in the View variable of the variant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Did you create a view rule, or a workspace view rule? The former only works in the Core UI. Latter is for UI Builder based experiences (as long as they're configured to respect view rules)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Marlon Dale
Refer KB: KB0997033 Script doesn't set the view in the View Rule
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I figured it out. It seems creating Workspace View Rules don't do anything for the new Demand record form in the SPW. I had to create a variant in UI builder, create an Audience for the groups I want to see the view I made, and hardcode the view name in the View variable of the variant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Did you correctly link your view rule to a UX View Rule Config? I've just successfully done this in a PDI.
SPW uses the 'Alignment Planner Workspace' view rule config.