Don't show type 2 folder assets in asset lineage


(Mahearnpad) #1

Hi

 

Is it possible to show folders normally, but NOT show type 2 folders in the asset lineage?

What would be the directive for this?

 

 

 

 

 


(Nic Hubbard) #2

Yes, but you can only do this when listing direct children. So you have to have "Direct Links Only" turned on.


(Bart Banda) #3

Is this for the asset lineage in the design area? If so you can set a rule to never show any type 2 linked assets in the lineage, which is probably what you want as a general behaviour. 


(Mahearnpad) #4

@Bart. Yes, design area. Can you give an example of the rule syntax to do this?  I can't find anything in the manual.

 

thanks

Michael


(Bart Banda) #5

Have a look at the http://manuals.matrix.squizsuite.net/designs/chapters/asset-lineage-design-areapage in the manuals and more specifically, the " show_hidden_links" attribute:

 

show_hidden_links: this variable allows you to define whether to show TYPE_2 linked assets in the asset lineage. Be default, this is set to true. The example below sets this value to false, meaning that only TYPE_1 linked assets will be shown.

<MySource_AREA id_name="page_lineage" design_area="asset_lineage">
<MySource_SET name="show_hidden_links" value="false" />
  <MySource_ASSET>
    <a href="<MySource_PRINT var="asset_link" />">
      <MySource_PRINT var="asset_short_name" />
    </a>
  </MySource_ASSET>
  <MySource_DIVIDER>&nbsp;&gt;&nbsp;</MySource_DIVIDER>
</MySource_AREA> 

(Mahearnpad) #6

Thanks Bart