views:

44

answers:

0

I currently have pages on my site with several xsl dataview webparts. Each dataview webpart shows the contents of a different folder in the same list. I've accomplished this by changing the querystringparameter name for each list view to its own unique name (ie. "R1", "R2", "R3", rather than all being "RootFolder"). The querystring in the URL looks something like this: "?R1=/Library/Project Folder/subfolder1&R2=/Library/Project Folder/subfolder3&R3=/Library/Project Folder/subfolder3 The /Library/ and /subfolder/ parts of the string will basically never change for the list view and the only real piece of information I need to get from the querystring is the /Project Folder/ part. However, I'm forced to put the entire path at the moment.

My question is this: would it be possible to modify the RootFolder parameter so that all I have to encode into the url is the /Project Folder/ portion of the path? (ie. ?R1=PFolder1 would created a rootfolder parameter of /Library/Pfolder1/subfolder/) I'd like to do this so I can clean up the querystring a bit.