Salesforces Vlocity dev
359 subscribers
9 photos
2 videos
6 files
47 links
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Download Telegram
Salesforces Vlocity dev pinned «https://youtube.com/playlist?list=PLiy46pDBNo5i1DPinQZr_DPJqY5XD36wT»
To run data operations asynchronously, call Integration Procedures using these settings:

1- Use Future — Use when the calling OmniScript or Integration Procedure doesn't need a response and completion time is not critical.

2- Invoke Mode: Fire and Forget — Use instead of Use Future when the calling OmniScript must invoke
the Integration Procedure immediately

3- Invoke Mode: Non-Blocking — Use to run the Integration Procedure immediately while continuing the
user interaction of the calling OmniScript. A response is returned when the Integration Procedure is
complete.

Follow me on youtube
join our telegram channel to learn more about vlocity
🔥3
RemoteAction.pdf
1.2 MB
What Is Remote Action?

Remote actions are used to make Apex calls from Cards or OmniScripts or Integration Procedures.

Example of Remote Action

Join our telegram channel to learn more

👏🏿👏🏿
👍1
Custom OmniScript Lightning Web Components

To create a custom Lightning web component, review these component types

1- OmniScript Element Lightning web component :

Customize an OmniScript element by extending the element's Lightning web component. LWC-compatible elements display a Lightning icon in the Available Components panel of an OmniScript. Learn More

2- OmniScriptBaseMixin component:

Enable a custom component to interact with an OmniScript by extending the OmniScriptBaseMixin component. Learn More

3 - Standalone component:

A custom standalone component. The component cannot extend the OmniScriptBaseMixin component or an OmniScript element Lightning web component.

Thanks for sharing
Join our telegram channel to learn more


👏👏👏👏👏
Apex class - Remote Action - OmniScript - Lightning Web Components


1- To call Apex Method in Ligthning web component, use the method omniRemoteCall.
this is an example:

callRemoteAction() {
const params = {
input: this.omniJsonData,
sClassName: ClassName,
sMethodName: "MethodName",
options: {}
}
this.omniRemoteCall(params, true).then(response => {
console.log(response, 'response');
this.datasLwc = response.result;
}).catch(error => {
console.log(error, 'error');
});
} Learn More

2- To get the Omniscript json data in lightning web component, Extend the OmniscriptBaseMixin and use the variable omniJsonData
Learn More

Thanks for sharing
Join our telegram channel to learn more
👍2
How to embed FlexCard inside an OmniScript

You can embed a FlexCard inside an OmniScript as a Custom LWC

1- Activate the FlexCard: After activating your FlexCard, which generates a Lightning web component to add to a Lightning or Community page, you can configure publishing options.

Note:
- The lightning Web component generated, start with ‘cf’ follow by the name of the FlexCard.
- All input parameters are transformed in to LWC attributes.

2- Drag a Custom LWC element from Inputs into the canvas
3- In the Lightning Web Component Name field, enter the name of a Lightning web component.
4- If the FlexCard has required parameters, you must set them in the component properties
5- Save and Activate the OmniScript
6- Click Preview to preview the OmniScript.


Thanks for sharing
Join our telegram channel to learn more
👍2
OmniScript

When using an existing OmniScript in the OmniScript Designer, create a new version of
the OmniScript to update the OmniScript's property set. Without a new version, errors may
appear in the designer


Thanks for sharing
Join our telegram channel to learn more
Type Ahead Block

1- Display a list of results when a user begins typing in an input field by using the Type Ahead Block.
2- When a user selects a record, the Type Ahead Block can retrieve additional information related to the record.
3- For example, a Type Ahead Block can be used with a DataRaptor to list Accounts in the results.
4- In the OmniScript Designer, the Type Ahead Block is located under the Groups section of Available Components. Lean More


Thanks for sharing
Join our telegram channel to learn more
FlexCard Designer Workflow Diagram
Thanks for sharing
Join our telegram channel to learn more
Add Custom Labels to Supported Fields on a FlexCard

Thanks for sharing
Join our telegram channel to learn more
Cache for DataRaptors

Thanks for sharing
Join our telegram channel to learn more
Cache for Integration Procedures

You can use caching with Integration Procedures in three ways:

1-You can cache metadata for the entire Integration Procedure.
2-You can cache the response of the entire Integration Procedure, called top-level data.
3-You can cache the result of a specific set of steps by placing the steps inside a Cache Block. Use Cache Blocks if some parts of the Integration Procedure update data, or if you need different cached data to expire at different times

Thanks for sharing
Join our telegram channel to learn more
OmniStudio Naming Conventions

When creating an OmniStudio component, such as a DataRaptor, FlexCard, Integration Procedure, or an OmniScript, follow the naming conventions on this image.

Thanks for sharing
Join our telegram channel to learn more
1
Create a Public Property for a FlexCard LWC in the FlexCard Designer

In the FlexCard Designer, define an attribute that creates a public property whose value is set in the Lighting App Builder and Experience Builder. Call the attribute within the FlexCard as a session variable ({Session.AttName}) where merge fields are supported, such as in a Text element and a data source parameter.

Learn more

Thanks for sharing
Join our telegram channel to learn more
2