Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
14 views

Updating maxQueryStringLength value in SharePoint 2013

I'm getting the following response from SharePoint search after submitting a long (> 2000 chars) queryString. The length of the query string for this request exceeds the configured ...
1
vote
0answers
33 views

SharePoint 2016 javascript reference 403 forbidden

This past March we installed a SharePoint 2016 instance on our 2012 server and have been using it without issue for 7 months now. Last week I came into work to find the list views functionally stopped ...
0
votes
1answer
31 views

Extracting SharePoint data on daily basis

I want to export my SharePoint document library data on daily basis and csv file need to be save as naming convention as "Dataname_yyyyMMdd". As per my below script, it need to export data from the ...
1
vote
2answers
79 views

extract data from SharePoint document library to CSV using powershell

i am trying extract data of SharePoint document library to CSV file using powershell. I am getting data correct on CSv file. But one column i.e "Description" have more text data on it.So when run the ...
0
votes
0answers
32 views

Hashtags are coming when export data to CSV file while using powershell script

I am running one powershell script for getting data from SharePoint document library. While run the powershell script, data came to csv file, but columns names are coming with ";#" hashtags. for ...
0
votes
1answer
139 views

How to split string condition on array with powershell script. Exporting SharePoint library data on csv file

i am trying export library data into CSV file. i had used string functionality on my script to get content. my script was working fine but i am getting output in single string (or) one column. My ...
2
votes
0answers
37 views

SharePoint 2013 List View Threshold with Query String Filter

I have done some research and I think I am ok, however I cannot take the risk of not knowing for sure. I have just developed a site that will host 8000 events per year (8000 List items) and there ...
0
votes
1answer
535 views

Replace Source query string value without redirecting

is there some way to replace the Source query string parameter in SharePoint without redirecting the user? All the examples I find use location.href="new url"; which causes the page to immediately ...
0
votes
0answers
125 views

Prefilling fields in NewForm.aspx with query string doesn't work

I have two lists. One describing projects, one project per row with several columns. The other one is a slightly modified task list, with every task assigned to a project from the other list using ...
0
votes
0answers
77 views

Query String Filter - Data View Web Part - using a lookup column

On my home page I have a drop down of country names from a list. This opens a "country page" with a query string of Country=XXXXX (depending on what country is selected in the drop down). This works ...
0
votes
0answers
59 views

Sharepoint Online - InfoPath Query String

Looking for some help on a issue i'm having with InfoPath at the moment. I'm trying to pass the ID from a list into an InfoPath form, and pre-fill a lookup value in said InfoPath form with the ID. I'...
2
votes
1answer
261 views

Add filters/refiners to CQWP webpart

I am on SharePoint Online environment, As a high level summary, we currently have pages that use a PageQueryString as a filter for a CQWP. However, from the results that are displayed within the web ...
0
votes
0answers
50 views

SPO: Displaying a RSS Feed URL based on the value of Text Filter

I want to create a dynamic rss feed string that changes based upon the value in a HTML Form Web Part Filter. I am unable to figure out how to change the value of the variable (called 'CIK' in this ...
3
votes
4answers
578 views

JavaScript - Rearrange String order?

var date = $(this).attr("ows_Date"); My current code displays a string output: 2017-01-02 Is there a Javascript code where I can move the first 4 digit to the back? How do i turn it into 01-02-2017? ...
2
votes
2answers
2k views

How to pass multi select filters with query string using webpart connections

Sharepoint online currently has the function to do a multiselect on filtering of particular column when you are using a list webpart. I was able to use a query string webpart to filter one value, but ...
1
vote
2answers
697 views

How can i use QueryString with Sharepoint list programmatically?

I want to pull datas from list with queries. I want to use many queries with C# code. And there is QueryString in C#. I want to use it. So how can i do this.
1
vote
0answers
29 views

Opening a page from Email link does not populate the form with data, in that page

On performing some action(approve/reject a request) an email is generated with a link in it. On clicking the link, a SharePoint QA page opens that contains a form. All that works well! My issue is, ...
2
votes
0answers
130 views

Return QueryString(ID) as an integer

I actually have a custom dispform with a XsltListViewWebPart. This list has a column called RootId. I need to filter data from this list based on the ID set in the page's URL. I can query the ID in my ...
1
vote
0answers
28 views

Date range filter in OOTB for SPListview

I am working on a project in SharePoint 2013. Currently I am trying to implement list view filtering using OOTB QueryString parameters. I have found the following params have been working a treat ...
0
votes
1answer
86 views

How to make forms in ModalDialog (IsDlg) respect Source and redirect accordingly to a 'thanks' page after submit?

Has someone already solved the conflict between IsDlg and Source query string parameters to allow a redirect after form submission in a SP.UI.ModalDialog? Per chance even when an InfoPath form is ...
1
vote
1answer
290 views

Modal-Pop up showing a List of Related Documents filtered by individual List Item in a LVWP

I have an item list called "MyPeople". I have a document list called "MyDocs". I associated documents in "MyDocs" to list items in "MyPeople" via Lookup field. On my Site page, I have a LVWP for "...
0
votes
1answer
146 views

Is it possible to combine contentclass terms in a Rest call?

SharePoint onPremise - 2013. I'm attempting to use the following string, and get errors. 'contentclass:"STS_Web" OR contentclass:"STS_List_DocumentLibrary"'; It works perfectly if I specify a single ...
1
vote
2answers
385 views

Control redirect on saving new Document Set with NewDocSet.aspx

Does anyone have any experience with controlling the redirect when creating a new document set with NewDocSet.aspx? Our client would like the ability to create a new document set and be returned to a ...
1
vote
2answers
3k views

Source Querystring Parameter

I am trying to use the Source QueryString Parameter once the user makes changes to the Edit Form. Here's the Source URL I am using: https://mysite/sites/hhc/finance/ap/Lists/APInvoiceForm/EditForm....
3
votes
1answer
958 views

SharePoint REST orderby ArticleStartDate not working

I am trying to run a rest query to return the top three items from within a folder in a pages library, I have the code working however when I try to add an 'orderby' or 'top' parameter to the query it ...
0
votes
2answers
276 views

Passing multiple queries from a Web Part in order to filter a view

I am aware that using URLs like http://site/Lists/MyList/AllItems.aspx?FilterField1=Title&FilterValue1=ExactTitle&FilterField2=Year&FilterValue2=ExactYear will display a filtered view ...
-1
votes
1answer
365 views

Query string filtering by custom field

i added a custom action in sharepoint designer which is a url link to a document library. On this document library page i have added a query sting filter webpart, to filter data based on a list ID. I ...
0
votes
1answer
307 views

Filter SharePoint view on basis of URL parameters

I'm developing my site on SharePoint 2013. I've created a view called Advance view. I'm passing 6 parameters to that view in query string(URL). My requirement is if I pass only 3 parameters in query ...
0
votes
1answer
53 views

Migrating string to Sharepoint Online in Workflow

I moved a workflow to our Sharepoint Online enviroment from on prem. I am having a hard time figuring out the correct format for the URL string. The first image is the original string The second is ...
1
vote
1answer
207 views

How do I add the title of a list item to a custom action URL?

I'm trying to build a custom action button that links to a page with a query string URL. I've tried "?Project={ItemTitle} but that doesn't work. I can get the ID by adding "?Project={ItemId}" but ...
3
votes
1answer
1k views

How to add multiple condition filtering in query string to list view

I've gone through some articles, knowing that I can use querystring to filter a list web part: https://msdn.microsoft.com/en-us/library/cc751316.aspx https://stackoverflow.com/questions/24702889/...
1
vote
0answers
88 views

2010: attach URL parameters to the base url of the iframe

I have an iframe in my page which has the URL http://example.com/test.aspx?ItemID=n. I want the iframe in my page to load the item id in the query string so that the URL inside the src becomes http://...
1
vote
1answer
219 views

2010: How to pass query string filter values to iframe

I have a page viewer webpart in a page where I want the ItemID to be updated dynamically when the page loads. Since I cannot filter values using query string, how can this be achieved? Thanks in ...
1
vote
3answers
230 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
160 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
432 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
67 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 ...
1
vote
2answers
2k views

SharePoint Calendar view with Query String Filter

I need to create two custom columns inside SharePoint Calendar List and I need to apply Filtering to calendar view with regards to custom columns for the users. I need to apply the same using default ...
0
votes
1answer
581 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....
1
vote
1answer
814 views

Query String (URL) Filter Web Part

I am developing a portal in SharePoint 2013 in which I am using Query String URL filter web part, the function of web part is to filter the web parts on the bases of years. I gave the default Year ...
2
votes
1answer
235 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
313 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. ...
8
votes
1answer
750 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
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
601 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="...
18
votes
1answer
4k 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 = document.URL.split("?")[1]....
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
373 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
2answers
2k 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 ...