Return to Navigation

Using Application Designer to Configure a Record

Steps:

  1. Identify the record to which attributes should be associated. For example, the following shows a record in Application Designer:

    Image: GENL_MATERIALS record

    This example illustrates the fields and controls on the GENL_MATERIALS record. You can find definitions for the fields and controls later on this page.

    GENL_MATERIALS record
  2. Create a child record for the identified record.

  3. Make sure the child record has all the keys of the parent record and the subrecord SCC_CAF_SBR. The SCC_CAF_SBR subrecord adds a new key SCC_CAF_ATTR_SEQ to this new record, thereby making this a true child record to GENL_MATERIALS as this new record now has one additional key. The following shows the child record that you can create for the GENL_MATERIALS record:

    Image: New child record: GENL_MATERLS_CA

    This example illustrates the fields and controls on the New child record: GENL_MATERLS_CA. You can find definitions for the fields and controls later on this page.

    New child record: GENL_MATERLS_CA

    The framework uses this child record to store the attribute data.

    Note: Oracle recommends that you also create a related language record for the new transaction table. The framework delivers the SCC_CAF_LN_SBR subrecord for this purpose. This subrecord has an additional key field LANGUAGE_CD and all the description kind of fields from the SC_CAF_SBR subrecord.

  4. Modify the definition of the runtime page that displays the attributes. To do so, choose from the two delivered subpages:

    • SCC_CAF_LAUNCH_SBP: Displays attributes in a secondary page.

    • SCC_CAF_SBP: Displays attributes in a scroll area.

    These two generic subpages, which the framework delivers, enable a user to access and manipulate the attributes in two different ways. The SCC_CAF_LAUNCH_SBP subpage displays a link. When the user clicks the link, the system launches a secondary page with all attributes associated with a record. The other subpage SCC_CAF_SBP displays attributes in a scroll area. You can choose one of these subpages for a quick implementation. There are no further technical changes or coding required. If you require a different type of user interface, then you must use the Common Attribute API.

    See Common Attribute Framework Application Class Reference.

Generic subpage SCC_CAF_LAUNCH_SBP

The following is the SCC_CAF_LAUNCH_SBP subpage:

Image: SCC_CAF_LAUNCH_SBP subpage in Application Designer

This example illustrates the fields and controls on the SCC_CAF_LAUNCH_SBP subpage in Application Designer. You can find definitions for the fields and controls later on this page.

SCC_CAF_LAUNCH_SBP subpage in Application Designer

This subpage displays only a hyperlink on the page. Click this link to launch a modal secondary page containing all the attributes associated with the record. You can customize the hyperlink label on the Record Context page.

Considerations for using this subpage:

  • If you want a small user-interface footprint on an existing page.

  • This subpage does not contain a scroll area. This means that users will not be able to add multiple instances of an attribute, therefore, you should employ this option only in areas where a single instance of an attribute is required. For example, if the subpage is intended for users to record only a single value for an attribute such as Which Social Media Tool Do You Use, use this subpage.

You must place this subpage in the scroll area where the extended record is the primary record. Also, ensure that the subpage is in the same component buffer level as the record in the page order tab.

This example shows the addition of SCC_CAF_LAUNCH_SBP to GENL_MATERIALS in Application Designer:

Image: Adding SCC_CAF_LAUNCH_SBP subpage to GENL_MATERIALS

This example illustrates the fields and controls on the Adding SCC_CAF_LAUNCH_SBP subpage to GENL_MATERIALS. You can find definitions for the fields and controls later on this page.

Adding SCC_CAF_LAUNCH_SBP subpage to GENL_MATERIALS

As shown in the above example, the attribute record (the new child record) must be entered in the To field of the Subpage Record Name Substitution section in the Subpage Properties window.

The following example shows the runtime result of implementing SCC_CAF_LAUNCH_SBP. In the example, the user can click the Attributes link on the General Materials page to enter the passport number and primary institution.

Image: Attributes on a secondary page

This example illustrates the fields and controls on the Attributes on a secondary page. You can find definitions for the fields and controls later on this page.

Attributes on a secondary page

Generic Subpage SCC_CAF_SBP

The following is the SCC_CAF_SBP subpage:

Image: SCC_CAF_SBP subpage in Application Designer

This example illustrates the fields and controls on the SCC_CAF_SBP subpage in Application Designer. You can find definitions for the fields and controls later on this page.

SCC_CAF_SBP subpage in Application Designer

This subpage displays the associated attributes directly on the page. You must place this subpage inside the scroll area of the page. Also, the attribute record (the new child record) must be entered in the To field of the Subpage Record Name Substitution section in the Subpage Properties window. The component level of the scroll area should be one level higher than the record being extended.

Considerations for using this subpage:

  • The user-interface footprint on an existing page is not an issue.

  • There is a functional requirement for a scroll area, where users need to enter multiple instances of a repeatable attribute. For example, if you want to enable the user to record multiple values for a Which Social Media Tool Do You Use attribute, use this subpage.

The following example shows the runtime result of implementing SCC_CAF_SBP:

Image: Attributes on the primary page

This example illustrates the fields and controls on the Attributes on the primary page. You can find definitions for the fields and controls later on this page.

Attributes on the primary page