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

Add and Delete components in outbound change set

Hi All,


I have created the visulforce page. It contains the text field, in this text field we will give the apex class API name. On click of "Add" button this class should add in outbound change set. If we click "Delete" it should delete from the outbound change set.


Also apex class Add and Delete should be specific to one change set.


Please let me know the possibilities



Shravan Boddula

Hi Shravan,

I don't think this is possible. Change Sets are not exposed as something you can dynamically create and manipulate using Apex code, unless I missed something in a recent release.

Change Sets are not available in the database schema like other SF objects, and there's nothing in the Apex Developer guide about being able to manipulate change sets.

I think you're out of luck.

Hi Shravan,


Currently it is not possible to Access Change Sets or Call the function programatically via APEX. 

You may log an Idea for the requirement for the product management: