• stv_dev
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

H,

i have some process in my managed package that deletes records and recreates it again.

Can someone confirm if below solution will work in Professional Edition?
maybe by PE token, Client ID or any other solution.

 

Custom button with Execute JavaScript Behavior that invokes Apex Web Service
 
Custom Buton Code:
{!requireScript("/soap/ajax/26.0/connection.js")}
{!requireScript("/soap/ajax/26.0/apex.js")} 
var result = sforce.apex.execute("ClassName","MethodName", {methodVariable:record.Id}); 
 
-----------------------------------
Apex Code:
global class ClassName {
    webservice static String MethodName(String methodVariable)
    {
    ...
    }
}
 
 
 
Thank you

H,

i have some process in my managed package that deletes records and recreates it again.

Can someone confirm if below solution will work in Professional Edition?
maybe by PE token, Client ID or any other solution.

 

Custom button with Execute JavaScript Behavior that invokes Apex Web Service
 
Custom Buton Code:
{!requireScript("/soap/ajax/26.0/connection.js")}
{!requireScript("/soap/ajax/26.0/apex.js")} 
var result = sforce.apex.execute("ClassName","MethodName", {methodVariable:record.Id}); 
 
-----------------------------------
Apex Code:
global class ClassName {
    webservice static String MethodName(String methodVariable)
    {
    ...
    }
}
 
 
 
Thank you