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
Abhilash Mishra 13Abhilash Mishra 13 

Create apexpage by httpcallout and SOAP api

i want to create a link , when this link is clicked a http callout is made to a server url and a Vf page is generated in response.
it happens in a app SPimage. i want to achieve same functionallity need help.
pbattissonpbattisson
Hi Abhilash

In order to create a page dynamically everytime you would need to be sending requests via the Metadata or Tooling APIs (the Metadata API is SOAP only and the Tooling API supprts SOAP and REST).

I would suggest that this would be a bad course of action to build a new page every time a link is clicked as this will quickly create maintainability issues within your org. Why do you need to create a pae everytime this link is clicked?

Paul
Abhilash Mishra 13Abhilash Mishra 13
Thanks Pual,
     its for on time only. if page is already created link will be disabled.
     How can i use SOAP API for this?