- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Interesting thing:
On the old platform you can use a view to display different fields in a form and/or list
Until now I believed: on workspace: you only have the workspace view (as defined in the page properties sys_ux_page_property)
Now I figured: you can display views using different views in the sys_ux_list.
Unfortunately the defined view in sys_ux_list is not honored when opening the record.
BUT (this is what I finally figured out), it IS possible to add /params/views/viewname to honor a view (ie. show different fields etc.)
I have, more than, one use case where i'd like to give a user the "choice" to switch a view.
I know I could achiev this somehow by adding to the URL /params/views/viewname.
but wouldn't it be nice, if the view given to the sys_ux_list would be honored?
how do you guys deal with such issues? do you have solutions?
best regards
Michael
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hello @MichaelZischeck ,
This will resolve by Workspace View Rules. How to create it and more details mentioned on below link-
Please mark "Accepted as solution" if resolves your question & mark "Helpful" to understand the issue.
Supriya Waghmode |ServiceNow Consultant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hello @MichaelZischeck ,
This will resolve by Workspace View Rules. How to create it and more details mentioned on below link-
Please mark "Accepted as solution" if resolves your question & mark "Helpful" to understand the issue.
Supriya Waghmode |ServiceNow Consultant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
I forgot to mention: I tried view rule, very basic.. didn't seem to apply...
very simple condition based upon field value. view rule does not kick in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
got it working in the meantime... there are 2 different kinds of view rules:
sysrule_view_workspace (here one NEEDs to add the workspace configuration at the bottom)
and
sysrule_view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
@MichaelZischeck So if on native UI you pass the sysparm_view=workspace it will open the form in workspace view(not actual workspace)
Same way in the workspace if you pass the view in url , where ever the page is configured to accept view (defined in UI builder), it will open the form in same view as defined in url.
I dont believe we still have an option to change view from workspace manually.
Please mark the answer correct/helpful accordingly.