Overview
Along with configuring object types, you can configure custom object types in Salesforce Lightning. This enables associating projects/intakes with custom object types such as Asset, Deals, Campaigns, and more.
Permissions
Users must have the System Administrator privilege in Salesforce and Company Administrator privilege in Responsive to complete the installation.
Select the applicable tab for your edition of Responsive.
-
Configuring custom object types
- Click the Settings icon and select Setup.
- From the left navigation pane, click Platform Tools > Objects and Fields > Object Manager.
- Scroll down and click ResponsiveDetail.
Note: For intakes, select ResponsiveIntakeDetails. - From the left navigation pane, click Fields & Relationships.
- Click New.
- Select Lookup Relationship and click Next.
- Select the field to which the custom object has to be related (Campaign, for example) and click Next.
- Enter the values as shown in the image below, then click Next.
Note: Do not check the Required box. - Click Next on the Field Level Security page.
- Clear the ResponsiveOpportunity Layout checkbox and click Next.
- Clear the Campaign Layout checkbox and click Save.
The newly added custom object field displays in the Custom Fields & Relationships section as shown below: - From Responsive, go to Organization Settings > Integration > CRM
- Click the Configure button for Salesforce.
- Click Connect to Salesforce.
- Scroll down and click Add Salesforce Object.
- Click the arrow to display the menu. Select Campaign. You can now map values for the campaign ID.
- Click Save.
- From the Salesforce Home page, type visualforce pages in the Quick Find text box.
- Click Visualforce Pages from the results.
- Click New.
- Enter the Name, Label and Description.
Note: The label must be unique. - Enter the following code in the Visualforce Markup tab:
Note: In the code below, replace the YOUR CUSTOM OBJECT API text with the value of the custom object you selected (such as Campaign).- Projects:
<apex:page StandardController="YOUR CUSTOM OBJECT API" extensions="rfpio.RfpioController" showHeader="false" applyHtmlTag="false" sidebar="true" action="{!onLoad}" docType="html-5.0">
<rfpio:RfpioComponent recordId="{!recordId}" RFPIO_BASE_URL="{!RFPIO_BASE_URL}" bgColor="{!bgColor}" JSONString="{!JSONString}" createButton="{!createButton}" intakeButton="{!intakeButton}" associateButton="{!associateButton}" removeAssociateButton="{!removeAssociateButton}" launchRFPIO="{!launchRFPIO}">
</rfpio:RfpioComponent>
</apex:page>
- Intakes:
<apex:page StandardController="YOUR CUSTOM OBJECT API" extensions="rfpio.RfpioIntakeDetailsController" showHeader="false" applyHtmlTag="false" sidebar="false" action="{!getIntakeDetails}" docType="html-5.0">
<rfpio:RfpioIntakeComponent recordId="{!recordId}" bgColor="{!bgColor}" createButton="{!createButton}" selectedFieldList="{!selectedFieldList}" rfpioIntakeDetailsList="{!rfpioIntakeDetailsList}" />
</apex:page>
- Projects:
- Click Save. The Campaign page displays as shown below.
- Once the Visualforce page is created, go to the Salesforce Home page and click Campaigns.
- Click New.
- Enter the details and click Save. The created campaign displays in the Recent Campaigns tab as shown.
- Click the Settings icon and select Setup.
- From the left navigation pane, click Platform Tools > Objects and Fields > Object Manager.
- Select Campaign.
- Click Page Layouts.
- Click Campaign Layout.
- Select Section, then drag and drop it into the Campaign Detail section.
- On the Section Properties pop-up, enter Responsive Documents in the Section Name field and select the 1-Column layout button.
- Click OK.
- Click Visualforce Pages, then select Campaign and drag and drop it into the Responsive Documents section.
- Once the Visualforce page has been added, click the Properties icon, or double-click on the layout, to bring up the Visualforce Page Properties pop-up.
- Type 500 in the Height (in pixels) field to add extra space when viewing the projects.
- Select the Show Scrollbars and/or Show Label checkboxes if applicable.
- Click OK. The layout displays as shown below:
- Click Save to save the changes.
- Click the App Launcher icon and select Sales from the App Launcher pop-up.
- Click Campaigns and then select the campaign name.
The Details layout displays.
- Click the Settings icon and select Setup.
-
Essentials features are subscription-based and may not be available for all users. Contact your account manager, or accountmanagers@responsive.io, for more details.