PageLayoutFieldUpsert

Updates existing page layout field data or inserts new page layout field data.

Usage

Use the PageLayoutFieldUpsert method to insert or update field data for a detail page layout.

The apdata:PageLayout argument contains the following elements containing page layout field data:

  • ObjectName. The name of the object.

  • LayoutName. The name of the page layout.

  • Description. A description of the page layout.

  • ListOfPageLayoutField. Contains all of the fields for the page layout. The data for a particular field is contained in the following child elements of <PageLayoutField>:

    • FieldName. The name of the field.

    • ReadOnly. Whether the field is read-only.

    • Required.. Whether the field is required.

    • AlwaysOnLayout. Whether the field is always on the page layout. A value of true indicates that the field cannot be removed from the page layout by the user.

    • Section. An integer identifying the section in which the field appears. The value 0 represents the first section, 1 the next section, and so on.

    • Column. The column within the section in which the field appears. The value 0 represents the left-most column.

    • Row. The row within the section in which the field appears. The value 0 represents the first row within a section and column, 1 the next row, and so on.

See Oracle Migration Tool On Demand Guide for reference tables about the mappings of object names to the display names for the objects in the Oracle CRM On Demand user interface.

Arguments

The following table describes the arguments taken by the PageLayoutFieldUpsert method.

Table Arguments Taken by the PageLayoutFieldUpsert Method

Name Description Required Default I/O

apData:PageLayout

The page layout field data to be inserted or updated.

Yes

Not applicable

Input

Status

The status of the call.

Not applicable

Not applicable

Output

Return Value of the Call

The status is returned.