Link to home
Start Free TrialLog in
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Flag for New Zealand

asked on

Extract current URL for use in conditional formatting of DVWP values

Hello,

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

green.aspx
red.aspx
blue.aspx

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.

cheers, teylyn
ASKER CERTIFIED SOLUTION
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial