+ Start a Discussion
mworldmworld 

Adding Pages to Package

I have added all of our various objects, fields, classes etc. to our package in preparation for a deployment from our Development enviro to our Production enviro. What I have not been able to do is add our VF pages to the package. Pages are not shown as an option in the selection dropdown in the add to package process. This is true even though we're now running the Summer '08 Preview which fully supports VF, right?
 
Apart from manually copying and pasting the code for each page from one environment to the other, is there a more reasonable way? Am I missing something?
 
Mmauricio
GregCGregC
Packaging of visualforce pages is not supported in the Summer '08 release. You can access them vis the metadata api however.
mworldmworld
Sorry Greg, but I don't understand what that means for our deployment.
GregCGregC
Components can be deployed with the metadata api between orgs with either eclipse or ant. This really fits the IT use case to deploy between orgs (one to one with credentials) rather than the ISV use case (one to many with no credentials) which is what packaging is for.

See http://www.salesforce.com/us/developer/docs/api_meta/index.htm for details.