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

Creating a new application

To create a new application, open the System Applications | Applications module, as shown in the following screenshot, and click on the New button on the left:

We will be presented with a new application wizard screen like the one shown in the following screenshot:

As we are interested in creating an application that requires a table to store data, we will select the second option to Create custom application. We will be taken to the Create Application page, similar to the one shown in the following screenshot:

Let us populate the form fields in the Create Application page with the following values:

  • Name: Travel Booking Application Table
  • Scope: (auto filled)
  • Menu: (auto filled)
  • User Role: (auto filled)
  • CreateTable: Set as TRUE
  • Table section fields: (use auto filled values)

Click on the Create button to create a new application named Travel Booking Application Table along with the following artifacts:

  • An application scope: The process will also create a new scope, as discussed earlier in this chapter. It will consist of x_ prefix along with the customer vendor code. This will also create a new table and user role.
  • A user role: A user role in the format of x_[vendor-prefix]_[app-name].user.
  • A table: A new table with an application scope namespace prefixed to its name.
  • Access control: The table access control list defined for create, read, update, and delete operations.
  • An application menu: With the access role requirement set to the user role created with the application.
  • A module: A list of records type module linked to the newly created table and the access role requirement set to the newly created user role.

The artifacts such as user roles, table, and so on will use the scope name as the prefix. So while the custom table we created in Chapter 3, Data Management had a prefix u_, all tables in custom application have an x_ prefix. This means that when we create a user role, business service, table, and so on in global scope, it doesn't have any namespace prefix in its name field.

Furthermore, the Applications column for all artifact records will have the value set to the application record when they are part of a private scope application. On the other hand, the value of the application is set to global application record when the artifact records are part of the global application.

We can go back to the System Applications | Applications module page to see our new application listed under the Develop tab, as shown in the following screenshot:

We can click on the Edit button next to the custom application to open it in Studio, which enables us to quickly create, edit, and manage application artifacts.

When we create a new application using the application creator, the application picker automatically switches to the application we just created.
主站蜘蛛池模板: 麻城市| 广德县| 滁州市| 翁牛特旗| 淮安市| 集贤县| 金秀| 韶山市| 光泽县| 东光县| 衡山县| 富阳市| 且末县| 小金县| 双鸭山市| 泾川县| 扶余县| 大石桥市| 城口县| 龙海市| 修文县| 桑日县| 石楼县| 内乡县| 千阳县| 乌海市| 江华| 巴林右旗| 瓦房店市| 扬中市| 吴川市| 临澧县| 松原市| 福州市| 土默特右旗| 霍山县| 阿鲁科尔沁旗| 长垣县| 隆安县| 鹤峰县| 林甸县|