Unable to create Choices from Scoped Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2020 11:43 PM
HI All,
I have a scoped application and a Record producer. Record producer creates a choice in a choice in a field which is coming from choice table.
To update that choice in choice table i have written producer script (The script works fine when i try it from Global scope) but i am unable to do so and i am getting below error:
Security restricted: Access to api 'setValue(sys_choice.label)' from scope 'my_custom_scope' has been refused due to the api's cross-scope access policy
Security restricted: Access to api 'setValue(sys_choice.value)' from scope 'my_custom_scope' has been refused due to the api's cross-scope access policy
Please suggest/ Thanks in advance.
Regards
Ankit

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2020 06:44 AM
you have to configured cross scope mentioned by Tony , if that doesn't help, you may have to configure the table access policy to allow web access. (Configure Table --> Application Access Tab . Allow access to table via web services or Accessible from all scope)