Link in Record Producer form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi All,
Is it possible to place a clickable link on record producer form, clicking on it should show few variables?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi,
Not sure if I follow your question.
The desciption field of the record producer is a HTML field which can have clickable links in it for example.
Are you asking that one of the variables should be an URL and if you click it, it would render more/less options in the form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
@OlaN Are you asking that one of the variables should be an URL and if you click it, it would render more/less options in the form? - Yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
38m ago
Sorry, not possible with any of the OOB variable types.
In that case you would have to create your own custom type and use that.
However I cannot recommend this option as it will likely add more maintenance than value it will provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
not possible with any variable as when you change the variable onChange client script will trigger
Workaround
-> You can try to use Custom variable type and include widget in that and that widget will have links inside it
-> You can have event which triggers when link is clicked and then show/hide other variables in client controller using this syntax
$scope.page.g_form.setDisplay('variableName', false); // to hide
$scope.page.g_form.setDisplay('variableName', true); // to show
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader