confiure scoped app choice list, but got error Invalid 'Table' selected on the Choice Set record. The 'Customer Support' table is in application 'Customer Support', but the current application is 'Global'. The 'Table' field can only select 'Customer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2017 12:01 PM
Hi,
in scoped app, try to configure item choice based on type, always got this error , it seems get in, but the update set would not be allowed to the scope application to another instance
Invalid 'Table' selected on the Choice Set record. The 'XXXCustomer Support' table is in application 'XXXCustomer Support', but the current application is 'Global'. The 'Table' field can only select 'Customer Support' tables with read and alter access enabled.
Any suggestions how to address it?
Thanks!
Jerry
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017 01:49 AM
I've also got this issue. Will let you know if/when i find a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017 01:53 AM
I've found: Fixing the "Invalid Table/Task is Global" Error
but am wary of performing these and deleting a table that we have extended, customized, built scripts for, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017 02:12 AM
I think i have a workaround:
it looks like you can update the sys_choice record via a background script.
1) Create the choice value with a 'name' value of a table in the application scope
2) note the sysid
3) create the background script and run
- I am not sure how this will go in an update set and pushed to another environment. should be itneresting to test
var gr = new GlideRecord('sys_choice');
if(gr.get('dca2e45d4f3c030059d6ab4f0310c75b'))
{
gr.name = 'name_of_table_you_actually_need';
gr.update()
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2020 01:59 PM
If all you are doing is inserting choices, a solution that does not involve scripting is to look at the application access section for your table and change the access variable to public. This will let you insert the choice table, because the import set table for choices is in the global scope.
You can set it back to private once you've added your choices.