- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2021 06:46 AM
Hi,
I have a requirement to re-order the Agent Workspace view for Cases with the requirement of variables not appearing on the bottom of the form:
Even if the Variable editor is in a diffrent place altogether:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2021 08:08 AM
Actually One of my colleagues thought of a way around it. It is impossible to change the order of the variables section trough any configuration yes. The way he was able to solve it was trough a client script and modification of section order:
this.document.querySelector('sn-workspace-main > sn-workspace-content').shadowRoot.querySelectorAll('now-record-form-connected')[0].shadowRoot.querySelector('sn-form-internal-workspace-form-layout').shadowRoot.querySelector('now-record-form-blob').shadowRoot.querySelector('sn-form-internal-tabs').shadowRoot.querySelector('sn-form-internal-tab-contents').shadowRoot.querySelector('now-record-form-section-column-layout').shadowRoot.querySelectorAll('section').item(0).style.order=1
Which in it self is a dirty way around the problem which should be handled long time ago in Agent WS. We can close the topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2021 08:08 AM
Actually One of my colleagues thought of a way around it. It is impossible to change the order of the variables section trough any configuration yes. The way he was able to solve it was trough a client script and modification of section order:
this.document.querySelector('sn-workspace-main > sn-workspace-content').shadowRoot.querySelectorAll('now-record-form-connected')[0].shadowRoot.querySelector('sn-form-internal-workspace-form-layout').shadowRoot.querySelector('now-record-form-blob').shadowRoot.querySelector('sn-form-internal-tabs').shadowRoot.querySelector('sn-form-internal-tab-contents').shadowRoot.querySelector('now-record-form-section-column-layout').shadowRoot.querySelectorAll('section').item(0).style.order=1
Which in it self is a dirty way around the problem which should be handled long time ago in Agent WS. We can close the topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2023 01:10 AM
Hello Ankur Bawiskar
This is not working on the configurable workspace.
The variables are not showing.
any idea about that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2021 07:46 AM
just goto form layout in workspace view, you can remove it from there.