Link to home
Start Free TrialLog in
Avatar of MiddlesbroughPCT
MiddlesbroughPCTFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Adding Querystring Data to SiteMapPath

Hi all,

I'm trying to add specific querystring data to nodes in my SiteMapPath but am having some difficulty.

So for example I have...

HOME > USER SEARCH -> USER PROFILE - > EDIT PROFILE

I want it to include the userID variable, when I'm in Edit Profile to the Edit Profile link and also one node back, User Profile.

As it's only small site, I can try and go from the current node back to the root and manually check the rootnode.URL method to do this for exact page URLS, but I'm a bit stuck on how to recursively go backwards through my SiteMapPath data.

Thanks for looking
ASKER CERTIFIED SOLUTION
Avatar of TSmooth
TSmooth

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
Avatar of MiddlesbroughPCT

ASKER

I'll need to work through if I can it in a loop until the root is found but that should be fine.