Skip to main content

#Flexcard0 discussing

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

12 answers
  1. Aug 27, 2025, 11:05 AM

    I’ve run into this same issue before when custom labels started showing their API names instead of values in OmniScript. In my case it was related to how caching and translations were being handled in production. One thing that helped was clearing the cached session storage for the affected user and reloading the OmniScript to ensure the fetchCustomLabels() call was pulling the correct language values. 

     

    Another area worth double-checking is whether all your labels are properly translated for every active language in your org. Even if English values exist, if one translation entry is missing or not activated, Salesforce sometimes defaults to showing the API name. Running a quick anonymous script (as shared above) is a good way to confirm that none of the labels are missing. 

     

    We also solved part of our issue by standardizing label management with a consistent approach across LWC and Flexcards. Having a centralized way to track and maintain labels prevents inconsistencies. For example, Libra Labels:

    https://www.libra.co.za/

    offers enterprise-grade labeling solutions, and while it’s not directly Salesforce-specific, the principle of structured label management is the same, consistency in how values are stored, retrieved, and displayed reduces these kinds of runtime surprises. 

     

    If the issue persists even after checking translations and cache, you might want to trace when fetchCustomLabels() is executed in your flow, sometimes the timing of when labels are loaded in OmniScript vs. when Flexcard renders can cause a mismatch.

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 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
2 answers
  1. Feb 27, 2025, 8:59 AM

    Hi @Thalita Amorim Moreira

     

    While you're configuring the rowclick custom event.  

    Do add set values to capture the {action.result.Id

     

    I have attached the screen shots for your reference. 

     Hi While you're configuring the rowclick custom event. Do add set values to capture the {action.result.Id} I have attached the screen shots for your reference.Capture2.PNGCapture3.PNG

    Hope this will help you to pass the data from the custom event. 

     

    Thank you, 

    Gowtham.T 

0/9000

Hello,

 

I'm trying to view a child flex card from a parent flex card using a flyout modal action.

The action works fine in the preview mode from FlexCard designer. But when I put it on a lightning record page or experience page the card data does not load.

 

I'm running this as the sys admin so it isn't a permission or data access issue.  I have a testFlex card with not data source on it called 'Test Modal' and that one loads fine.

 

Any help is appreciated, thank you! 

 

Screenshot 1: This is in the preview/FlexCard designer. All my flyout actions work no problem, loading the right data.Child FlexCard flyout modal working in designer preview but not on lightning record page or experience page.Screenshot 2: this is on a lightning record page run as sys. Admin. No data loads herenot working modal_screenshot.png

Screenshot 3: This is on a lightning record page, and the flex card that is loaded in the modal has no data source or data on it. Just rich text component.

no data modal.png

 

#Omnistudio #Flexcard #Vlocity

2 answers
  1. Jan 25, 2024, 3:18 AM

    I can only assume that this is because your flyout loads on preview using whatever test data that you provided during setup - while that doesn't happen after deployment. I would review your DataSource configuration.

0/9000

I am trying to create a column in a data table that is a link to a Contact record. I have not found a way to do that. I have a formula column that uses the HYPERLINK function and it works in a data table in a screenflow. However, it does not when populated in a data table in a flex car.

 

Thanks for your help!

 

#Omnistudio #Flexcard

1 answer
  1. May 24, 2024, 4:57 AM

    @Jay Jaganathan,

     

    Flexcards don't natively support creating clickable links within data tables. However, there's a workaround you can use to achieve a similar outcome.

     

    Here are some resources that might be helpful:

0/9000

These are two custom Child FlexCards that we developed that run okay on their own.

Both of them are embedded in another custom FlexCards and gets activated after a record is fetched in the hosting FlexCard.

We see a popup error message with:

Error: FlexCard parameter { developerName: } does not meet module name criteria: /^[a-zA-Z0-9_:-]+$/

 

And at the bottom of the screen two messages appear with the same text.

 

Does anybody know what might be the issue? Where is "developerName" needs to be set?

5 answers
  1. May 18, 2024, 10:33 AM

    Mostly this issue occurs when an empty flex card is in parent flex card. double check and delete unwanted child flex cards.

     

    and then just remove child flex card from parent flex card and add again.

     

    Mark it as best answer if it helps :)    #Omnistudio #Flexcard

     

    Mostly this issue occurs when an empty flex card is in parent flex card. double check and delete unwanted child flex cards. and then just remove child flex card from parent flex card and add again.

0/9000

Hello all,

As the title says, I'm trying to create a typeahead on a flexcard with a dataraptor for the data source. Most tutorials make use of OmniScripts, and while that is easier, I'd like to try it out using a FlexCard.  

 

I'm trying to retrieve a list of accounts where the names contain the flexcard's input.

 

I followed this Add a Typeahead Input Element to a FlexCard (salesforce.com) but I'm not getting any suggestions:

FlexCard Typeahead with DataRaptor not giving suggestions

 

The data is fetched as expected in my DataRaptor:

Input: AccName

Output:  Accountsdataraptor.png

 

Here is the Action:

Am I correct in putting in {AccName} in Field Binding? I mapped it to AccName in the Input Map in the Action Properties. But what I don't understand is, I'm not getting the expected Accounts node back (check 1st image)action.pngI'd appreciate any help you can give. 

#Flexcard #Typeaheadblock #DataRaptor #Omnistudio

4 answers
  1. Dec 7, 2023, 4:32 PM

    I submitted a case today about the preview feature not working on FlexCards. Once I hear about the case, I will work on it to see if I can tell what is going wrong.

0/9000

Hello,

 

I just want to know if we can change this page? 

How to edit the Save for Later page?When i click the save for later in Omniscript that's the page is showing. Can we update/edit the page?

 

Thanks!

 

#Education Cloud #Omnistudio #Flexcard

1 answer
  1. Nov 17, 2023, 8:23 PM

    @Felix Jr. Fresco - The "Save For Later" page is fairly static and limited since it's meant to be the stopping point and deliver the link to resume the effort later.

     

    You can however extend the "Save for Later" page via Lightning Pages for internal users and/or a portal page where you can tailor the resume experience.

0/9000

Hi everyone,

 

I have a flex card, which I'm launching an omniscript from. The flex card would be on a Quote record, and I'm trying to pull the Quote Id into the omniscript, but I feel like I've tried so many variations attempting to do so that I'm stuck.

 

Here are some screenshots of my flex card, omniscript & dataraptor

 

Flex Card:Pass Context Id from Flex card to Omniscript to use in dataraptor in omniscript

Screenshot 2023-11-14 at 9.13.15 PM.png

Omniscript:Screenshot 2023-11-14 at 9.16.40 PM.png

 

Screenshot 2023-11-14 at 9.16.51 PM.png(I removed the input parameters, but have some previously, which I just couldn't get to work)

 

Dataraptor:

 

Screenshot 2023-11-14 at 9.21.28 PM.png

 

Since the omniscripts launches from the flex card - I'm struggling to debug for the issue, when I'm previewing the omniscript by itself I'm able to pull data, I just can't get figure out how to pass the Id to the omniscript to reference for the dataraptor.

 

If needed I could create an integration procedure to call the dataraptor or make any other suggested updates to get this up and running.

 

#Omnistudio #Automation #Flexcard #Salesforce

3 answers
  1. Nov 15, 2023, 3:00 PM

    Have you confirmed that your DR is working ? 

     

    If so, you can pass Context ID by setting an action on FC with Flyout Action Type and  select your Omniscript. Then you pass {recordId} as Value and ContextId as Key. Open Flyout In modal.

     

    To debug your OS you can open it in preview mode and pass Context ID in the box above OS, for testing purposes. To pass data into your DR Extract in OS as DataSource select ContextId and as FilterValue enter the name of the filter value you are using in your extract DR ( quoteId, QuoteId, quoteid etc.)

0/9000

I created a flexcard and added few text elements with custom labels. This is the format I used to retrieve the custom label in FC - {Label.CustomLabel}. It worked fine. No issues at all.

I changed the custom label value to something and I dont see that reflecting in the flexcard. Can someone shed some light on this? Looks more of a cache issue. Are there any settings to be enabled?

#Flexcard #Custom Labels #Omnistudio #Cache

4 answers
0/9000