ufthelp – Page 2 – User friendly Tech help

How to compare values in Custom Metadata with a given object field in Apex learn more share more Problem- Admin wants some value as configurable and set in custom metadata, now as a developer, we want to perform an action based on the matching of this mdt with values in say platform field on the […]

n

Smart way of working with Salesforce Vlocity Dataraptors STart small but think big Problem- How to improve productivity while working with Dataraptors 1)Always start with creating new version of the dataraptor, it avoids overwriting the existing stable changes, or you can always fall back to previous versions in case your changes don’t work as expected. […]

n

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 […]

n

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

n

How to configure Prettier to work with Apex Salesforce code in VSCode Yes that is possible Prerequisite:- VSCode is fully configured to work with Salesforce Select the existing Salesforce Project. At the root level run the below command in the Terminal npm init //this will create package.json file to track npm dependencies Run the below […]

n

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 […]

n

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 […]

n

Salesforce journey as Admin or Developer. As admin means no code, which Salesforce propagates and as a developer, you’ll use Apex coding (based on oops concepts). salesforce admin or app builder:- Page Layouts, Lightning pages, Profiles, Permission sets Reports, Dashboards Workflow Rules Process builder Flows Standard objects Custom objects (meaning tables in db terms) salesforce […]

n

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); […]

n

How to create Pure Component in React? A functional component that we are modifying as Pure component:- import React from ‘react’; import Tabs from ‘../Tabs’; import ‘./RightPanel.scss’; const RightPanel = () => ( You are on Index.jsx file You are on Panel.jsx file […]

Was this article helpful?
YesNo

Similar Posts