Assign a locale to an Asset - API
Hello guys, we are running WebCenter SItes 11G R1, and we are trying to generate a import process. Everything works well, we are able to create the assets, set the values, etc, but we have a problem when We try to assign a Locale for each asset.
We found some usable declarative xml code that would solve the problem:
<asset:load type="Content_C" objectid='<%=ics.GetVar("id")%>' name="tempName" editable="true"/> <asset:adddimension name="tempName" dimensionid='<%=ics.GetVar("en_US.id")%>'/> <asset:save name="tempName"/>
but we are using the API for this process, so we need a way of doing this, but via the API.