OutputField Lightning Web Component ReadMe (Managed Package)

For the managed package runtime, this page contains an OutputField LWC ReadMe for each Vlocity release.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Vlocity Insurance and Health Summer '20

The OutputField Lightning Web Component returns the label, help text and value for the field name of a record. The returned data is read-only.

Available c-output-field Attributes

Attribute

Value

Type

Required

Description

currency

 

string default: USD

 

Sets Currency type. valid only for currency fields

extraclass

 

string

 

Adds class to the parent div.

field-label

 

string

 

Sets the title of the field if field-title is not provided.

field-name

 

string

yes

Sets the field value to fetch.

field-title

 

string

 

Sets the title of the field.

labelclass

 

string

 

Adds class to the label field.

label

 

string

 

Sets a label for the output field.

locale

 

string default: en-US

 

Sets Locale. valid only for currency fields

mask

 

string

 

Adds a mask for the input value. It is applicable only for type: date/number. For type date the mask is different date formats. For type number it supports the same mask which is supported in input lwc component.

prevent-navigation

 

string

 

Prevents default navigation of url. It is applicable only for type: url.

record

 

string

yes

Provides the record from which to fetch the field value.

type

string, date, datetime, currency, phone, address, and so forth (Default: string)

string

 

Formats the field based on the type provided.

valueclass

 

string

 

Adds class to the value field.

Example c-output-field Component

<c-output-field
    record={record}
    field-name="Name"
    type={field.type}
></c-output-field>

Vlocity Insurance and Health Winter '20 and Vlocity CME Spring '20

The OutputField Lightning Web Component returns the label, help text and value for the field name of a record. The returned data is read-only.

Available c-output-field Attributes

Attribute

Value

Type

Required

Description

field-name

 

string

yes

Sets the field value to fetch.

record

 

string

yes

Provides the record from which to fetch the field value.

type

string, date, datetime, currency, phone, address, and so forth (Default: string)

string

 

Formats the field based on the type provided.

Example c-output-field Component

<c-output-field
    record={record}
    field-name="Name"
    type={field.type}
></c-output-field>

Vlocity Insurance and Health Summer '19 and Vlocity CME Fall '19

The OutputField Lightning Web Component returns the label, help text and value for the field name of a record. The returned data is read-only.

Available c-output-field Attributes

Attribute

Value

Type

Required

Description

field-name

 

string

yes

Sets the field value to fetch.

record

 

string

yes

Provides the record from which to fetch the field value.

Example c-output-field Component

<c-output-field
    record={record}
    field-name="Name"
></c-output-field>