Find your content:

Search form

You are here

Create new Visualforce page dynamically

 
Share

I want to define and create a new VF page dynamically, in Javascript or Apex (or whatever I can use). Is this possible at all? If so what technology allows this (e.g. Metadata API) and is there a sample somewhere I could use?

Thanks!


Attribution to: Mossi

Possible Suggestion/Solution #1

You should be using the Tooling API in order to achieve that. There is a lot of documentation around that, please check this link.

Few examples can be found here and here.

Also, there is already a similar question posted on this site.


Attribution to: Boris Bachovski
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/31361

My Block Status

My Block Content