$sp.getRecord does not work in scoped application . servicenow bug ??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 02:57 AM
Hi everyone.
I'm sucked in below problem.
If i put this code into a scoped portal widget's servier side script , the script will stop at line2 ($sp.gerRecord) without any errors or warnnings...
But if i put it into a global widget , everything goes well ...I don't know why...
gs.info('yyyyyyy ' + data.table + data.sys_id);
var rec = $sp.getRecord('sc_req_item', 'ccbaa13c47ea8e10ea269dbe316d43f8');
gs.info("xxxxx")
Please mark my answer as correct and helpful based on Impact.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 04:50 AM
Hi @newhand
Great!
Then select the answer as correct and helpful and close this open thread.
Thank you