Dynamic create locations

is there any way to create an asset using an asset builder and then create it under a certain parent asset dynamically?


e.g. : after creating an image in a image builder, it will be created just under a certain image that has '12345' asset id.



note that the asset id will always change…

[quote]is there any way to create an asset using an asset builder and then create it under a certain parent asset dynamically?


e.g. : after creating an image in a image builder, it will be created just under a certain image that has '12345' asset id.



note that the asset id will always change…[/quote]



Yes, these settings are under the "Additional Create Locations" section of the Create Locations screen of an asset builder. You can set it up so that you can pass an asset ID to the asset builder, which it will use as its create location. We do this all the time with two asset builders, so that we can build the second asset, usually an image, under the first one that was just created. Or, you could set up dynamic create locations, which can do something similar, and you could see your newly created asset in a drop-down, then select that to create your next asset under it.



Hope that helps.

[quote]Yes, these settings are under the "Additional Create Locations" section of the Create Locations screen of an asset builder. You can set it up so that you can pass an asset ID to the asset builder, which it will use as its create location. We do this all the time with two asset builders, so that we can build the second asset, usually an image, under the first one that was just created. Or, you could set up dynamic create locations, which can do something similar, and you could see your newly created asset in a drop-down, then select that to create your next asset under it.


Hope that helps.[/quote]





i also tried additional create locations but didnt have luck…



i used keyword to pass it to the asset builder but i might missed something…



if i will be using additional create locations, is it still necessary to put static create locations?

[quote]i also tried additional create locations but didnt have luck…


i used keyword to pass it to the asset builder but i might missed something…



if i will be using additional create locations, is it still necessary to put static create locations?[/quote]



No, you should not have to add a static create location. Try checking your logs to see why the asset was not created.



Also, make sure you add the permitted asset type, for all the assets involved. So, if you are building a News Item inside a Folder, and then using Additional Create Locations to add an image under the News item, you would need to add ALL 3 of those to the permitted asset types.

[quote]No, you should not have to add a static create location. Try checking your logs to see why the asset was not created.


Also, make sure you add the permitted asset type, for all the assets involved. So, if you are building a News Item inside a Folder, and then using Additional Create Locations to add an image under the News item, you would need to add ALL 3 of those to the permitted asset types.[/quote]



what is the keyword to be passed to the asset builder…



i tried created_assetid and the source is GET variable name under additional create locations.

[quote]what is the keyword to be passed to the asset builder…


i tried created_assetid and the source is GET variable name under additional create locations.[/quote]



That is the correct keyword, just use it from the dropdown so it is correct.



On the GET variable, did you add a name for the variable, e.g. create and then in the link URL add something like ?link=%created_assetid% ?

[quote]That is the correct keyword, just use it from the dropdown so it is correct.


On the GET variable, did you add a name for the variable, e.g. create and then in the link URL add something like ?link=%created_assetid% ?[/quote]





thank you very much nnhubbard… i got it :smiley:


Happy to help.