Prompt Lightning Web Component ReadMe (Managed Package)

For the managed package runtime, this page contains a Prompt 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 Winter '20 and Vlocity CME Spring '20

The Prompt Lightning Web Component displays simple content on a layer on top of the app. For example, use a prompt to confirm form submission or to direct the user to confirm a step in a process. Use the Modal Lightning Web Component to modify data with forms and fields.

Available c-prompt Attributes

Attribute

Value

Type

Required

Description

title

 

string

yes

Adds the header title to the prompt.

message

 

string

yes

Adds the content to the prompt.

theme

slds, nds (Default: slds)

string

 

Sets the theme for the prompt component.

Example c-prompt Component

   <c-prompt
    theme="slds"
    title="Service Unavailable"
    message="Sit nulla est ex deserunt exercitation anim occaecat. Nostrud ullamco deserunt aute id consequat veniam incididunt duis in sint irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit officia tempor esse quis. Cillum sunt ad dolore
  quis aute consequat ipsum magna exercitation reprehenderit magna. Tempor cupidatat consequat elit dolor adipisicing."
  ></c:prompt>

Available Methods

openPrompt()

If hidden, displays the prompt.

closePrompt()

If visible, hides the prompt.

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

The Prompt Lightning Web Component displays simple content on a layer on top of the app. For example, use a prompt to confirm form submission or to direct the user to confirm a step in a process. Use the Modal Lightning Web Component to modify data with forms and fields.

Available c-prompt Attributes

Attribute

Value

Type

Required

Description

title

 

string

yes

Adds the header title to the prompt.

message

 

string

yes

Adds the content to the prompt.

theme

slds, nds (Default: slds)

string

 

Sets the theme for the prompt component.

Example c-prompt Component

   <c-prompt
    theme="slds"
    title="Service Unavailable"
    message="Sit nulla est ex deserunt exercitation anim occaecat. Nostrud ullamco deserunt aute id consequat veniam incididunt duis in sint irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit officia tempor esse quis. Cillum sunt ad dolore
  quis aute consequat ipsum magna exercitation reprehenderit magna. Tempor cupidatat consequat elit dolor adipisicing."
  ></c:prompt>

Available Methods

openPrompt()

If hidden, displays the prompt.

closePrompt()

If visible, hides the prompt.