How to personalize the image large view and interaction (footer)
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
public class SharinPixSearchPage {
public Map<String, Object> params;
private sharinpix.Client clientInstance = sharinpix.Client.getInstance();
public SharinPixSearchPage(ApexPages.StandardController controller) {
Map<String, Object> query = new Map<String, Object> {
'q' => '*'
};
params = new Map<String, Object> {
'path' => 'search?search_bar=true&q='+clientInstance.token(query),
'salesforceBaseUrl' => 'https://custom-domain.my.salesforce.com'
};
}
public String getParameters() {
return JSON.serialize(params);
}
}'salesforceBaseUrl' => 'https://your-own-domain.my.salesforce.com' <apex:page docType="html-5.0" cache="false"
showHeader="false"
sidebar="false"
standardStylesheets="false"
standardController="Account"
extensions="SharinPixSearchPage"
applyHtmlTag="false"
applyBodyTag="false">
<apex:canvasApp developerName="Albums" width="100%" height="500px" parameters="{! parameters }"/>
</apex:page>