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
πππππ
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
πππππ
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
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:
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
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
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
π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
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
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
π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
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
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
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
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
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
image_2022-04-25_15-16-37.png
77.7 KB
Thanks for sharing
Join our telegram channel to learn more
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
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
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
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
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
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
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
YouTube
How to create a Public Property for a FlexCard LWC in the FlexCard Designer
telegram group: https://t.me/salesforcevlocitydev
Trailhead group: https://trailhead.salesforce.com/trai...
#noeli
#salesforce
#Vlocity
#Omnistudio Developer Certification
#Omnistudio Consultant Certification
Trailhead group: https://trailhead.salesforce.com/trai...
#noeli
#salesforce
#Vlocity
#Omnistudio Developer Certification
#Omnistudio Consultant Certification
β€2
If your FlexCard has a child FlexCard, only its name appears in the Data JSON panel
Anonymous Quiz
59%
True
41%
Flase
DataRaptor
To filter for null values, use the $Vlocity.NULL variable.
Ex: The basic filters that we can use if we want to fetch all records is
Id <> β$Vlocity.NULLβ
Thanks for sharing
Join our telegram channel to learn more
To filter for null values, use the $Vlocity.NULL variable.
Ex: The basic filters that we can use if we want to fetch all records is
Id <> β$Vlocity.NULLβ
Thanks for sharing
Join our telegram channel to learn more
Telegram
Salesforces Vlocity dev
Salesforce videos
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
Omnistudio Studio
Industry cpq
Order management.
Salesforce marketing cloud
Salesforce admin
Salesforce developement
Salesforce integration
Salesforce Cpq
Salesforce lightning
Salesforce lwc
π4
Environment Variables in DataRaptors and Integration Procedures
You can use environment variables to define Default Values and Filter Values, and in Formulas.
If youβre using an environment variable as a Filter value, you must double-quote it.
Join our telegram channel to learn more
You can use environment variables to define Default Values and Filter Values, and in Formulas.
If youβre using an environment variable as a Filter value, you must double-quote it.
Join our telegram channel to learn more
π5
Media is too big
VIEW IN TELEGRAM
Are you interested in vlocity omnistudio? This course is for you!
https://www.udemy.com/course/salesforce-omnistudio/?referralCode=DAA5C4A03887B3366C97
Thanks for sharing
Join our telegram channel to learn more
https://www.udemy.com/course/salesforce-omnistudio/?referralCode=DAA5C4A03887B3366C97
Thanks for sharing
Join our telegram channel to learn more
π4