- ServiceNow Application Development
- Sagar Gupta
- 368字
- 2021-07-03 00:01:09
Creating a table
Let us now create a custom table using the Tables & Columns module. There are multiple ways to create a new table. Either open the Tables module and click on the New button on the top, or open the Tables & Columns module and click on the Create Table button in the top section, as shown in the following screenshot:

You will be presented with a New record form for the Table. To be clear, we are inserting a new record, using the following form, into a system-defined (out-of-the-box) table labeled Table (with the system name sys_db_object) to create a new table in our instance:

Let us populate the form fields with the following values to create our first custom table:
- In the Label field, enter the label we want to give to our new table-that is, POS Location.
- The Name field will be automatically populated for you when enter a value in the Label field and focus out of it. Note that the u_ prefix will be added to the system name of your table. This is useful for distinguishing user-created tables from system tables. All user-created tables will have the u_ prefix.
- Leave the Extends table field blank.
- Make sure that the Create module checkbox is checked.
- Make sure that the Create mobile module checkbox is checked.
- Ensure that --Create new-- is selected in the Add module to menu field.
- As shown in the following screenshot, set the New menu name field's value as POS app menu and click Submit:

A new table with the label POS Location and system name u_pos_location will be created in our instance, along with a list of record modules and a new application menu in the left navigator section, as shown in the following screenshot:

We can confirm that our new table has been created by opening the Tables module and searching for all the tables that start with the u_pos string, as shown in the following screenshot:

We can click on the info icon to open the POS Location table in the detail page, where we can make some basic modifications to elements, such as the table's label, and see a list of the existing columns:

- Data Visualization with D3 4.x Cookbook(Second Edition)
- 解構(gòu)產(chǎn)品經(jīng)理:互聯(lián)網(wǎng)產(chǎn)品策劃入門寶典
- 算法零基礎(chǔ)一本通(Python版)
- 云計算通俗講義(第3版)
- C語言程序設(shè)計同步訓(xùn)練與上機(jī)指導(dǎo)(第三版)
- Visual Basic程序設(shè)計實(shí)驗指導(dǎo)(第二版)
- Visual C++開發(fā)入行真功夫
- 51單片機(jī)C語言開發(fā)教程
- Akka入門與實(shí)踐
- 實(shí)戰(zhàn)Python網(wǎng)絡(luò)爬蟲
- Java Web開發(fā)基礎(chǔ)與案例教程
- 網(wǎng)頁設(shè)計與制作
- 深入大型數(shù)據(jù)集:并行與分布化Python代碼
- Mastering Linux Kernel Development
- 谷歌JAX深度學(xué)習(xí)從零開始學(xué)