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

Getting started with Salesforce as Admin or Developer

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

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

Categories
Apex Salesforce

Apex Superbadge (part-1)

Scenario:- Automate record creation Install the unmanaged package for the schema and stubs for Apex classes and triggers. Rename cases and products to match the HowWeRoll schema, and assign all profiles to the custom HowWeRoll page layouts for those objects. Use the included package content to automatically create a Routine Maintenance request every time a […]

Categories
Salesforce

Creating a salesforce lightning web component in visual studio code

import { LightningElement, track } from ‘lwc’; export default class HelloLWC extends LightningElement { //default values @track typedValue = ”; salutationOptions = [ {‘label’: ‘None’, ‘value’: ‘None’}, {‘label’: ‘Mr.’, ‘value’: ‘Mr.’}, {‘label’: ‘Ms.’, ‘value’: ‘Ms.’}, {‘label’: ‘Mrs.’, ‘value’: ‘Mrs.’}, {‘label’: ‘Dr.’, ‘value’: ‘Dr.’}, {‘label’: ‘Prof.’, ‘value’: ‘Prof.’}, ]; //method on click of button handleClick(){ const […]

Categories
Salesforce

How to use visual studio code for Salesforce?

Lets learn how to create Salesforce project in visual studio code editor Install sfdx-cli on your pc by typing command in terminal > npm install -g sfdx-cli Verify installation is complete > sfdx -version Install the Salesforce Extension Pack, inside vscode > extensions > Salesforce Extension Pack Create sfdx project in vscode press cmd+shift+p inside […]