Step 3: Configure the screens

When creating a resource or when adding new fields to an existing resource, you can define how you want them to appear in the interface.

This step is not mandatory as you will still be able to populate your resource and access its data through workflows, audiences and REST API.

In the Screen definition tab, you can:

  • Add access to the custom resource in the navigation pane

  • Personalize the way in which the list of elements that make up the resource is presented

  • Define the way the detail view of each element of the resource is displayed

Enabling access from the navigation menu

If you want your resource to have a dedicated screen, you can make it available from the navigation menu.

  1. From the Screen definition tab of the resource, unfold the Navigation section.

  2. Check the Add an entry in the 'Client data' section box to allow access to this resource from the navigation pane.

    schema_extension_19

The resource will appear as a sub-entry within the Client data section.

Defining the default list configuration

The List configuration section of the screen definition lets you define the columns and information that will be displayed by default in the overview of a resource.

  1. Check the Customize the list configuration box to define the way the columns of the resource are displayed.

  2. Use the Add an element button to select a field from those that you have created.

  3. The field created is displayed in the list. You can edit its label and its width.

    schema_extension_20
  4. In the Simple search section, check the Specify the fields to be taken into account in the search to define which fields will be included in the search.

    경고:

    This configuration replaces the fields used in the default search.

  5. In the Advanced search section, check the Add search fields box to add additional fields beyond the simple search field. For example, if you select the "date" field from the fields that you have created, the user will be able to perform a search that only refers to the date.

  6. You can modify the order of the fields for the two search types.

  7. For an advanced search, you can add fields that link to a linked resource. These filters appear in the Search menu of the generated screen.

The overview screen of the resource is now defined.

Defining the detail screen configuration

The Detail screen configuration section of the screen definition lets you define the columns and information that will be displayed detail screen of each element of the resource.

  1. Check the Define a detail screen box to configure the screen that corresponds to each element of the resource. If you do not check this box, the detail view of elements of this resource will not be accessible.

    You can add all of the fields from your custom resource in one click. To do this, click the icon.

  2. Use the Add an element button.

  3. Select an element from those created for this resource and specify a field type:

    • Input field: is an editable field.

    • Value: is a read-only field.

    • List: is a table.

    schema_extension_23
  4. The element added is displayed in the list. You can edit its label.

    schema_extension_22
  5. For an extended resource, you can customize the title of the section where the new elements will appear.

The detail screen of the resource is now configured.

Actions on data section

These settings allow you to display a control bar in the custom resource screen. There are three options available:

schema_extension_actions
  • Authorize creating: this option allows you to activate creating elements of the resource. The user can therefore add additional records.

    참고:

    You must first activate the detail screen linked to the resource to make this option available.

  • Authorize duplicating: this option allows you to activate duplicating records linked to the custom resource.

  • Authorize deleting: this option allows you to activate deleting records linked to the custom resource.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책