what happens when allow configuration is enabled in a table?

rakesh52
Kilo Contributor

what happens when allow configuration is enabled in a table?

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hello,

You can permit other application scopes to create configuration records on its application tables if Allow configuration is checked on the Table Access settings.

https://docs.servicenow.com/bundle/london-application-development/page/build/applications/concept/c_DesignTimeAccessToAppTables.html

View solution in original post

4 REPLIES 4

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

The Allow Configuration option allows out-of-scope applications to create application files for tables:

  • Business Rules
  • Client Scripts
  • New Fields (dictionary entries)
  • UI Actions

Example allowing configuration records for a table

Do this training, it will help you to understand it:

Training - Allow Configuration

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

 

Alikutty A
Tera Sage

Hello,

You can permit other application scopes to create configuration records on its application tables if Allow configuration is checked on the Table Access settings.

https://docs.servicenow.com/bundle/london-application-development/page/build/applications/concept/c_DesignTimeAccessToAppTables.html

siva_
Giga Guru

Allow Configuration

The Allow Configuration option allows out-of-scope applications to create application files for tables:

  • Business Rules
  • Client Scripts
  • New Fields (dictionary entries)
  • UI Actions

Creating Business Rules

When Accessible from is All application scopes and Can read is selected, out-of-scope applications can create Business rules for the table.

The configuration required for out-of-scope applications to create Business Rules for a table

 

When creating Business Rules in out-of-scope applications, a table will appear in the Table choice list only if permitted. In this example, a Business Rule in out-of-scope application is being created for the NeedIt table.

Creating a Business Rule for the NeedIt table from an out-of-scope application

 

Creating New Fields

When Accessible from is All application scopes and Can read and Allow configuration are selected, out-of-scope applications can create fields for the table.

Configuration for creating new fields in an out-of-scope application

 

To add new fields to a table, open the table for edit from the out-of-scope application in the main ServiceNow browser window (not Studio) using System Definition > Tables. Open the table of interest for editing. When you see the out-of-scope message, ignore it.

Ignore the out-of-scope message

 

Scroll to the Related Links and click the Design Form link. In the Form Designer, you must create a new View or section to add fields to an out-of-scope table.

Create a view

 

If the Field Navigator contains only the Fields tab, creating new fields is not allowed for the target table.

Allow new fields is not selected

 

If the Field Navigator contains both the Fields tab and the Field Types tab, new fields can be added to the out-of-scope table.

Allow new fields enabled

 

Creating UI Actions

UI Actions add buttons, links, and context menu items to forms and lists. UI Actions can contain scripts to execute customized script logic. When Accessible from is All application scopes and Can read and Allow configuration are selected, out-of-scope applications can create UI Actions for the table.

Configuration for creating UI Actions out-of-scope application table

 

In this example, the NeedIt table is out-of-scope for the UI Action's application. The NeedIt table Application Access configuration allows the out-of-scope application to create a UI Action for the NeedIt table.

Creating a UI Action for an out-of-scope table

 

The NeedIt table Application Access configuration does not allow the out-of-scope application to create a UI Action for the NeedIt table:

NeedIt table not selectable

 

Creating Client Scripts

Client scripts execute client-side script logic when forms load, change, or are saved. When Accessible from is All application scopes and Can read and Allow configuration are selected, out-of-scope applications can create Client Scripts for the table.

Configuration for creating UI Actions out-of-scope application table

 

In this example, the NeedIt table is out-of-scope for the Client Script's application. The NeedIt table Application Access configuration allows the out-of-scope application to create Client Scripts for the NeedIt table.

Creating a Client Script for an out-of-scope application.

 

The NeedIt table Application Access configuration does not allow the out-of-scope application to create a Client Script for the NeedIt table:

NeedIt table is not selectable

 

 

you can look out for the developer training available on the developer site where they walk you through building the NeedIt application . 

That will really help you in my opinion 

 

Please find link below 

https://developer.servicenow.com/app.do#!/trainlist/app_store_learnv2_securingapps_london_securing_applications?v=london

which details different ways of securing applications

 

Thanks,

Siva