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
SuriSuri 

Using Metadata API from Sites?

Hi

 

I want to know if there is any way of using the Metadata API from Salesforce Sites i.e., from within Salesforce.

 

For example, If I have two salesforce orgs - orgA and org B.

 

I have a Site Page for orgA.

 

Is there any way I can create ApexClasses, Triggers or ApexPages in org B from this orgA's Site Page ?

 

I would greatly appreciate any help on this issue.

 

Thanks,

 

Suri

RyanGuestRyanGuest

I don't think there is an easy way to do this.