How to create properties pages?

sujannag
Giga Contributor

Hi Team,

Can any one help me how to create a page like email properties where i can allow the admin to set some properties for my custom APP. Thanks.

I checked Ui pages seems the design of the email_properties.do is not located there ? How do we develop such kind of pages ?

Regards,

Sujan

6 REPLIES 6

Sarah15
Tera Expert

Saurabh singh4
Kilo Guru

Hi

Try this process

Create Application Properties

An Application Property is a configurable application parameter.

The procedure to add files to an application in Studio is the same regardless of file type:

  1. Click the Create Application File link.
  2. Choose the new file type, in this case, System Property.
  3. Configure the new file.

 

Configure a property

 

  • Suffix: Unique part of property name.
  • Name: Created automatically. Uses the syntax <scope>.<suffix>.
  • Description: An explanation of the property that is displayed on the application properties page.
  • Choices: Comma-separated list of choices. Used only with the choice list type.
  • Type: Data type for the property, selected from the Type choice list.
  • Value: The default value for the property. (not required)
  • Ignore cache: Option to refresh the cache before processing the property. The cache stores commonly used items in memory such as forms and UI elements. Select if you want to ensure the property uses the current value rather than a cached value.
  • Private: Property to exclude this property from Update Sets. Keeping system properties private prevents settings in one instance from overwriting values in another instance. System Property values might be different on production, test, and development instances.
  • Read/Write roles: Roles required to read/write property value.

Add a Property to a System Property Category

After saving an Application Property, a Categories related list appears at the bottom of the Properties form.

 

The Categories Related List

 

Click the Edit... button and use the slushbuckets to add the property to a System Property Category.

 

Add the Property to the Special Days Properties System Property Category

 

Set Property Order

To order the Application Properties on the page, return to the System Property Category tab if still open. Click the Additional actions menu (Additional actions menu is a trigram) and select the Reload form menu item. If the System Property Category was closed, open it using the Application Explorer in Studio.

Scroll to the Properties related list at the bottom of the form. All Application Properties have the Order value 100. When all values are the same, ServiceNow chooses the order.

 

All Application Properties have order 100 by default.

 

Double-click in the empty space in the Order column to change the order value. Give each property a unique Order value.

 

Set the Order value to unique values for each property