DataRaptor

In this section only dataraptor related post available

How To Enable Flex Card in OmniStudio(Vlocity) Salesforce

FlexCards are a core UI component of Salesforce OmniStudio (Vlocity). They allow you to display data in a responsive, reusable, and dynamic card-based layout without writing code. Before you can create or use FlexCards, you must ensure that OmniStudio and FlexCards are properly enabled in your Salesforce org. This article explains how to enable FlexCard in OmniStudio, including required permissions, settings, and verification steps. What Is a FlexCard in OmniStudio? A FlexCard is a lightweight UI component used to: Display Salesforce or external data Work with OmniScripts and Integration Procedures Show summary views, KPIs, or record details Reuse UI logic across apps and pages FlexCards are part of the OmniStudio Designer and rely on proper feature enablement and user access. Prerequisites to Enable FlexCard Before enabling FlexCards, make sure: OmniStudio (Vlocity) is installed in your org You have System Administrator access Required OmniStudio licenses are assigned Your org is Lightning Experience–enabled Step 1: Verify OmniStudio Is Installed FlexCards are available only if OmniStudio is installed. Steps: Go to Setup Search for Installed Packages Verify that OmniStudio, Vlocity, or Salesforce Industries package is installed If OmniStudio is not installed, FlexCards will not appear. you do not do the setting then this is the error Step 2: Enable OmniStudio Designer FlexCards are created inside OmniStudio Designer, so this must be enabled. Steps: Go to Setup Search for OmniStudio Settings Enable: OmniStudio Designer OmniStudio Runtime Save the settings This allows access to FlexCards, OmniScripts, DataRaptors, and Integration Procedures. Warning Tab Click Than Show This Link Remote Site Setting Step 3: Assign Required Permission Sets Even if OmniStudio is enabled, FlexCards will not be visible without proper permissions. Required Permission Sets: OmniStudio Admin OmniStudio Designer OmniStudio Runtime Steps: Go to Setup Open Users Select your user Click Permission Set Assignments Assign the required OmniStudio permission sets Log out and log in again after assignment. Fill the Tab Step 4: Enable FlexCard Feature Access FlexCards are controlled through OmniStudio capabilities. Steps: Go to Setup Search for Custom Permissions Ensure permissions related to: FlexCard OmniStudio UI Vlocity Cards are enabled via permission sets This ensures the FlexCard option appears in the Designer. Step 5: Access FlexCard from OmniStudio Designer Once enabled, you can access FlexCards. Steps: Click the App Launcher Search for OmniStudio Designer Open OmniStudio Designer Select FlexCards from the left panel Click New to create a FlexCard If FlexCard appears in the menu, it is successfully enabled. Step 6: Verify FlexCard Availability in Lightning App Builder FlexCards can be embedded into Lightning pages. Steps: Go to Lightning App Builder Edit a Record Page or App Page Search for FlexCard in Components Drag and drop it onto the page Configure required properties This confirms FlexCards are available at runtime. Common Issues and Troubleshooting FlexCard Not Visible in OmniStudio Designer Check OmniStudio permission sets Verify OmniStudio Designer is enabled Confirm package installation FlexCard Not Rendering on Page Ensure OmniStudio Runtime permission is assigned Activate the FlexCard Check Data Source configuration No Data Displayed Validate DataRaptor or Integration Procedure Confirm context variables like {recordId} Best Practices for Using FlexCards Always activate FlexCards before use Use reusable FlexCards for performance Prefer Integration Procedures for complex logic Test FlexCards using Preview mode Use context variables for dynamic data Conclusion Enabling FlexCards in OmniStudio is a foundational step for building modern, scalable Salesforce UI solutions. By ensuring OmniStudio is installed, permissions are assigned, and Designer access is enabled, you can start creating powerful FlexCards that integrate seamlessly with OmniScripts and Integration Procedures. Once enabled, FlexCards help you deliver faster, more interactive user experiences without writing Apex or Lightning Web Components.

How To Enable Flex Card in OmniStudio(Vlocity) Salesforce Read More »

How to load parent to child record in single post DataRaptor

 Load :-  When we save the record in the database through DataRaptor, it is called load. In this post, we will load an account with related contacts as children in a single DataRaptor.  Step:– 1   “We create a LoadDataRaptor in the DataRaptor section.” /*! 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} create new post DataRaptor  Step :–2   “Select an object in the Object Section to determine where the record is being saved..                —   Click on the ‘Add Object‘ button and select ‘Contact.’                —   Click on ‘Add Link‘ and select ‘Account,’ filling in the details as shown in the image below. (To establish a relationship binding the Account with the Contact as a child)”. Link Object Step :–  3   “Here, we map all the fields that we want to load into the database.” field mapping /* Json for input field mapping , if we put this json in preview tab it will map the fieldsto save .*/ { “Name”: “Demo”, “Phone”: “12121”, “Contacts”: { “FirstName”: “Test”, “LastName”: ” Child”, “Phone”: “398432” } }    Step  :–4   “Copy and paste the above JSON into the Preview Section. Click on the Preview tab, then click on ‘Execute.’ You will obtain the ‘Account’ and ‘Contact’ IDs. Check to ensure it works.” on preview tab Salesforce Guide – https://help.salesforce.com/s/articleView?id=sf.os_dataraptor_load_examples.htm&type=5

How to load parent to child record in single post DataRaptor Read More »

How To Use SOQL Parent to Child In DataRaptor

How To Use SOQL Parent to Child In DataRaptor Here we see How To SOQL Parent to Child In DataRaptor. — :  “In this post, we will create an Extract DataRaptor to retrieve account and related contact data”. Step :–  1  “We are creating a new Extract DataRaptor.” /*! 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} Create a new DataRaptor Step :– 2 On Extract create mapping as show on below image. Select Object Step :– 3  “Map the output fields as shown in the image below.” In OUTPUT Step :– 4   “In the Preview Tab, click on ‘Execute’.” on preview tabSalesforce Guide =https://help.salesforce.com/s/articleView?id=sf.os_dataraptor_extract_overview.htm&type=5

How To Use SOQL Parent to Child In DataRaptor Read More »

How to use Look up Field in DataRaptor Load.

In this blog we use to Lookup field in DataRaptor Load. First let’s create a DataRaptor Load. /*! element or – v3.17.0 – 01-11-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}. element or-widget-image a img[src$=”.svg”] {width:48px}. element or-widget-image img{vertical-align:middle;display:inline-block} You can select any one of these objects. We have selected the Account Object. Now we select two fields. 1. Name- First we go to the Domain Object Fields and select the Name Fields, then go to  the Input JSON Path and type the name. 2. Website- Now we go to the Domain Object fields and select the Website, then go to the Input JSON Path and type the username. Now here we locate the email of our user id in the website. Now we tick isLookup option of the website field and then select the user from the Lookup object and select the username from the Lookup field and then select the Email from the Lookup Requested Field. (You can select your fields as per your requirement) Now we type the inputs json the name of my account and the username of the user whose email we want to capture. { “name”: “Lookup Account 1″,”username”: “abc@maurya.com”} Then click on execute. Output Result.(my account) “Account: 0015j00001VTSy7AAH” NEXT

How to use Look up Field in DataRaptor Load. Read More »

Scroll to Top