What is table "sh\$sys_storage_table_alias" and why /how is it part of my scoped application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 04:10 PM
I am getting validation errors with a new scoped application and want to delete the table, but want to know where it came from first. It has no columns, no data. I am getting similar errors with table "Sh$sys Storage Alias"
What is the result if I simply delete these?
thanks
r
- Labels:
-
Scoped App Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 04:20 PM
Hello Raking,
Those are the shadow tables and it should not be created in application scope. I think there is already PRB related to this issue. As a workaround, move those tables to global scope via background scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 04:37 PM
oddly enough if I look at the table from the dictionary, I see records and columns, but when I look at the table from the validation error citation, there are no records or columns in the table config...so this is snarled up to be sure.
I don't seem to be able to move this table to global. do you have a background script that will effect that move?
thx

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 08:08 PM
Can you please share the script which is not working for you?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2017 10:08 AM
var gr = new GlideRecord('sys_db_object');
gr.addEncodedQuery('sys_scope=sysIDOfYourApplicationScope^name=sh$sys_storage_table_alias');
gr.query();
if(gr.next()){
gr.sys_scope = 'global';
gr.update();
}
The script above should fix this issue.