Document directory as interactive menu from Insights data

The Insights module stores data about all your documents, document paths etc.

With this information, you can build dashboards with an overview of your documents and document structure, which can be quite useful in itself.

In addition, you can also create URLs to open these document directly in a browser with the Anywhere client or in a web box.

These are the necessary steps to achieve this:

  1. Create a simple table containing Document Path and Document Title from the TARGIT Insights Usage cube. Filter by Document type = 'Document'.
  2. Add this table as a Data Source in Data Discovery.
  3. Add a Format to this data source to create columns with proper Anywhere URL strings.
  4. Add the Format to a Data Discovery cube and create a Dashboard containing a table with clickable Anywhere URL strings.
  5. Alternatively, use transfer the Anywhere URL strings to a Web Box within the same dashboard.

 

A simple table with Document Path and Document Title from Insights

mceclip1.png

Notice the filter: Document Type = Document

Save this document as it is going to be used as a data source in Data Discovery.

 

TARGIT table as data source in Data Discovery

2022-12-05_16-30-31.png

mceclip2.png

 

Add Format with additional columns for Anywhere URL strings

mceclip4.png

 

Document Path and Document Title are the two columns from the original table. The other columns are all added custom columns.

mceclip3.png

 

PathSpaceFix:

regexreplace(&DocumentPath, " ","%20")

mceclip5.png

 

AnywhereUrl:

concatenate("http://localhost/anywhere/#vfs://",regexreplace(&PathSpacesFix,"Shared","Global"),".xview")

mceclip6.png

 

AnywhereUrlEmbed:

concatenate("http://localhost/anywhere/embed#vfs://",regexreplace(&PathSpacesFix,"Shared","Global"),".xview")

mceclip7.png

 

AnywhereText:

concatenate("<a href=",char(34),&AnywhereURLEmbed,char(34),">",&DocumentTitle,"</a>")

mceclip8.png

 

Dashboard with clickable Anywhere URLs

mceclip9.png

 

Dashboard with Web box

mceclip10.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.