2

I need to deploy a profile from dev to staging org, and I was looking for any possible ways to include Apex Class Access & Visualforce Page Access to the ant's changeset (I would like to avoid manual post-deploy steps).

If not with ant tool, can it be done programmatically at all, using metadata api? It wouldn't be a problem for me to write a simple script to do so, I just need to know whether this is feasible.

This is dev org: enter image description here This is staging org: enter image description here

1
  • 1
    It will only deploy access for included components. You must include them.
    – Adrian Larson
    Commented Jun 16, 2016 at 19:15

1 Answer 1

1

You need to include all the classes ,pages,objects and Fields for which you need access in package.xml along with all the profiles. Then u can retrieve the permissions from dev and able to deploy in stage.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .