Oracle WebCenter Sites (MOSC)

MOSC Banner

Assign a locale to an Asset - API

edited Apr 12, 2014 12:00PM in Oracle WebCenter Sites (MOSC) 1 commentAnswered

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.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center