Questions tagged [query-string]

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.

Filter by
Sorted by
Tagged with
1
vote
3answers
289 views

SharePoint Designer 2007 QUERY STRING to populate current user name in NewForm.aspx

I am trying to create custom NewForm.aspx. This form should auto populate current user login name display name and email details in the form when user load the NewForm.aspx. Note : Without using ...
1
vote
0answers
177 views

Fill in External Item Picker (BDC) with query string value with InfoPath

We are trying to customize a 'new' form with InfoPath so that our query string value (idPatient) is automatically filled in into the External Item Picker (BDC entity). In InfoPath, we have set up the ...
0
votes
1answer
507 views

SharePoint 2010 InfoPath Web Part Query from Query String Web Part

I have been wracking my brain, Google, blogs, etc. for an answer to my problem for about the last day and finally gave in to ask the question. I'm fairly new to InfoPath, but less new to SharePoint. I'...
1
vote
0answers
81 views

Using default and user selected filters for a list

I want to filter a main/task list based on what's being selected in a Sharepoint List Filter Web part. However if there is a "querystring" in the URL, then I want the List filter autoselected to whats ...
0
votes
1answer
2k views

Pass the query string value to NewForm.aspx SharePoint Online/365

i know there is an answer to this in shareponit 2013 and that SharePoint Online/365 should be pretty much the same, however i can't seem to get the following code (not my own, this is taken from a ...
0
votes
1answer
730 views

SharePoint Query String Filter not working with space

I am creating a url that looks like this: "http://servername/sites/mywebsite/sitespages/page.aspx?ProcessName=my initial process" But when I redirect SharePoint to that page using: location....
4
votes
2answers
13k 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 ...
2
votes
1answer
264 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
357 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. ...
5
votes
3answers
3k 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
1answer
2k 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 = HttpContext.Current.Request.Url....
2
votes
1answer
656 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/" contentclass="...
0
votes
0answers
1k 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 ...
1
vote
1answer
1k 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 http://sitename/_api/web/sitegroups?$select=LoginName,Id,...
1
vote
1answer
432 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" Location="...
3
votes
1answer
1k 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
3answers
1k 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 ...
2
votes
0answers
576 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: filterField1="MonthYear"&FilterValue1>"...
2
votes
1answer
6k 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?
1
vote
1answer
41 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
237 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 ...
1
vote
0answers
287 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
571 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
585 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 scope ...
0
votes
3answers
3k 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 ...
0
votes
2answers
144 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: http://arsalkhatri.wordpress.com/2012/01/07/external-list-with-bcs-search-...
0
votes
2answers
524 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 ...
1
vote
1answer
3k 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
370 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 ...
4
votes
0answers
741 views

Query string filter on an InfoPath lookup field

I am trying to use a query string filter to filter data on an InfoPath form using this guide. The column that I'm trying to filter is a lookup field and it is not available in the list of Consumer ...
1
vote
2answers
7k views

Query String parameter - Multi FilterMultiValue on different columns

Is there a way to combine FilterMultiValue on different columns? ex ?FilterName=HomeCountry&FilterMultiValue=Norway;Global&FilterName=HostCountry&FilterMultiValue=US;Global I want to ...
0
votes
0answers
3k 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
120 views

query rule sharepoint search

((^(?!(([\d-\.\s\(\)+]*([a-df-su-wyzA-DF-SU-WYZ]+|[tT]|[eE](?![xX][tT])|[xX][a-zA-Z]+))|(\d{1,3}$)|((\+|00|0)(\d+)$)))(")?(((\+|00|0)|(?=(\d*\s*\()))[0]*(?<country>\d+))?[\.\s-]?(\(?(?<area&...
0
votes
1answer
3k views

Query String URL Filter

I'm having issues doing a basic query string filter and I'm not sure what I'm doing wrong. I keep getting these two messages: "Cannot save all of the property setting for this Web Part. An error ...
1
vote
0answers
794 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
1answer
4k 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
105 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
1answer
2k 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. $('#my-element').after('<...
1
vote
1answer
1k 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 ~/site/List/Survey/NewForm.aspx?...
0
votes
1answer
695 views

Filter using url QueryString parameter 'a=…' does not always work for all fields

On a SharePoint SearchResults page the core results webpart can be refined or filtered using the QueryString paramters 'r=' or 'a=' in the url. I am attempting to use the 'a=' parameter which works ...
1
vote
0answers
81 views

Documents inside a folder not showing when a filter is applied in query string?

I create a webpart to show the Document List on a certain page, and then I applied a filter on a column content to show only certain documents. But in that way the folder structure is lost and all ...
1
vote
0answers
51 views

Query String Webpart Timeout

I added a Query String (url) Filter Webpart to my page. It added quickly. But when I try to configure it, it seems to spin forever. It finds the parameter I want to filter on, and when I click done ...
1
vote
1answer
347 views

How to add multi-key querystring to custom content type's custom form url?

I have a custom content type, inheriting from the WorkflowTask content type. I've configured the content type to point to a custom form, but the URLs are not working properly. <ContentType ID=...
0
votes
1answer
81 views

Send Row Data to Dialog Box for Editing

I have created a custom ribbon button in SharePoint 2013 which enables when 2 or more files are selected and opens a dialog box. Within this dialog box, I would like to open a custom page which ...
0
votes
1answer
142 views

Store Query String for Filter WebPart in Session or like

With String accountName = this.Context.Request.QueryString["accountname"].ToString(); im getting the needed value for the filter webpart on my ListWebPart. If im paging my List, the url changes and i ...
1
vote
1answer
920 views

Multiple filters with query string

Imagine this situation: a SharePoint 2010 teamsite 2 lists 1 query string filter webpart to connected to the first list the 1st list is connected to the 2nd to filter the 2nd When I click an item on ...
1
vote
1answer
534 views

Appending Google Analytics query string to outbound links in SharePoint 2010

I am looking to append Google Analytics query strings to outbound links but SharePoint 2010 strips it out when you save the page. Is there a way to add those or do I have to use javascript to append ...
0
votes
2answers
394 views

Have got a problem with making a CAML Query by String contains “&”

Hello i have got a problem with making a CAML Query by the string which contains sign "&". I have Got a "L&M" firm and when I choose it on DropDownList it make me error: How to use this ...
2
votes
1answer
383 views

Ribbon buttons aren't enabled when I use query string parameter with filter

I have a problem adding filters with parameters in the lists. I added a query string parameter. It is used in a filter. When I select one item in the list, most ribbon buttons (edit and delete, ...
0
votes
3answers
1k views

Is that possible to use != in query string?

I am filtering sharepoint list using query string for some reson i need to check condition like FieldValue!=Red is that possible to achive? Or still its limitation? Lists/Tasks/Task%20Summary.aspx?...