Skip to main content
Mark Maslow (Developer) a posé une question dans #Visualforce
When attempting to execute this in a VF page:

sforce.one.publish(locationChannel, payload);

I get an error sforce is not defined.

I tried adding this, which got me sforce, but not sforce.one.

<apex:includeScript value="/soap/ajax/48.0/connection.js"/>

<apex:includeScript value="/soap/ajax/48.0/apex.js"/>

Does anyone know how to get the sforce.one.publish method to work in a VF page?
8 réponses
0/9000