Create your Visualforce page and test it. Then your users can add documents to their
records in Salesforce Classic.
Required Editions
| Available in: Salesforce Classic |
| User Permissions
Needed |
| To create Visualforce pages: |
Customize Application |
-
Go to a Salesforce record and take note of its object type (Example: account,
opportunity, or lead) and its recordId.
-
From your Developer Console, click .
-
Name your page QuipCard.
-
Copy and paste the following code, replacing the
//commented
out// portions with the object type and recordId from step 1.
<apex:page sidebar="false" standardController="//insert object type here//" >
<apex:includeLightning />
<div id="quipCardContainer"/>
<script>
$Lightning.use("c:QuipCard", function() {
$Lightning.createComponent("lightning:quipCard",
{ "parentRecordId":
"//insert recordId here//" },
"quipCardContainer",
function(cmp)
{}
);
});
</script>
</apex:page>
-
Go back to the record you noted from step 1, and then click Edit
Layout.
-
Add a section, preferably one column, and then drag QuipCard.vfp into it.
-
Save your layout and verify that the component works.
-
Give access to the Visualforce page for the user
profiles of your choice, so that your users can add documents to their records using the
Quip Associated Documents component.