Dynamic Parameters & Asset Builders

I have a page that includes two links to create assets. The asset builder has been setup to use Additional Create Locations based on the GET variable.


The first sussessfully creates assets beneath assetid "123":



<a href="URL?create_in=123">Add an Asset</a>



The second fails:



<a href=URL?create_in=%current_assetid%">Add an Asset</a>



The "current_assetid" does not appear in the URL in the second option.



Any ideas?

Are you saying that the keyword %current_assetid% is not being replaced?

[quote]Are you saying that the keyword %current_assetid% is not being replaced?
[right][post=“8682”]<{POST_SNAPBACK}>[/post][/right][/quote]



That keyword doesn’t get replaced in a Standard Page asset on my Dev system, btw. Not sure if its meant to or not, though.

[quote]That keyword doesn’t get replaced in a Standard Page asset on my Dev system, btw. Not sure if its meant to or not, though.
[right][post=“8685”]<{POST_SNAPBACK}>[/post][/right][/quote]



That’s right. It’s not being replaced with anything. The link reads: URL?create_in=

I think its %asset_assetid% but this keyword is not available for asset builder.

a bit curious about this topic.


could anyone please let me know where do i write this kind of functionality.



in which attribute of the asset.