Categories
Salesforce Vlocity

Vlocity Omniscript reverts back to initial step on reloading?

How to show prompt in omniscript when the user is trying to refresh the step in omniscript? Yes that is possible Problem- As per the current version of OS, when the user refreshes the current page (step in OS terms), it takes user back to the initial step, without saving the changes. To avoid the […]

Categories
Salesforce Vlocity

Applying field level security in vlocity Dataraptor

How to enable FLS in vlocity Dataraptor Yes that is possible Problem- if not enabled irrespective of a user profile, in the dataraptor call, it won’t respect the FLS for a given field. Vlocity > Vlocity Dataraptor Designer > open the required dataraptor Go to the options tab > Check Field Level Security

Categories
Salesforce Vlocity

Using VSCode with Vlocity Salesforce

Can we work with vlocity code base locally rather than doing all the changes on the SF platform? Yes that is possible Prerequisite:- Install “Salesforce Vlocity Integration” extension in VSCode Activate the extension > CTRL + SHIFT +P Vlocity: Select Salesforce Org > use the existing verified Org with SF or start with fresh VSCode […]

Categories
Salesforce Vlocity

Vlocity, salesforce amend the existing Omniscript Controls

How to customize the behavior of any control in omniscript in vlocity? Scenario:- Override the behavior of Telephone to show data from SFDC even though it’s not valid and add the corresponding styling. Prerequisite:- Need access to vlocity omniscript (OS) templates, we need vlcTel.txt code base, so we can override the existing omniscript telephone control […]

Categories
Apex Salesforce Vlocity

Using Platform Events with Queueable Apex

Scenario:- How to call Queueable Apex inside platform eventsĀ  Step1:- Have a button(can be vlocity action or vlocity Omniscript guided flow) on SFDC UI to call the “Apex Handler” Step2:- “Apex Handler” will call Platform Event //calling PE with the required params Demo_Platform_Event__e peObj = new Demo_Platform_Event__e( EndPoint_Url__c = endPointUrl ); Database.SaveResult sr = EventBus.publish(peObj); […]