OmniStudioDev Flashcards
- Which two of these option can a developer use to regrieve data from a salesforce object
a. DataRaptor Load Action
b. lookup input element
c. DataRaptor post Action
d. DataRaptor Extract Action
Lookup Input Element, DataRaptor Extract Action
- A developer created a new FlexCard to display customer data and actions, such as updating billing information and changing the primary conact for the customer account. The Flexcard contains 10 fields and 5 actions
During Testing several fields display with the correct data buton one of the fields shows only the label.
a. {recordId} is misspelled in the Data Source Input Map.
b. The field is null in the Salesforce record.
c. There are no test parameters configured
d. the fields have sceeded the maximum number allowed on the card
The fields have exceeded the maximum number allowed on the card ???
- A developer needs to display the following information together on one FlexCard:
account name, address, phone number, website
primary contact first name, contact last name, address, phone number, email
The account information must always be visible and the contact information should only be visibile as needed by the user
What approach should the developer use to display the contact information on the card?
~~CONFLICT
a. use a conditional FlexCard State
b. Set the collapsible property on the block element
c. use a datatable elelement
d. set the class = “collapsibile” on the block element
set the collapsible property on the block element
Use A Conditional FlexCard State
- Users recieve an APEX CPU Limit exceeded error when running an OmniScript in a Salesforce Community. The OmniScript includes an Integration Procedure that contains two DataRaptors.
Which two locations should the developer check to troubleshoot the issue?
a. Action Debugger
b. DataRaptor configuration
c. Script Configuration
d. Community Logs
Action Debugger, DataRatpor configuration
- What Should a developer’s first step be when troubleshoting whether a DataRaptor Extract is retrieving data?
a. Deactivate the card and layout and go to the Preview tab for the card to test.
b. go to the preview tab in OmniScript to test.
c. Add a key/value pair in the DataRaptor to test it.
d. Go to the lightning Console and reload the page to test.
Add key / value pair in the DataRaptor to test it
- Which two fields in an Integration Procedure can use a function like CONCAT or DATEDIFF
a. In a response Action, in an Additional Output value field.
b In a Remote Action, in an Additional Output value field.
c. In a Remote Action, in a Remote Options value field.
In a Response Action, in an Additional Input / Output value field (a, b)
- A developer build a new OmniScript. It contains a Set Values element with a ContextId key / value pair that was used diring testing.
What should the developer do before moving the Omnie Scriptto a production org.
a. Delete or deactivate the Set Values element.
b. Deactivate the contextId key value pair.
c. Add a show / Hide condition on the Set Values element
d. Update the ContextId value to specify an id from the production org.
Delete or deactivate the Set Values element.
- In an Integration Procedure, a developer needs to perform a multi-step calculation on every elelment of an array.
Based on best practices what two methods are recommended?
a. Use a List Action to merge the array elements together.
b. Us an Expression Set Action to call an Expression Set.
c. Use a Decision Matric Action to call a Decision Matrix.
d. Use a Set Values Element inside a loop block.
Use an Expression Set Action to call an Expression Set
Use a Decision Matrix Action to call a Decision Matrix
- An Integration Procedure uses an HTTP action to make a REST API call. THe response from the REST API must be converted into a specific XML structure before sending it as an input to another external web service.
How should the developer configure the Integration Procedure to meet this requirement?
a. Use a Remote Action that calls the XMLStreamWriter class
b. Use a Remote Action that calls the XMLStreamREader class
c. Use a DataRaptor Transform to convert JSON to XML
d. Use a DataRaptor to Extract and check the XML checkbox on the Output JSON Path
Use a DataRaptor Transform to convert JSON to XML
- In an OmniScript, a developer needs to configure a Disclosure element to require user input only if the user already checked a Non-Disclosure Agreement checkbox
How should the developer configure the conditional view to meet this requirment?
a. Show element if true
b. Set element to optional if fals
c. Disable read only if true
d. Set Element to required if true
Disable read only if true
- Refer to the exhibit below. In this Integration Procedure structrue, what Send JSON Path would you sue to send the output of the ActionZ element to a Response Action?
Block X -> Block Y -> Action Z
a. Blockx.BlockY.Action.
b. BlockX:BlockY:ActionZ
c. ActionZ.BlockY.BlockX
d. ActionZ:BlockY:BlockX
BlockX:BlockY:ActionZ
- A Developer is configure a DataRaptor Load to save contact data. THe developer needs to set the record type of the contact using DeveloperName.
Which two configuration actions should the developer take to set this up in the DataRaptor Load?
a. Select RecordType in the Lookup Object list, DeveloperName in the Lookup Field list, and Id in the Lookup Requested field list.
b. Add Link to RecordType object in the Contact Object with the Id field of RecordTYpe object.
c. Check is Lookup property when mapping the fields.
d. Select RecordType in the Lookup Object list, ID in the Lookup Field list, and DeveloperName in the lookup Requested Field list.
Select RecordType in the Lookup Object list, DeveloperName in the Lookup Field list, and ID in the Lookup Requested Field list.
Check Is Lookup property when mappin the fields
- Why you version an Integration Procedure instead of cloning it?
a. The new Integration Procedure uses a Cache Block
b. The new Integration Procedure will be used independently
c. The new Integration Procedure is Chainable
d. The new Integration Procedure will replace the existing one.
The new Integration PRocedure will be used independently
- A developer is building a DataRaptor Load for an Integration PRocedure used in an OmniScript.
Based on best practices how should the developer configure the Input JSON?
a Copy the Input JSON from the DataRaptor Action Debug node.
b. Copy the Input JSON from the OmniScript {Data} modal.
c. Build the Input JSON node by node in an editor.
d. Build the Input JSON node by node in the DataRaptor Designer
Copy the INput JSON from the OmniScript {Data} modal
- A developer is creating a FlexCard and needs to display additional information using a Flyout.
Which two types of components can the developer embed in the flyout
a. An OmniScript
b. a child FlexCard
c. A DataRaptor
d. An Integration Procedure
An OmniScript, A Child FlexCard
- A developer is creating a FlexCard and needs to display additional information using a Flyout.
Which two types of components can the developer embed in the flyout
a. An OmniScript
b. a child FlexCard
c. A DataRaptor
d. An Integration Procedure
An OmniScript, A Child FlexCard
- A developer needs to display read-only contact information in an OmniScript. The developer will
format the information as a table using merge codes to dynamically include first name, last name
street address state, postal code and country from the data JSON.Which OmniScript element should the developer use to meet this requirement?
a. Text Block
b. Edit Block
c. Text Area
d. Rich Text Area
Text Block
- A developer needs to create a list of cases for an account in a single Datatable in a FlexCard, like the one shown below
How can the developer configure the FlexCard to display the case recods in this way?
a. Disable the report records feature on the FlexCard setup tab
b. Enable the record looping feature on the data table elements
c. Select the repeatable mode property on the data table elements
d. Enable the repeat Records feature on the FlexCard setub tab
Disable the Repeat Records feature on the FlexCard setub tab
- A developer is troubleshooting an Integration Procedure with two elements: a Remote Action named FetchCard and a Response Action name ResponseCart.
In Preview, what JSON node shows the data sent to the Remote Action?
~~~ CONFLICT
a. ResponseCart
b. ResponseCartDebug
c. FetchCart
d. FetchCartDebug
ResponseCart
- A developer write an OmniScript that includes a DataRaptor that updates the Account status based on information provided from the OmniScript. The information must be updated only if the Accoun record already exists Otherwise a new account must be created
How would the developer accomplish this task?
a. Check overwrite target for all null inputs checkbox on the Account Id field
b. Check the upsert key and is Required for Upsert checkboxes on the Account Id field
c. Populate the lookup Object and Lookup Fields
d. Check the upsert key checkbox on the Account Status field
Check the Upsert Key and Is Required for Usert checkboxes on the Account Id Field
- Refer to the exibit
Input -> Output
ACC154 -> 10.23
HRA320 -> 12.99
The Decision Matrix has the following input
{
“input” : {
“ProductCode”: “HRA320”
}
}
a. 12.99, 13.99
b. 12.99
c. null
d. 13.99
12.99
- A developer creates an OmniScript to display FirstName, LastName, and BirthDate of a contact using a Type Ahead Block. The DataRaptor used in the Type Ahead has been tested and fetches the correct data.
When previewing the OmniScript, the developer enters a name in the Type Ahead and makes selection of a contact from the list. However, the text fields FirstName, LastName, and BirthDate are not getting populated with the data.
Refer to the exhibit below.
What is the reason that the fields fail to display the fetched data?
a. FirstName, LastName, and BirthDate are not placed inside the Type Ahead Block.
c. The typeahead key is not in the correct format.
c. Use Data JSON is not selected in the properties of the type ahead block
d. Lookup Mode is not selected in the properties of the TYpe Ahead Block.
FirstName, LastName, and BirthDate are not placed inside the Type Ahead Block.
- A developer needs to change some field labels on a FlexCard. The FlexCard is currently deployed to production. The developer decides that the best course of action is to version the FlexCard rather than cloning it.
Which factor would lead the developer to this decistion?
~~~*CONFLICT
a. All instances of the FlexCard must be updated with the changes.
b. The new version of the FlexCard will be used in a new Console, and the current version of the FlexCard should remain unchanged.
c. Another team member is developing new actions, fields and styling for the current version of the FlexCard.
d. The new and current versions will be displayed together on the same target.
All instances of the FlexCard must be updated with the changes.
- A developer creates a DataRaptor Extract to retrieve data to pass to an external service. the external service expects the field value to be an integer. Hoever the DataRaptor is sending it as a string.
Which action can the develoer take to fix this?
a. In the DataRaptor output tab, enter the default value as 0 on the field.
b. In the DataRaptor output tab select the output data type of that field to Integer
c. In the DataRaptor extract tab, set the Input Data Type field to Integer.
d. In the DataRaptor Formula tab, define a formula using the function TOINTEGER and use the formula as output.
In the DataRaptor Output tab, select the Output Data Type of that field to Integer.
- A developer needs to limit the output of the DataRaptor Extract to a maximum of one result.
How should the developer configure this?
a. Use a custom output type when creating the DataRaptor
b. Use the LIMIT filter on the extract definition.
c. define a formula with the filter funtion
d. set the limit property on the action that calls the DataRaptor Extract
Use the LIMIT filter on the Extract definition
- When the developer executes the Integration procedure in preview the following error message displays: “Required fields are missing : [Last Name]”.
How should the devloepr address this issue?
a. The DataRaptor post action in the Integration Procedure should have been executed before the Set Values Action
b. The valid field names should be added in the Domain Object Field in the DataRaptor
c. The Set Values Action keys should include the DataRaptor Post Action elelment name path, eg LoadContactDetails:lastname
d. SetValuesContactDetails should have been added to Additional Input of DataRaptor Post Action in Integration Procedure
SetValuesContactDetails should have been added to Additional Input of DataRaptor Post Action in Integration Procedure