Asset lineage in search results

I've set up my search results listing to include asset lineage (%lineage%). It's a very nice feature as it adds a lot of context to each result.


Is there some way to configure this tag so that it uses asset_short_name, rather than asset_name - which is what it seems to do by default?



I'm using asset_short_name in my breadcrumbs for all my designs and it works a treat… and I'd like my search result lineage output to be the same.



Can you help?

You cant change it, but I think it should use short_name instead of name anyway. Can you add a feature request in the bug tracker for this so we make sure it gets changed.

Shouldn't it be %asset_lineage% rather than %lineage%?


Is it possible to make the asset lineage for assets on a search page (and at some point an asset listing page) a series of links to the relevant parts of the site hierachy?

Sorry. You're right. It's %asset_lineage%.


There is an %asset_lineage_linked% tag that might do what you're looking for in the search page results element layout…

Perfect!


The %asset_lineage_linked% is exactly what I'm after - thanks for the help

Does anyone know if there's a way to just get the URL of the lineage rather than the text (%asset_lineage%) or a linked version of the text(%asset_lineage_linked%)?

[quote]Does anyone know if there’s a way to just get the URL of the lineage rather than the text (%asset_lineage%) or a linked version of the text(%asset_lineage_linked%)?
[right][post=“13524”]<{POST_SNAPBACK}>[/post][/right][/quote]

The lineage lists all the parents, so I’m not sure what the URL for the lineage would be. Do you mean using URLs instead of names?



What exactly are you after? Maybe posting an example of the output you’d like would help.

Ahh okay. For some reason when I printed the %asset_lineage% for a file in an asset lisiting I was creating, I got back only the direct parent of that file either as text or a URL, which was exactly what I was after but I wanted to change the text displaying on the screen for the link.


What I was trying to do was to have a link in the asset linking just to the parent node but to be able to customise the URL showing on screen. Are there new keywords not in the manuals that allow me to access attributes of the parent asset?

[quote]Are there new keywords not in the manuals that allow me to access attributes of the parent asset?
[right][post=“13526”]<{POST_SNAPBACK}>[/post][/right][/quote]

Not that I know of.

Ah okay. Thanks for you help.


I managed to find a way to access the parent_url for the asset but only when I'm editing the group format section. <_<



I guess I'll just find a way to work around it I suppose.




[quote]Not that I know of.

[right][post=“13527”]<{POST_SNAPBACK}>[/post][/right][/quote]