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 would lead the developer to this decision?
Answer : D
A developer is creating an OmniScript that provisions trail orgs to their customers. The following text block in the Omniscript uses a merge code to display the ID for the new trail org:
Answer : B
The correct syntax for merge codes in OmniScript is %%sNodeName%%, where NodeName is the name of the JSON node in the data source. The other options are either missing the s or using incorrect symbols.
A developer needs to use the CONTIF function to process data entered by the user in an OmniScript. The output of the function needs to be displayed to the user immediately in the current step.
Based on best practice, what element should the developer use this function in?
Answer : C
A formula element allows the developer to define formulas using functions and operators to manipulate data in an OmniScript. The output of the formula element can be displayed to the user immediately in the current step using a display element.The CONTIF function counts how many times a value appears in a list1. A Calculation Action element executes a calculation procedure and returns the output as a JSON object. A Set Values element assigns values to variables or fields in an OmniScript.A Range element defines a range of values for a variable or field in an OmniScript1. Based on best practice, a formula element is the most suitable element to use the CONTIF function in this scenario.
Refer to the exhibit.
The card layout uses an integration Procedure as a data source. The cards use the layout data source.
Which JSON data structure supports this card layout and follows best practices?
A)
B)
C)
Answer : C
The JSON data structure in option C supports the card layout and follows best practices. It has a list of objects, each representing a product, with the properties ''ProductCode'', ''ProductName'', ''ProductDescription'', and ''ProductPrice''. These properties match the fields in the card layout. The JSON data structure also follows the naming convention of using camel case for property names. The JSON data structures in options A and B do not match the fields in the card layout and do not follow the naming convention.
A developer is creating a FlexCard for a new Community page. The FlexCard will display case information along with actions to close the case and update the case, and it will be styled using the Community's theme.
What must the developer do to configure the FlexCard for deployment in a community?
Answer : B
The FlexCard Player component is used to display FlexCards in a community page. The developer needs to add the FlexCard's API name to the FlexCard Player component to configure the FlexCard for deployment in a community.
Which JSON from the DRGetAccountDetails action would display all six values correctly in the Omniscript structure shown?
BlkContacts is a Repeat Block.
Answer : A
From the OmniStudio OmniScript Documentation:
A Repeat Block (like BlkContacts) expects an array of objects.
Each item in the array must contain fields that exactly match the UI elements inside the block.
The parent JSON must include any top-level values used by individual input fields (like AccountName, AccountPhone).
Why the Other Options Are Incorrect:
B . Uses Contacts instead of BlkContacts, and is incomplete/malformed.
C . Repeats keys at the same level instead of using an array structure. This causes the data to overwrite and fail to display properly.
D . Uses incorrect keys like 'Name' and 'Phone' instead of expected 'ContactName' and 'ContactPhone', breaking field binding.
Salesforce OmniStudio Developer Guide OmniScript Repeat Blocks & Data JSON Structure
DataRaptor Extract Output Mapping JSON for OmniScripts
A developer needs to build a DataRaptor Transform to send current weather to both an OmniScript Card Layout. Which of these samples would be valid for the Expected Output JSON?
A)
B)
C)
D)
Answer : D
According to theTransform External Data Unit, the Expected Output JSON should match the Output Path of the DataRaptor Transform. In option D, the Output Path is Current:CityState, which matches the Expected Output JSON. The other options have different Output Paths that do not match the Expected Output JSON. Therefore, the correct answer is D.