You need to sign in to do that
Don't have an account?
visualforce_dev
Retrieve all metadata via java code,Urgent!
Hi all,
Can I get all metadata using partner wsdl..
Right now I am able to retrieve object name and field name.
I want to retrieve all validation rules, workflow rules etc associated with some particular object or in common
If it is not possible using partner and we have to use retrieve function in metadata API, can anyone help on how to do it..
Sample code will be of grt help!!
Regards
Hi Simon,
Thanks for your reply, our requirement is to get all components related to some particular object, for eg
if we give Account, it should retrieve all validation rules(rule name,criteria, error message), record type etc etc,Related to account, same with custom object,,
we tried with 'retrieve' function in metadata API.. The sample code there to retrieve components into a zip file.
and we are able to create the zip file.,Is there any other method like 'describeobject' to do this, if so can you please provide some simple sample code to start with..
input : object name,
output : fields, validation rule, workflow rules etc related to it..
Thanks in advance
FYI, not all metadata is retrievable. Worse, there's no official list of what data cannot be retrieved (only its complement, what data can be retrieved, listed in the Metadata API docs).
We asked our support rep about this, because missing data means that releases cannot be completely automated. Here's the advice he offered: