Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 01:30 AM
In the VTB (Freeform) board select a card
From the Card select Checklist > Create task > select Incident
Is there a way to get from the Dom the value of the Private task number on the Card for an onSubmit script for the Incident
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2024 04:10 PM
I found this gave me the value I needed: at https://[instanceName].service-now.com/nav_to.do?uri=%2F$vtb.do
top.window.frames[0].frames.document.getElementsByClassName("vtb-card-details")[0].getElementsByClassName("modal-title")[0].innerText;
at https://[instanceName].service-now.com/$vtb.do
top.frames.document
.getElementsByClassName("vtb-card-details")[0].getElementsByClassName("modal-title")[0].innerText;
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2024 04:10 PM
I found this gave me the value I needed: at https://[instanceName].service-now.com/nav_to.do?uri=%2F$vtb.do
top.window.frames[0].frames.document.getElementsByClassName("vtb-card-details")[0].getElementsByClassName("modal-title")[0].innerText;
at https://[instanceName].service-now.com/$vtb.do
top.frames.document
.getElementsByClassName("vtb-card-details")[0].getElementsByClassName("modal-title")[0].innerText;