\$sp.getRecord(); in a scoped application

davilu
Mega Sage

Hi Experts, our team is building a widget in a scoped application in Istanbul and am running into an issue using $sp.getRecord();

From what we've read, this only works in global and does not work in a scoped environment.   Any suggestions on how to transform the code so that it works in a scoped app?   Also, what exactly does $sp do?   Based on the documentation we've read it is a class used to access server script API, but we're still unsure how to use it effectively or what it is even querying.   Any information on that would be greatly appreciated as well.   Thanks!

1 REPLY 1

Justin Abbott
Giga Guru

I found out that serviceportal.io put up the documentation that used to be on GitHub. You might find it useful: https://serviceportal.io/docs/documentation/widget_server_script_apis.md .