The QueryString collection retrieves the values of the variables in the HTTP query string. The HTTP query string is specified by the values following the question mark (?). Several different processes can generate a query string.

learn more… | top users | synonyms

2
votes
1answer
21 views

Can I filter a search result by result source directly in the search box? (SP 2013)

I'm looking to create a searchString for a search box that limits the results by a result source I've made. Just like you would filter by a managed property. Eg.: {search center url}?k=Author:w16375. ...
3
votes
1answer
75 views

Connected Web Parts on Document Set Homepage Causing Error

On my document set homepage I have added two list view web parts. These two web parts are connected so the second is filtered based on the first. Environment 1 is selected by default on page load. ...
3
votes
0answers
30 views

Set metadata column value from query string when uploading documents

When users upload files to a SharePoint Online (2013) document library, I would like for a value from the query string to be inserted into a metadata column in the library. I found a number of posts ...
0
votes
1answer
61 views

add query string to url

I wish to add Query string to current url of site when i click on button. I dont know how its done in SharePoint but know how to do in asp.net like below string url = ...
0
votes
0answers
39 views

Provider Hosted App - AppRedirect with Extra Querystring

I have deployed one Provider hosted app on Azure web app and then installed app on my SharePoint tenant site. Now what I do is like, I give the app url in Office App HTML page by simply giving ...
0
votes
0answers
32 views

Add Query Parameter to Add/Create/Edit links

In my project I have a webpart page with a content-editor (hosting a link to a custom aspx page that sports Forms7) and a list which filters to the user's own entries. My problem is that I need to ...
0
votes
0answers
35 views

PowerShell ListView Webpart: View not getting updated

I am using SharePoint 2010. Using PowerShell, I am creating a list view (containing filter parameters), creating a list view webpart and associating newly created view to this web part. Expected ...
0
votes
0answers
40 views

Get ID value passed in Query String from custom list

There is a web part that displays information based on the ID present in the query string, along with that we also need to add another information to the page. There is a list that has ID number. I ...
2
votes
1answer
81 views

Content Search Web Part - Query String

I would like to filter CSWP results based on query string. I have CSWP in a page ItemDetail.aspx, the query is Path:"http://sp03:2016/Lists/Announcement%20Custom/" ...
0
votes
0answers
58 views

Unable to filter list view from query string for taxonomy fields

I have created a list view using UI and I want newly created view to filter data using query string. I referred this post to change the view schema using SharePoint designer. It is working fine, ...
8
votes
1answer
429 views

What does this code getQueryStringParameter do?

I would like to know what this code does? I am using it almost all the time but I don't know what it does. function getQueryStringParameter(paramToRetrieve) { var params = ...
0
votes
1answer
58 views

Sharepoint Rest API max querystringlength exceeded

We are trying to post a really long query string, that exceeds 2048 characters to sharepoint REST API. I am making a post to the below API ...
0
votes
0answers
46 views

Retaining query string filter parameters across postbacks

So I have two site pages, A and B. Page A has a list view with a column that has a link to page B, with filter parameters in the query string to show only items that match criteria from that list ...
0
votes
0answers
37 views

Problems with Query Sting URL Filter when adding/editing Views

I have a page (A) containing multiple links with different query string URL's that are all directed to another page (B), where a query string filter web part takes the selected link's URL and passes ...
1
vote
1answer
70 views

Use today's date as the default value for a Query String paramater?

This is what I have so far but I cannot figure out how to set the default value to today's date if the parameter is not passed in the query string. <ParameterBinding Name="meetingDay" ...
1
vote
1answer
86 views

Displaying Query String (URL) filter result on Page

I have a Query String (URL) filter on my SharePoint 2013 page that is currently passing a string parameter which I then use to filter a list. This list is displayed in a view on my web part page. I ...
0
votes
0answers
34 views

Survey Content Type not matching Survey

I have existing Feedback surveys that were built via creating a new content type with the name of the survery i.e. New Product Feedback is the name of the survey and the content type. Each column of ...
2
votes
1answer
148 views

Query variables from URL hash javascript

I have a content search webpart that needs to show a list of events. It will page through month by month. The default month on the homepage will be the current month. Each time the user changes the ...
1
vote
0answers
46 views

Is to possible to use > (greater than) condition in Query String

I need data greater than April 2014 so I need to put filter in the query string. Is there any way to use > sign ? I need something like this: ...
0
votes
1answer
60 views

2010: Query String URL Filter doesn't filter until postback

I have a Query String URL filter sending a value (ProjectID) to a task list which filters the tasks down to match the query string. On page load, however, all tasks are displayed, making it seem that ...
0
votes
0answers
41 views

How to filter my managed metadata in search query?

In my SP2010 environment, I filter documents in a document library in a search by adding &r=date<2008/01/01 by putting this on the URL string. But now I want to do an additional filter by ...
1
vote
3answers
336 views

Communication betwen sharepoint apps on different pages

I'm developing two client web parts on the same sharepoint hosted app project. Client web part A shows a list of employees of the month(name, picture, etc) Client web part B shows the detailed ...
1
vote
1answer
1k views

Pass the query string value to NewForm.aspx SharePoint 2013

I need to fill a look up value with query string parameter in custom new form in sharepoint 2013. what should I do?
0
votes
1answer
468 views

Querystring parameter in content search webpart ignored when using refiners

I've put a content search webpart on a page together with some refiners. The items in the content search webpart are filtered by a query string parameter (name: tag) ...
1
vote
1answer
30 views

Inserting data from ListA object to 'new Item' form of ListB

I have 2 lists, candidateList and emailList. In ListA, and object has various fields such as candidate (lookup field) and a textBody. When viewing a ListA object I have added a button to email. When ...
0
votes
2answers
59 views

Query string parameter to remove menu block in aspx popup

I am using the following URL to display a popup: var xVersionUrl = xAppWebUrl + "/Lists/dlWerkinstructies/Forms/DispForm.aspx?ID=" + xItemId + "&VersionNo=" + versionId When clicked on the link ...
0
votes
0answers
176 views

SharePoint 2013 List View with query string filter stops working after editing view from browser

I have created one list definition in which I have added one list view which will filter data from query string paramater So when I am creating list from my list definition, view with query string ...
1
vote
1answer
189 views

Sharepoint Search - Managed property name contain hyphen “-” not working

I created one custom managed property name SolutionName-Description and doing the full crawl after that. The issue is it returns no result when I query by this managed property: ...
0
votes
0answers
21 views

Sharepoint 2010 SiteMinder integration - illegal characters in query string blocks searches

Our site is using SiteMinder for its security needs. I've learned that one of its "features" is it blocks certain characters in query strings to prevent attacks. Those characters include quote and ...
1
vote
0answers
39 views

How to keep two search web parts on same page

I have a search results web part and a content by search web part on the same page. Searching functionality works fine here. But when I enter the search keyword in search box, search results web ...
1
vote
1answer
106 views

Search Results Sorting through Querystring

I followed this post on creating a Company Directory which uses the Sort Dropdown in the Search Results Web Part. This is great but is there any way to do this through manipulating the Query string? I ...
1
vote
1answer
616 views

How To Use Request.Querystring In SharePoint 2010 Application Page?

I have the following lines of code: SPList thisList = oWeb.Lists[new Guid(Request.Url.QueryString).Get("List")]; SPListItem thisItem = thisList.GetItemById(int.Parse(Request.QueryString["ID"])); ...
5
votes
3answers
1k views

SharePoint Web Part from App that is NOT in another domain or inside an iFrame?

We created SharePoint Hosted App that offers a Web Part we can add to SharePoint 2013 pages. The problem is that web part installs as an iframe pointing to the apps domain. Two challenges in ...
0
votes
0answers
391 views

Filtering items in list view using query string - FilterName & FilterMultiValue 32 values limit?

Basically what I am trying to do is to filter list view using query string parameters FilterName=ID & FilterMultiValue=1;2;3;... Let say we have list with default view. We want to filter items ...
0
votes
2answers
99 views

Filtering by QueryString doesn't work in SPD 2013

I have an external list, I have setup and use querystring to filter list in SharePoint Designer 2013 like this posted: ...
1
vote
1answer
924 views

Where is Query String (URL) Filter?

Based on the answers to a previous question I want to use the Query String (URL) Filter, but I don't see it on my site. Is there something I have to enable?
0
votes
1answer
168 views

Obtain QueryString From Modal Dialog Parent Page (SP 2010)

I have an application page that opens a modal dialog. Users are provided a link to this modal dialog via email, when they click on the link it will take them to the modal dialog and populate the ...
0
votes
0answers
1k views

Query String Filter and multiple values

I'm trying to get a query string filter to work with multiple values. Right now, we have the QSF and a documents library that is correctly connected. When I put in the query string, it filters the ...
0
votes
0answers
55 views

query rule sharepoint search

d+)\s?([eExXtT]*\.?\s?(?<extension>\d+))?(")?)$)|(^(?![tT]|[eE](?![xX][tT])|[xX][a-zA-Z]+)[eExXtT]+\.?\s?(?<extension>\d+)?$)|(^(?=(\+|00|0)(\d{4,-})$)(")?(\+|00|0)(?<area>\d+)(")?$) ...
1
vote
0answers
387 views

Pass a query string parameter from the parent URL to a page viewer web part

This may be a simple question for SP2010, I am trying to get the query string from a page url and pass it to the url of a page viewer web part. https://mysite.com/subsite/default.aspx?TeamID=X The ...
0
votes
2answers
184 views

Query String Filter Configure Connection not responding

So I have a Query String (URL) Filter, and a SSRS Report Viewer. I am trying to connect these two and a Configure Connection -- Webpage Dialog pops up and I can't do anything to my IE now. Normally ...
0
votes
1answer
2k views

SharePoint App “SPAppWebUrl” query string is missing after using “SharePointContextProvider.CheckRedirectionStatus”

When using a direct link(bookmark) to a page in my provided app the "SPAppWebUrl" query string is missing and the SPContext.CreateAppOnlyClientContextForSPAppWeb() is null. This happens after the ...
0
votes
1answer
99 views

Query String opening page

I have web part with link buttons. How do I open a new page when I click on a link button and also use a query string for sending my variable id?
0
votes
3answers
1k views

SP2013: querystring to search by managed properties

I need a way to let user dynamic query with several managed properties filters. There is a page with two dropdown menu "FoodCategory" and "CookCategory". We have two managed properties in same name ...
1
vote
2answers
2k views

Unable to filter view using query string parameter

I have two lists one is tasks list and the other is document library. In Tasks list I have created one lookup column of the document library i.e. document is shown with tasks. I have created view ...
0
votes
0answers
313 views

Passing part of the Query String parameter value to another Web Part

My query string looks like this ?PARTNUM=[PART%20NUMBER].[ITEM%20NUMBER].[1234-5678] I am using Query String WebPart to pass PARTNUM value to another webpart. But the other web part is expecting ...
1
vote
1answer
250 views

Use Querystring to define result source for searching

I am migrating a site from SP2010 to SP2013. One of page contain a search result webpart. By define the querystring like this: SearchResult.aspx?k=Scope:Hotnews It will return only the defined ...
1
vote
2answers
4k views

Filtering querystring results by date range

Simply, How do you filter results returned using querystring that fit within a given date range. For example I have a custom property RMExpiryDate and the value could be any date, lets say for ...
0
votes
1answer
841 views

Value of a parameter in the query string causes a new page to open instead a modal dialog

ListIDFromQueryString = '{08.....3-d...-....-....-........ce47}'; I want to use this value as the parameter (with a different name) in a link to open a modal dialog box. ...
1
vote
1answer
326 views

Autofill Survey via Query String

I have SharePoint 2010 site and I need to send my users a Survey. I would like to add the corresponding ticket number to each survey via a unique query string ...