|
|
The following Salesforce and ServiceMax record types are supported out-of-the-box:
• Account
• Case
• Contact
• Installed Product (ServiceMax)
• Lead
• Location (ServiceMax)
• Opportunity
• Work Order (Salesforce or ServiceMax)
|
|
Field
|
Value
|
||
|---|---|---|---|
|
Label
|
The name you want to use for this Visualforce page in the Salesforce UI, for example, Zinc Embedded Account.
|
||
|
Name
|
The API name for the Visualforce page, for example, Zinc_Embedded_Account.
|
||
|
Available for Lightning Experience... check box
|
Selected
|
||
|
VisualForce Markup
|
Copy and paste the Apex code in the sample below into the editor. Replace <RecordType_APIName> with the API name of the record type you are configuring, and replace <RecordType>-<ExternalResourceName> with sfdc for Salesforce record types or smax for ServiceMax Core record types, plus the name of the relevant Zinc external resource.
The following record types are supported:
Salesforce (sfdc)
• Account (account)
• Case (case)
• Contact (contact)
• Lead (lead)
• Location (location)
• Opportunity (opportunity)
• ServiceMax (smax)
• Installed Product (installedproduct)
• Work Order (workorder)
|
<apex:page standardController="<RecordType_APIName>" standardStylesheets="false" showHeader="false">
<style>
html {
height: 100%;
}
body {
margin:0 !important;
height: 99%;
}
iframe {
height: inherit;
}
</style>
<apex:iframe src="https://zinc-app.com/cnv?title={!<RecordType_APIName>.Name}&external_id=<RecordType>-<ExternalResourceName>-{!<RecordType_APIName>.Id}" scrolling="true" frameborder="0"/>
</apex:page>
