The Idea:
I would like for the List View Web Parts on my Sharepoint page to render without taking into account the extra Query String that a user may input into the url.
My Particular Situation:
If someone adds a filter at the end of the url like
http://mysite/Blog/default.aspx?FilterField1=Main%5Fx0020%5FCategory&FilterValue1=Category1
...then all list view web parts regardless of which list they're pointing to will filter by those columns specified in the url.
Desired Outcome:
I would like certain list view web parts on that site to not be filtered by the indicated columns, whilst others can be filtered.
So in essence, I also want to be able to pick and choose which Web Part will allow the Additional Query String and which ones will not allow it.
Some Notes:
I'm not trying to create a custom Web Part, I'm using a List View Web Part and the best customization I can do is through Sharepoint Designer.
The reason for this is that I would like to save the resulting site as a template and use it in other Sharepoint servers without the need to upload a custom Web Part. (I do realize everything is super easy to solve with a custom Web part)
Alright, the view parameter DOES work :)
However, I didn't expect the answer to be this, so I'll have to add more to my situation.
New Situation
This URL will not be entered manually, I'm actually using xsl to automatically generate this url. Since I will be transferring this site (by template) to a new server at some point, I can't hardcode the GUID because it shouldn't be the same on the new site. Thus, is there some xsl code to find the GUID of the Default View of a List? OR, can I somehow use the actual Name of the View in the url?
My current xsl code
This is contained in a WebPart that has a different view than the one I need in the url
<a href="{$HttpVDir}/{$thisNode/../@resource.wss.lists_Folder}/{$thisNode/../@resource.wss.blogpost_Folder}/AllPosts.aspx?FilterField1=Main%5Fx0020%5FCategory&FilterValue1={substring-after($thisNode/@Main_x0020_Category., '#')}">
Notes
The view I need is the default view, in case that makes anything easier