You need to sign in to do that
Don't have an account?
Baird Straughan
Can't deploy fieldsets with ANT?
I'm trying to deploy a build that includes a fieldsets. In the package document I have tried to retrieve using:
The rest of the package retrieve and deploys fine but when I include the code for fieldset I get this error:
Entity type: 'Fieldset' is unknown
Are fieldsets not deployable via ANT? If that's the case, it should be documented somewhere.
<types> <members>MyFieldset</members> <name>Fieldset</name> </types>and
<types> <members>Account.MyFieldset</members> <name>Fieldset</name> </types>and
<types> <members>Account.fieldset.MyFieldset</members> <name>Fieldset</name> </types>
The rest of the package retrieve and deploys fine but when I include the code for fieldset I get this error:
Entity type: 'Fieldset' is unknown
Are fieldsets not deployable via ANT? If that's the case, it should be documented somewhere.
Field sets are deployable via ANT and the metadata API. The problem is that all the terms in the package.xml are case sensitive.
try changing the "Fieldset" to "FieldSet":
to
Hope that helps.
All Answers
Field sets are deployable via ANT and the metadata API. The problem is that all the terms in the package.xml are case sensitive.
try changing the "Fieldset" to "FieldSet":
to
Hope that helps.
But my code still has an error in it. The first line should be just "Contact.MyFieldset." What works is:
Thanks for the help.
In my latest check, I used the following to get the field set: It doesn't matter if you write "FieldSet" or "Fieldset". SFDX CLI works with both. You just have to put the
Hope this helps.