Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

#Omnistudio7 discussing

I have a parent FlexCard that contains an action to call a child FlexCard. This child FlexCard includes a Data Table, and my goal is to capture the data from a selected row and insert it into an object using a Data Mapper Load.

Currently, I’m only using FlexCard and Data Mapper, without integrating Integration Procedures or OmniScript.

To capture the row selection in the Data Table, I added a checkbox and a Custom Event named "rowclick". However, when I click, the selection does not work correctly. I have already configured a Custom Event in both the parent and child FlexCards, but when testing, I’m unable to successfully capture the event.

Has anyone encountered this issue before, or do you have any suggestions on how to fix it?

#Omnistudio #Flexcard
0/9000

Hello,

 

we are facing this weird issue and it is happening only in production. In our Omniscript, which is running inside of community, we have custom LWC and Flexcard where sometimes, the custom labels are displayed as its names (like MY_LABEL instead it's actual value or translation) and it actually happens only for certain languages. At first it was appearing for Dutch (translation), but now it happens for english (values).

 

We are using fetchCustomLabels() function in custom LWC and referencing labels as {Label.MY_LABEL} in flexcard. I see the label names are instead of values in Session storage as well. Looks like some caching issue.

 

Any idea how to fix?

 

#Omnistudio #Flexcard #LWC #Custom Labels #Community

11 answers
  1. Feb 11, 10:23 PM

    Hi @Vojtěch Dlápal

    : I understand this is an old thread.  The above issue happens, when one of the custom labels is missing from the Org. Please check if one of the labels in the labelsArray is missing from the Org. If yes, add that and it should resolve the issue. 

     

    You can test the custom labels with the following code. The code will throw an exception if the custom label does not exist. For example, if the name of the custom label is "MyLabel" then execute the following in an Anonymous window: 

    try {

                System.debug(Label.MyLabel);

            } catch(Exception e) {

                       System.debug('**Exception: ' + e.getMessage());

            }

    The above code prints the value if it exists or throws an exception otherwise. 

     

    fetchCustomLabels() method takes 3 parameters.

    1. labelsArray : An array consisting of the labels.
    2. language: User Locale
    3. defaultValues: An array of default values (optional)

     

    Srikanth

0/9000

I am conditionally rendering some components in step2 of omni script, but I am unable to do so as html is rendering before we get data from data raptor. So I am trying to make the "Available For Prefill When Hidden " checkbox true. but not able to see this checkbox anywhere(attached screenshot for ref). Can anyone please help me on this?

 

#Omnistudio #Vlocity #Conditional Visibility

2 answers
  1. Jan 28, 5:59 PM

    @Renzo Gambino Fornasin

      did you manage to find a solution to your issue? If not, here’s a way to fix it:    

    The "Available For Prefill When Hidden" checkbox is visible in the Classic Designer, If the Classic Designer isn’t available in your org, you can still enable this by setting the

    accessibleInFutureSteps property to true. To do this, click the "Edit Properties As JSON"

    option at the bottom of the Properties tab. 

    Screenshot 2025-01-28 185410.png

     

     

    Screenshot 2025-01-28 172537.png Screenshot 2025-01-28 172611.png

      

     

     

0/9000

Hello,

I am unable to find Dataset Links card in Decision Table in Business Rule Engine.

Any help will be appreciated.

#Omnistudio #Business Rule Engine #Decision Tables

3 answers
0/9000

Hello!

Does anyone know if it is possible to conditionally display components (or a different card state) on a flex card based on the users current viewport/form factor? I haven't seen any documentation about it but knowing the flex cards can be responsive leads me to believe it may be possible.

 

I'm aware you can create 'responsive' components using flex cards and the sliders in the UI for the break points. I'm more wondering if a user is in say, desktop view display one component, and if they are in mobile view display a different component.

 

Thanks for any information!

 

#Omnistudio #Vlocity #Public Sector #Flexcard

1 answer
  1. Dec 11, 2024, 9:10 PM

    Just  following up on my own post if anyone else comes across this with the same question...it is possible using custom CSS and media queries then applying that custom class to the element you want it to apply to.

    Here is an example flex card if anyone wants to look deeper.

0/9000

I have a problem with a flexCard embedded in a flexipage, when I navigate from an action to the object the scrollbar is blocked and does not allow me to navigate. Can anyone help me?

 

Scroll.PNG

 

 

#Omnistudio

1 answer
0/9000

I need to use server side doc generation. I uploaded the img to static resources and then used the token IMG_staticResourceName to store the Id of the static resource, however it renders the Id of the resource and not the image itself. Do IMG tokens work ONLY for client side doc generation or am I doing anything wrong? I also tried using the name instead of the Id and the name renders instead of the image 

2 answers
0/9000

Hi,

 

I have created omniscripts and the assessment questions are accessible to the guest user but while submitting the form I am getting this error.

I have made sure that the guest user has Create and Read access on Assessment and Assessment question response object along with Omni Process so what Am I Missing?

I have deactivated the record triggered flow as well which was doing some update on the assessment object.

 

#Omnistudio  #Experience Cloud  #Unauthenticated Guest Users

1 answer
0/9000

Hi everyone, I created a dataraptor formula as below

IF(ISNOTBLANK(%LoanApp:Applicant:axisltd_Total_Net_Income__c%) && ISNOTBLANK(%LoanApp:Applicant:axisltd_Total_Other_Income__c%), FUNCTION('AxisOmniGetPicklistLabel','getIncomeDetail',(%LoanApp:Applicant:axisltd_Business_Income_Source__c%+'$'+%LoanApp:Applicant:axisltd_Total_Net_Income__c%+'$'+%LoanApp:Applicant:axisltd_Total_Other_Income__c%+'$'

+%LoanApp:Applicant:axisltd_Other_Income_Source__c%+'$')), [])

 

I want this formula to return [] if both incomes are blank.Any suggestions on this?

 

#Omnistudio #DataRaptor #Salesforce Developer #Salesforce

1 answer
  1. Oct 15, 2024, 5:41 AM

    IF(

        AND(

            ISNOTBLANK(%LoanApp:Applicant:axisltd_Total_Net_Income__c%), 

            ISNOTBLANK(%LoanApp:Applicant:axisltd_Total_Other_Income__c%)

        ), 

        FUNCTION(

            'AxisOmniGetPicklistLabel',

            'getIncomeDetail',

            (

                %LoanApp:Applicant:axisltd_Business_Income_Source__c% + '$' + 

                %LoanApp:Applicant:axisltd_Total_Net_Income__c% + '$' + 

                %LoanApp:Applicant:axisltd_Total_Other_Income__c% + '$' + 

                %LoanApp:Applicant:axisltd_Other_Income_Source__c% + '$'

            )

        ), 

        []

    )

0/9000