Blogs

How To Retrieves Data From sObjects In OmniScript Salesfoce.

to Go to Omnistudio & select DataRaptor . Click on the ‘New’ button, and in the type dropdown, select the data raptor we want to use. For now choose ‘Extract’.   Select Extarct DataReptor &Save “In the ‘Extract’ process, we essentially add extraction steps where we specify to the data raptor which objects and fields we need to retrieve. Get Data From Database Click on the ‘Output’ tab and map the required data through the corresponding fields. Map field and show data in display Salesforce guide == https://apisero.com/omnistudio-dataraptors-turbo-extract/ Note– While performing SObject mapping, it is necessary to map the required fields. Go to the ‘Preview’ tab and execute. Records are visible here Records are visible here with SOQL Qurrey  In Debug Log . In this way you can get data from Extract DataRaptor …..

How To Retrieves Data From sObjects In OmniScript Salesfoce. Read More »

How To Use ConditionalBlock In Integration Procedures

–: In this page we create conditional block here we pass the country name which name is match than that setvalues is execute Integration Procedure > ConditionalBlock >Set Values > ResponseAction Step :– 1  “First, we create an Integration Procedure and drag a ConditionalBlock. In the ConditionalBlock, set the If-Else Block to ‘true’ (if checked as true, it works like an If-Else block).” /*! elementor – v3.18.0 – 20-12-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} ConditionalBlock in Integration Procedure  Step :– 2 “In the ConditionalBlock, drag a Set Values to store some data. Element Value Map = here we Store data in  name Node                       Executed Conditional Formula = here we give  Condition if Condition return True                        than Its Execution Set Values in ConditionalBlock In Preview Tab In Input Parameters  = { “Country”: “INDIA”} { “Country”: “INDIA” } Step :– 3 “On the Preview tab, after clicking ‘Execute,’ we can view the results in the Debug Log.” In Debug Log Result Salesforce Guide = https://help.salesforce.com/s/articleView?id=sf.os_conditional_block_properties_48548.htm&type=5

How To Use ConditionalBlock In Integration Procedures Read More »

How To Use LoopBlock In Integration Procedures

Integration Procedures > LoopBlock > DataRaptorExtractAction > ResponseAction Step 1: Create an ExtractDataRaptor: Create a new ExtractDataRaptor. This DataRaptor is designed to extract data from contact. /*! elementor – v3.18.0 – 20-12-2023 */.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} DataRaptor Extract Step :– 2    Create an Integration Procedure: Begin by creating a new Integration Procedure in your development environment. Drag a LoopBlock: Drag and drop a LoopBlock component into the structure panel of your Integration Procedure. Configure LoopBlock Parameters: In the LoopBlock configuration, set the following parameters: Loop List: Specify the node of the array or list that you want to iterate over. This represents the data source for the loop. Additional Loop Output: Use the %% sign and provide a name associated with the DataRaptor or variable that will store additional loop output. LoopBlock DataRaptor Step :– 3    DataRaptor in LoopBlock: Within the LoopBlock in your Integration Procedure, configure a DataRaptor action to perform operations during each iteration. Configure DataRaptor Parameters: Set the following parameters in the DataRaptor configuration: Data Source: Specify the node from the input obtained from the Preview Tab. Filter Value: Use a variable from the DataRaptor for the filter value. DataRaptor in LoopBlock Step :– 4   In ResponseAction: Within the Integration Procedure, locate the ResponseAction component. Configure Additional Output: In the ResponseAction configuration, set the “Additional Output” to the name of the LoopBlock. Step :– 5    On Preview Tab  Salesforce Gide = https://help.salesforce.com/s/articleView?id=sf.os_loop_block_properties.htm&type=5

How To Use LoopBlock In Integration Procedures Read More »

How To Insert Bulk Records in a Single Object within DataRaptor(Salesforce/Vlocity / OmniStudio)

:– In this post we create Bulk record use of dataraptor First, create a DataRaptor for Loading.  Select Sobject, map the Fields and Execute . Create DataReptor and fill the Name & Interface Type Select Sobject which object to load Map Input & Domain Fields Note-While doing Sobject mapping it is necessary to map the required fields. Going To Preview Tab and Write to Input in list  Insert JSON. { “Account”: [ { “Name”: “Abhishek”, “Phone”: “9876534561” }, { “Name”: “Abhishek2”, “Phone”: “9876534562” }, { “Name”: “Abhishek3”, “Phone”: “9876534563” } ] } Write Inputs  Field & fill value and excute. Crate Single Object Mulltipal Records

How To Insert Bulk Records in a Single Object within DataRaptor(Salesforce/Vlocity / OmniStudio) Read More »

How to Call Integration Procedures In FlexCard (Salesforce/Vlocity / OmniStudio)

Show Ip Data In Flex Card First, we Create Integration Procedures  and Activate it To Call in FlexCard Integration Procedures “In Integration Procedures, we create a SetValues to store some data, and then we send it to FlexCard using ResponseAction.”    In FlexCard DATA SOURCE = “Integration Procedures “ Name = Type_SubType (IP)   Ip Call in FlexCard “After clicking ‘Save & Fetch,’ pass the Integration Procedures node in the Result JSON Path.” Pass Ip Node In FlexCard “After passing the Result JSON Path, go to Build > Fields, drop the Name Field onto the canvas, activate FlexCard, and preview. The result is displayed at the bottom.” Integration Procedures in FlexCard Showing data

How to Call Integration Procedures In FlexCard (Salesforce/Vlocity / OmniStudio) Read More »

How to Call DataRaptor In FlexCard.(Salesforce/Vlocity / OmniStudio)

Extract DataRaptor in FlexCard FlexCard > Setup > Data Source > DataRaptor   Crate a FlexCard We Create a Extract DataReptor  to Get Account Data  Its Use in FlexCard Extract DataRaptor In Setup Pannel “DATA SOURCE ”  in “Data Source Type ”  select  “DataRaptor”   Interface Name  =  DataRaptor Name In Input Map   Key   = Name of the DataRaptor Variable  Like AccName In Value = we pass in { } TEST PARAMETERS Key Name Like {AccountName}   2 After Click Save&Fetch Final Result

How to Call DataRaptor In FlexCard.(Salesforce/Vlocity / OmniStudio) Read More »

How to make custom Edit block using Flexcard.

Step :- 1 Here we will create a flexcard. Create FlexCard After Creating FlexCard  ,Go to setup and Selcet Data Source as  Soql , – write this  Select id, Name , phone from Account  and click on save &fetch – Drag all the  field into canvas. Selecting fields   Drag an Action element on Canvas to perform  an action ,    In the property of action  Click on action , Select Flyout in action type . Select   Omniscript in Flyout Type . Create a omniscript  and fill  the Omniscript’s  Name  in the  Flyout Field. Send  the attributes to the Omniscript that we have created in key and value form :-         Fill all the above data according to this pic.in flexcard. Sending data through flyout Step 2 :-            Open the previously created omniscript. and drag a set value to recieve the Attribute  in the key value form. –  take a step  two fields in it and  a  integeration procedure in it. Create an ip   1:- Give same name to Name and Phone field as given in set value .   pass variable to field 2:- Take an  integeration procedure as above. Click on ip. — Click on  Remote property  and  in Extra payload  send all field. — Check  the  send only extra payload button . Sending data to ip Step 3  :– Open the  previously created Integeration procedure/IP.   — Take a DataRaptor post  Action in Integeration procedure . click on dataraptor and  go on additional input  map the data like below image. receive data from os Step 4 :-   Open the dataraptor and  map the data in dataraptor. — select the  account  from object section  and map fields from below pic .  Step :-5  Testing of Edit Functionality.  — Activate The  IP ,, Os ,, FlexCard. that we have created in  This Blog . — Preview the  FlexCard and we see in below image Before Edit.   Name =  Testimg Account.   Preview image Flex Card After edit Account Name. Refresh the page to see the change. Name is Change Manually In FlexCard . Change

How to make custom Edit block using Flexcard. Read More »

How to call DataRaptor in IntegrationProcedures

Create a Extract DataRaptor. Create a Integration Procedures. Select DataRaptor Extract Action. Click on DataRaptor Interface and Choose your DataRaptor. Select Response Action and click ADDITION OUTPUT RESPONSE. Write %DataRaptorExtractAction1% Click Preview. Click “+Add new Key\Value Pair” and fill “Key and Value” and click Execute .

How to call DataRaptor in IntegrationProcedures Read More »

How to use SOQL in FlexCard to Show Data(Salesforce/Vlocity / OmniStudio)

FlexCard > SOQL >Write Query >Fetch > Save >DataTable First we create FlexCard Step 1 Step 2 Write QUERY For Get Account Data Step 3 After Click Next   Click on Fetch Step 4 after Click on  save  Step5 For Show Record In Data Table   — Select Data table From Build Step 6 Select data table for show record in table format After selecting data table  Activate the flexcard  And Preview  Result

How to use SOQL in FlexCard to Show Data(Salesforce/Vlocity / OmniStudio) Read More »

How to Call Integration Procedure In Custom LWC Vlocity (Saleforce/Vlocity / OmniStudio)

In Integration Procedure   Type && Subtype  Name Give In JavaScript First we Create a component In visual studio Name like show_IP_Data In JAVASCRIPT — write this line to Call Omniscript import { OmniscriptBaseMixin } from ‘omnistudio/omniscriptBaseMixin’; input — Input we pass input parameter  sClassName – ‘omnistudio.IntegrationProcedureService’ sMethodName – type_SubType (In IP type_SubType Name) options — We recieved option Form IP import { LightningElement ,api ,track} from ‘lwc’; import { OmniscriptBaseMixin } from ‘omnistudio/omniscriptBaseMixin’; const columns = [ { label: ‘ID’, fieldName: ‘Id’ }, { label: ‘Name’, fieldName: ‘Name’ }, ]; export default class Show_Ip_Data extends OmniscriptBaseMixin(LightningElement){ data = []; columns = columns; connectedCallback(){ const params = { input:{}, sClassName: ‘omnistudio.IntegrationProcedureService’, sMethodName: ‘RemoteAction_Call_Apex_RemoteAction_Call_Apex’, options: ‘{}’, } this.omniRemoteCall(params, true).then(response => { // IMPLEMENT YOUR LOGIC this.data = response.result.IPResult.RemoteAction; // console.log(“this is resposne data “+this.data); console.log(‘dfdss get sresponse’+JSON.stringify(this.data)); }) .catch(err => { // HANDLE ERRORS console.error(err); }) } HTML— In HTML we creating a data table for show records  Data From Ip data From Apex In meta.xmal  return for salesforce org    omnistudio 58.0 true lightning__AppPage lightning__RecordPage lightning__HomePage omnistudio

How to Call Integration Procedure In Custom LWC Vlocity (Saleforce/Vlocity / OmniStudio) Read More »

Scroll to Top