Bluestep JS Documentation
    Preparing search index...

    Interface UpdateRelationshipFieldProperties

    Properties for updating a relationship field.

    interface UpdateRelationshipFieldProperties {
        autoCopy?: boolean;
        cardinality?: "ONE_ONE" | "MANY_ONE" | "ONE_MANY" | "MANY_MANY";
        columnSpan?: number;
        deprecated?: boolean;
        displayCutoff?: string;
        expectedVersion?: number;
        fieldControlFieldTopId?: string;
        fieldControlType?:
            | "NORMAL"
            | "HIDDEN_DEFAULT"
            | "READONLY_DEFAULT"
            | "SMART_HIDE"
            | "READONLY_WHEN_COMPLETED"
            | "CUSTOM";
        fieldControlValue?: string;
        fieldControlView?: "READONLY"
        | "HIDDEN";
        frozen?: boolean;
        helpText?: string;
        hiddenFromSupers?: boolean;
        label?: string;
        longLabel?: boolean;
        name?: string;
        neverHideHelpText?: boolean;
        popupHint?: boolean;
        relatedDisplayFieldId?: string;
        relatedEntryLookupId?: string;
        relatedFieldId?: string;
        relatedRecordLookupId?: string;
        relationshipPropagate?: boolean;
        reportLabel?: string;
        required?: boolean;
        rightLabelFalse?: string;
        rightLabelTrue?: string;
        showLink?: boolean;
        typeScriptDeclarations?: string;
        userUpdateable?: boolean;
        width?: number;
    }

    Hierarchy (View Summary)

    Index
    autoCopy?: boolean

    Whether to automatically copy this field's value when cloning a record

    cardinality?: "ONE_ONE" | "MANY_ONE" | "ONE_MANY" | "MANY_MANY"

    How many entries each side links, from this field's side: ONE_ONE (an entry links one related entry, linked by no other), MANY_ONE (an entry links one related entry, which many entries may link), ONE_MANY (an entry links many related entries, each linked by no other) or MANY_MANY (no limit on either side). A reciprocal created for the field takes the reverse; a symmetric field takes ONE_ONE or MANY_MANY.

    columnSpan?: number

    How many of its row's columns this field spans: 0 for the whole row, 1-4 for that many columns. An explicit null clears it, leaving the field type's default placement. Read by layout clients; legacy form pages do not apply it.

    deprecated?: boolean

    Whether this field is deprecated and hidden from new configurations

    displayCutoff?: string

    Display cutoff threshold for switching between radio buttons and dropdowns

    expectedVersion?: number

    The field's rowVersion this write was decided against. At that version the write applies and bumps it; one past it with a payload that changes nothing — a replay of a write that already landed — answers success without another bump; anything else is refused with CONCURRENT_MODIFICATION and extensions.currentVersion. Omit to write unconditionally.

    fieldControlFieldTopId?: string

    ID of the field a CUSTOM fieldControlType watches: another checkbox, radio, signature or single-select field on the same form. Null or an empty ID removes it.

    fieldControlType?:
        | "NORMAL"
        | "HIDDEN_DEFAULT"
        | "READONLY_DEFAULT"
        | "SMART_HIDE"
        | "READONLY_WHEN_COMPLETED"
        | "CUSTOM"

    Visibility/editability control mode for this field

    fieldControlValue?: string

    The watched field's value at which a CUSTOM fieldControlType applies: true or false for a checkbox or radio, signed or unsigned for a signature, one of its option IDs for a single-select (an empty string, accepted for legacy compatibility, stores no value).

    fieldControlView?: "READONLY" | "HIDDEN"

    What a CUSTOM fieldControlType does to this field while its condition holds. A header, spacer, static content or merge report field can only be HIDDEN, which writing its condition stores.

    frozen?: boolean

    Whether this field is frozen (built-in). Only a super user can set or clear it. While it is set, only a super user can edit the field, unless a custom lock names who can, and no one can delete it directly, super users included.

    helpText?: string

    Help text displayed below or beside the field

    hiddenFromSupers?: boolean

    Whether this field is hidden from parent/supervisor unit views

    label?: string

    Display label shown to users on the form

    longLabel?: boolean

    Whether the label spans the full width above the field instead of beside it

    name?: string

    Field name.

    neverHideHelpText?: boolean

    Whether to always show help text (never collapse it)

    popupHint?: boolean

    Whether to show help text as a popup tooltip instead of inline

    relatedDisplayFieldId?: string

    topId of the field on the related form used as the display label: a field of that form whose type can be displayed, and not a Secret field. An empty string or an explicit null clears it.

    relatedEntryLookupId?: string

    topId of one of the related form's multi-entry reports, narrowing which of its entries the field offers; absent offers them all. Refused when the related form is single-entry. An empty string or an explicit null clears it.

    relatedFieldId?: string

    topId of an existing reciprocal relationship field to wire to (symmetric — set from either side)

    relatedRecordLookupId?: string

    topId of the RelateQuery used as the related-record dropdown lookup; its record types must be able to have the related form. An empty string or an explicit null clears it.

    relationshipPropagate?: boolean

    Whether to propagate updates to the related side of the relationship

    reportLabel?: string

    Alternate label used in reports and exports

    required?: boolean

    Whether this field must have a value before the record can be saved

    rightLabelFalse?: string

    Label shown for entries without a relationship (false state)

    rightLabelTrue?: string

    Label shown for entries with a relationship (true state)

    showLink?: boolean

    Whether to show hyperlinks to the related form

    typeScriptDeclarations?: string

    Type script declarations

    userUpdateable?: boolean

    Whether end users can edit this field value (false = system-managed)

    width?: number

    Display width in columns. An explicit null clears the stored width.