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

Using Metadata API from Sites?



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.






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