I'm trying to work out what the correct attribute name is for the target asset ID of a link asset. That is, not the target_url (I've tried that) or the relation. I've tried target_assetid and various permutations, but no joy so far.
The attribute is called link_asset_id internally. The way the asset is designed, it looks like the attribute is not exposed to get its values by keywords. So using %link_asset_id% or %asset_attribute_link_asset_id% would not work unfortunately. If it is really required then i'd suggest trying JS API to get the value.
I'll, in the mean time file a report to make sure the keyword is available.
Ash
EDIT: Looks like i read your post too fast and missed part of it. The first keyword in the link you suggested is '%link_target_X%' which is working well. I gather that all you wanted is the internal name of the attribute?
Thanks Ash - I don't actually want to get the value, I want to bulk load values (we have a nice little bulk loading tool). It seems to be straightforward to add the url (link_url) but not the assetid. :(
It looks from the manuals like link_target_assetid should work but it doesn't seem to.
We have a data import tool that is incredibly useful for bulk-loading asset information. A whole load of assets have been created as standard pages, and they should really be link assets instead.
I want to create a load of link assets (no prob with this part) and then bulk-load the asset ids for the assets that they will point to. The URL field is no problem at all - but that's not where I want the info (though could use this if I can't find a better way to do it).