- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2018 08:03 AM
Hi everyone,
I am trying to create a script that will automatically add field to a table.
Is there a way I can do this? maybe by adding a record to sys_dictionary?
I tried to do that by using GlideRecord but it didn't work.
Any ideas?
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2018 09:20 AM
I just created my own app and scoped table. WHen I executed it on scoped app, it gave me cross-scope-privilege error.
I executed it in Global scope and it worked.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2018 08:52 AM
Still, no luck 😞

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2018 09:20 AM
I just created my own app and scoped table. WHen I executed it on scoped app, it gave me cross-scope-privilege error.
I executed it in Global scope and it worked.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2018 02:39 AM
Thank you very much!
From Global scope it worked perfectly.
Just one comment... in the sys_scope field, I had to put the sys_id of the scope (not the name).
I appreciate the help very much 🙂
Eran

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2018 08:39 AM
I wouldn't do this. there are other tables that come into play like sys_documentation, etc that you have to go through as well. what is your use case here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2018 08:57 AM
I have a scoped application in which I want to enable automatic conversion of other applications into my scoped application.
So I want the integrator to have the list of customized fields in an Excel file, and then upload the file and create those fields...