You need to sign in to do that
Don't have an account?
CyberJus
Standard Publisher Canvas App Documentation
Hi,
I have see how you can interact through javascript with the standard publisher by accessing the its canvas app in the documentation for custom publisher actions. Is refreshing the feed the only publish event that is available? Is there documenation for this standard canvas app somewhere?
Example:
<script>
function refreshFeed() {
Sfdc.canvas.publisher.publish({name : 'publisher.refresh', payload : {feed:true}});
}
</script>
Found here:
http://help.salesforce.com/apex/HTViewHelpDoc?id=creating_vf_pages_for_custom_actions.htm&language=en_US
I have see how you can interact through javascript with the standard publisher by accessing the its canvas app in the documentation for custom publisher actions. Is refreshing the feed the only publish event that is available? Is there documenation for this standard canvas app somewhere?
Example:
<script>
function refreshFeed() {
Sfdc.canvas.publisher.publish({name : 'publisher.refresh', payload : {feed:true}});
}
</script>
Found here:
http://help.salesforce.com/apex/HTViewHelpDoc?id=creating_vf_pages_for_custom_actions.htm&language=en_US
Once javascript is declared, you can use all the javascript functions, see the documentation for canvas below,
http://www.salesforce.com/us/developer/docs/platform_connectpre/canvas_framework.pdf
Ex:
<html>
<head>
<script type="text/javascript" src="/sdk/js/canvas-all.js"></script>
</head>
pg# 30
Using Events between a Visualforce Page and a Canvas App
<script
type="text/javascript"src="https://na1.salesforce.com/canvas/sdk/js/30.0/controller.js">
pg # 46
Regards,
Ashish
Have you found any solution to this i.e. interacting with the standard publisher through javascript?
Regards,
Ritika