I have a DVWP which lists the web part pages of a library. The metadata for these pages allows for a four-tier hierarchy, and I've built the DVWP to show the respective groupings etc.
This part works fine. I can collapse and expand groups and drill down to the level I need, then click the entry I want and the desired page is displayed.
All these web part pages have the same DVWP as a navigation panel.
I would like to use conditional formatting to highlight the current page link in the DVWP. For example:
I have three pages, green.aspx, red.aspx, blue.aspx. They all have a DVWP listing the three pages
When I open blue.aspx, I'd like conditional formatting to highlight the entry "blue.aspx" in the DVWP.
I can set up conditional formatting for all kinds of comparisons among the DVWP values. But how can I determine the URL of the current page, so I can compare it to the respective field of the DVWP?
I'm using SP 2010 Enterprise and SPD 2010. I am not interested in a solution that involves Visual Studio, C# or any tools outside of the SP 2010 GUI or SPD.
The ultimate goal is to create a multi-tiered navigation pane that goes down to a document level and includes only a specific library. If anyone has a better approach, I'm all ears.