Setup Logic for Interactions
The integration between RenderDraw and Salesforce CPQ is powered by RenderDraw subscribing to CPQ's Lightning Messaging Service (LMS) messages and taking action based on the content.
Tasks:
Within RenderDraw component on Product record, navigate to the "Logic" tab:
Click "Add Interaction Event"
Add "Name" for your event and select one of 3 event Type
Note: The naming convention should mirror CPQ "Features" and "Options"
The event types perform the following:
Focus: An event that highlights or maneuvers the scene to a specific area
Change: An event that performs various actions that change a node, mesh, texture, material within the 3D model
Focus Lost: An event that performs the inverse of Focus event
For event type Focus:
Create a new "Action Item" and optionally rename it
In the "Steps" section of the Action, click "Add Step" and select "Camera" tab, click "Position and Aim Camera", click "Select"
Click "Set Visually" and position camera to your desired location, click "Get Camera Position & Aim", and click "Set Input Parameters":
Click "Save Changes"
For event type Focus Lost:
No need to create any actions, just ensure your event matches the naming convention of the Product Feature
For event type Change:
Create a new "Action Item" and name it to match the naming convention of the Product Option you wish to target:
Under the "Conditions" section, create a condition, or multiple, that inform this action of what to look for to execute:
Under the "Steps" section, click "Add Step" to add the step(s) to take as a result of the condition(s) being met:
Click "Save Changes"
Last updated