Hi Experts,
Needed some help on how should i convert a string array to Metadata type object as in the addVersion method one of the parameters is Metadata which am not able to convert as i donot have the categorytemplate as for that i would need the categoryTaxonomy which is not there with me.
Metadata metadata3 = new Metadata();
metadata3.getAttributeGroups().add(categoryTemplate);
so i cant use the above code, i just have an array of strings which i have to change to Metada object type