You need to sign in to do that
Don't have an account?
naveen reddy 19
Error deploying using ANT migration tool
Hi ,
Im trying to deploy changes using ANT migration tool.
I'm getting below error. Please help me. Any help is really appreciated.
API Name Type Line Column Error Message
Account Custom Object 0 0 Custom Field Definition ID: bad value for restricted picklist field: RecordType
Thanks,
Naveen
Im trying to deploy changes using ANT migration tool.
I'm getting below error. Please help me. Any help is really appreciated.
API Name Type Line Column Error Message
Account Custom Object 0 0 Custom Field Definition ID: bad value for restricted picklist field: RecordType
Thanks,
Naveen
<recordTypeTrackHistory>true</recordTypeTrackHistory>
We have removed it from metadata file and issue got resolved.
Thanks,
Naveen.
All Answers
RecordType.DeveloperName = 'Account',RecordType.DeveloperName='Legal_Entity'
How can I replace this in metadata file.
Thanks,
Naveen
Yeah thats kind of a manual effort I believe, find and replace with correct API name.
I used that using notepad++ if you know better tool you can use that.
<recordTypeTrackHistory>true</recordTypeTrackHistory>
We have removed it from metadata file and issue got resolved.
Thanks,
Naveen.
The Other potential answer which refer to "/" to "%2F" and "," to "%2C", also seen elsewhere in the internet are a load of rubbish.
This may have once been an issue, but the escaped characters within the.object file are perfectly fine, and should not be adjusted
If you were to put them into SF via the GUI via SETUP, then salesforce would expect the unescaped version.