function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CyberJusCyberJus 

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
Ashish_SFDCAshish_SFDC
Hi , 


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
Ritika MaheshwariRitika Maheshwari
Hi CyberJus,

Have you found any solution to this i.e. interacting with the standard publisher through javascript?

Regards,
Ritika