Is it correct that ANT defaults FLS to visible? Everywhere else I look it seems to suggest that FLS is only set on profiles that you also have in the package, but that's not what I'm seeing.

FLS for deployed fields seems to be getting set to visible. This seems true when deploying both entire objects and single custom fields.

Can anyone offer more insight on why this is the case?


Turns out it was because I wasn't explicitly setting the API in my deployment package. When I retrieved, Salesforce was automatically updating my deployment package with API 29.0. I appears that what I was experience was the default behavior until API 30.0. Updated my deployment API to 33.0 and it now seems to be setting FLS as I'd expect.

enter image description here

Documentation Link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.