OMNISTUDIO-DEVELOPER practice question 7 of 15

A developer needs to change some field labels on a FlexCard. The FlexCard is currently deployed to production. The developer that the best course of action is to version the FlexCard rather than cloning it. Which factor wouldlead the developer to this decision?

Full set: 86 questions
Answer options
A: The new version of the FlexCard will be used in a new Console, and the current version of the FlexCard should remain unchanged.
B: Another team member is developing new action, fields and styling for the current version of the FlexCard.
C: The new and current versions will be displayed together on the same target.
D: All instance of the FlexCard must be updated with the changes. Correct answer
Correct Answer:
D. All instance of the FlexCard must be updated with the changes.
Explanation

Versioning a FlexCard is the standard process when an existing component needs to be updated, and those updates must be reflected in all places where the FlexCard is currently deployed. When a new version is created, modified, and activated, it automatically replaces the previously active version. This ensures that all instances of the FlexCard are consistently updated with the new changes, such as modified field labels, without needing to manually replace the component on each page or application.

Why Incorrect

A. The new version of the FlexCard will be used in a new Console, and the current version of the FlexCard should remain unchanged. This scenario requires two distinct, concurrently active FlexCards. This is the primary use case for cloning, not versioning, as versioning deactivates the old version.
B. Another team member is developing new action, fields and styling for the current version of the FlexCard. This describes a development conflict or a parallel development stream, which is a project management concern, not a technical reason to choose versioning over cloning.
C. The new and current versions will be displayed together on the same target. This is not possible with versioning, as only one version of a FlexCard can be active at a time. This would require cloning to create a second, independent component.

References

1. Salesforce Help, OmniStudio Documentation, "FlexCard Versioning": "When you create a new version of a FlexCard, you can edit it without affecting the active version. When you're ready to publish the new version, activate it. The new version replaces the current version wherever it's in use." This directly supports the reasoning for answer D.

2. Salesforce Help, OmniStudio Documentation, "Clone a FlexCard": "Clone a FlexCard to create a copy of it. For example, you want to create a new FlexCard that is similar to an existing one, but you want to use it on a different page and add a new action." This documentation clarifies the use case for cloning, which aligns with the scenarios described in incorrect options A and C.

Scroll to Top