Asset lineage (breadcrumbs) and IA (asset structure hierarchy)


(Mahearnpad) #1

This is difficult to explain, but here goes:

 

Say we have an asset listing asset at some point in the asset lineage. It lists, for example, standard page assets that are in a different location in the asset tree. This location is mainly made up of folders which contain pages and pdf files. The effect is that when the user clicks on a link that takes them to this page, it changes the breadcrumbs such that they are now within the asset lineage of that standard page. This is not what we want. We want to maintain the breadcrumbs from the lineage they started at (from the asset lister).  

 

This seems like a common way to set up an IA - where you have documents stored in places other than the asset lineage which the user is navigating within.

 

Is this clearly articulated?  Is there any way to fix this?

 

TIA

Michael


(Bart Banda) #2

The behaviour is expected because you are navigating to the location of the clicked asset. If you don't want to move the asset (link it) under the asset that you are clicking from in the first place in order to retain the breadcrumb, you have 2 options:

 

1. Easiest - Use JS to rewrite the breadcrumb based on the referrer asset.

2. When you click on the standard page link, navigate them to a dynamic child page of the original listing asset and pass something like ?asset=1234 where 1234 is the asset ID of the clicked asset. That way you can then print all asset information about the clicked asset on the dynamic child page using a variety of methods including paint layout and ^as_asset keyword modifier. You might have to put some keyword modification into the breadcrumb code as well to write the proper name in the lineage if you are presenting a page via ?asset= 

 

Other than those 2, not sure if you have any other options. But I might be missing something from the requirements. 


(Mahearnpad) #3

Thanks Bart