Scoped app/custom app questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 08:16 AM
Hi,
I would like to create an application that would partially live in its own world, however it would also have to reach into the functionalities of various other modules, like Employee Center, and other globally scoped artifacts.
- Is it possible to do this with a scoped application? How would I be able to reach out and modify other scopes, or e.g. a global table or a global form view, or an Employee Center widget?
- I guess a different way to put this question is, are scoped applications only viable if you create everything from scratch yourself (e.g. tables, forms, scripts, portals etc.), or are they viable also for extension of existing functionality?
- Or, in case of extension of other modules, is it better to build it in update sets and manage it that way? Or maybe a mixture of the two?
I want a scoped application ideally that I can install/uninstall, and version. However I am really not sure what will happen when I need to start creating new widgets on Employee Center, or modify an existing global table and form view to introduce new fields, or change an existing business rule in a different scope to complement my own app... I don't understand how these things will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 09:01 AM
Hi,
You need to provide the Cross-scope privilege.
Cross-scope privilege record (servicenow.com)
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 11:27 AM - edited 12-14-2023 11:28 AM
Not sure I understand, I think what you linked is run-time access checking.
Take this example:
- You have an app. called "My App" that complements incidents. It has its own set of tables and configurations
- However, on incident you have a business rule that you need to update, to allow "My App" to work
- In addition, you need to update an incident field's configuration as well to allow "My App" to work
- There are also scripts on incident that you have to update
You can not do these changes in "My App" scope as you will receive an error. The things you want to update are in global scope. These global scope application files will also not be in your "Studio" and can not be imported.
The question is, how do you do the changes? Do you record them in update sets? How do you then deploy your application e.g. to the store, is there any way to package it together? How do you install this application elsewhere, do you have to install the app. and need to commit the complementary update sets separately?