WebCenter Sites Rest Api
Hello All!
How can I set a Locale in a new asset with REST Api??
I can create the asset but I need to set the locale and another blob attributes....
I need to set attributes using REST Api in WebCenter Sites. I have problems with blobs, dimensions and assets attributes..
To set String attributes I use this code and works fine:
........
com.fatwire.rest.beans.Attribute, com.fatwire.rest.beans.Attribute.Data........
sourceAssetAttr = new Attribute();
sourceAssetAttrData = new Data();
sourceAssetAttr.setName("test");
sourceAssetAttrData.setStringValue("value test");
sourceAssetAttr.setData(sourceAssetAttrData);
asset.getAttributes().add(sourceAssetAttr);
I have attached a XML file representing my asset.