function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anand_agrawal@persistent.co.inAnand_agrawal@persistent.co.in 

How to retrieve the fieldset for USER object through ANT script ?

Hello,

 

I've created few fieldsets in the USER object. However when I try to retrieve them using the migration tool (ant script), I see only custom fields and few std fields in the user object file. I've used the same script for custom objects and it worked for me and I could access the fieldsets from the custom objects.

 

Can somebody help me to get the fieldset retrieved through ant script for USER object?

 

Thanks in advance!


Anand Agrawal.


Santhosh KumarSanthosh Kumar

For standard objects, sub-metadata values needs to be explicitly requested ortherwise, it will not be retrieved. However this restriction is not there for custom objects. Can you try once specying explicitly?

Anand_agrawal@persistent.co.inAnand_agrawal@persistent.co.in

What is sub-meta values ?

Santhosh KumarSanthosh Kumar

FieldSet is not a highlevel metadata component but sub-component of a CustomObject. So to retrieve the Fieldset you need to explicitly prefix the Object name. That's why I referred to it as Sub-metadata type.

Anand_agrawal@persistent.co.inAnand_agrawal@persistent.co.in

I tried accessing it by prefixing with std object. For examplae... for the "FS1" available in the USER Object, in the project.xml file I mentioned.

 

<members>user.fs1</members>

 

Like wise I tried all the P&C for std object and fieldsets.

 

 

--Anand.