官术网_书友最值得收藏!

Dictionary

The System Definition | Dictionary module has an entry for each table and column in the database. As direct access to the database is not provided to ServiceNow customers, the dictionary offers a way to access the information on the database schema. It is also referred to as the data dictionary.

The Dictionary module lists data stored in the sys_dictionary table, referred to as the dictionary entry. It is equivalent to the database dictionary property of the tables and column objects in any RDBMS.

It lists both the tables and columns defined in the instance, as shown in the following screenshot:

If the Column name field is empty and the Type field is set as Collection, then the record is a table's definition. As shown in the preceding screenshot, for the Incident table, the Column name field is empty and the Type is set as Collection-this means that the record is the dictionary definition of the Incident table, whereas other records belonging to the table incident have the column name and type set as something other than Collection - it means they are the dictionary definition of the columns (fields) in the Incident table.

We can click on the info icon next to the record of the Incident table definition (collection) to load in the form detail page. We can activate features such as the auditing and text index or set some advanced attributes in the detail form (see Chapter 13, Advanced Database Features).

Similarly, we can click on the info icon, as highlighted in the following screenshot, next to the definition of the caller_id field of the Incident table, to view and manage the dictionary properties of the field:

Once the detail form page is loaded, we can modify field properties such as the field type, column label, or the table's display field by setting them as read-only or mandatory by simply editing the form fields:

We will be covering the use of different related tabs in the Dictionary detail form in Chapter 6, Introduction to ServiceNow Scripting.

主站蜘蛛池模板: 曲麻莱县| 海宁市| 鸡西市| 万宁市| 靖边县| 榆树市| 仪征市| 抚顺市| 海伦市| 正阳县| 平顶山市| 淮滨县| 内黄县| 布尔津县| 中宁县| 德惠市| 德令哈市| 东方市| 墨脱县| 海林市| 松桃| 福贡县| 宣恩县| 印江| 湖南省| 正宁县| 连江县| 安多县| 通化市| 永城市| 临夏市| 双辽市| 宁阳县| 南澳县| 榆中县| 鹤岗市| 博兴县| 大方县| 青河县| 德格县| 东光县|