Stack Exchange Network

Stack Exchange network consists of 175 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 [parameter]

A parameter is a special kind of variable, used in a subroutine to refer to one of the pieces of data provided as input to the subroutine. These pieces of data are called arguments.

0
votes
1answer
21 views

How to extract part of url parameter for search

Background I have a site that stores archived data extracted from an old application environment (Lotus/IBM Notes). The data is stored as lots of individual .pdf files, 1 per record from the old ...
0
votes
0answers
14 views

Set Order field to “All at once (parallel)” by default in SharePoint 2010 workflow

I need to set the a SharePoint 2010 reusable workflow to "All at once (parallel)" by default in the initiation form. When a workflow is started manually, the initiation form displays for the user to ...
1
vote
0answers
23 views

SharePoint Online, Ribbon Custom Action - pass multiple id's instead of standard 'SPListItemId={SelectedItemId}'

How do You pass custom values from Custom Actions? I can create custom Custom Action and it works well with one listitem, but how to include my custom parameter in Custom Action? As I understand, ...
0
votes
0answers
19 views

How do I get the URL parameter from the content link property in a SP2010 web part page

I have a SP2010 web part page (/sitepages/test.aspx) with a number of Content Editor Web Parts. Each CEWP has a content link property set to a URL such as /subsite/SiteAssets/task.html?code=XXY. The ...
1
vote
1answer
83 views

Filter library view with ParameterBinding in ModernUI

I have a custom view with ParameterBinding to get URL a parameter: <ParameterBinding Name="MyCustomParameter" Location="QueryString(MyCustomParameter)" DefaultValue=""/> The view CAML query: &...
2
votes
1answer
79 views

Passing displayed item ID to a newitem form of a webpart

I have a webpart with list B put in a displayform of an item of list A . Lets assume its for adding grocery in your basket where list A contains baskets and list B groceries with a column associated ...
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....
1
vote
1answer
46 views

Most efficient way of querying sites by a parameter in their url

What's the most efficient way of retrieving ALL SPWeb (root and sub) in a SPWebApplication? Only SPWeb whose url contains a given string as a Url parameter should be retrieved. For example: I have 5 ...
1
vote
1answer
875 views

PNP / Remote provisionning : parameter in template for changing FieldDefault

in a template, I use "Parameters" element : <pnp:Preferences> <pnp:Parameters> <pnp:Parameter Key="test" >newvalue</pnp:Parameter> </pnp:Parameters> &...
0
votes
3answers
563 views

get query string url in sharepoint report

how can I get query string in a report url and use it in my report? I try these ways and no one works right! Method (1) http://<your server>/ReportServer?/<folder>/<reportname>&...
0
votes
2answers
66 views

Scripts not running on time

I have 5 different scripts that pull URLs from a list based on a parameter passed to the page: Each of the 5 tabs has almost the same script, each one just pulls from a different column in the list ...
1
vote
0answers
89 views

Javascript buggy iframe

we have a bunch of site collections dedicated to making project management sites. The newest site I set up works flawless except for some code I custom made. The view I am trying to accomplish (and I ...
0
votes
1answer
77 views

Change doclib folder by Url parameter

I have a parameter based site set up that uses both CQWPs and Query string filters to create a project dashboard. The last thing I can't figure out is how to change the folder of the document library ...
0
votes
1answer
380 views

Javascript load document libraries dynamically by parameter

So, I have asked several questions on this topic and each one resulted in a bit of progress. I believe I am now on the last step and I am not sure why this javascript doesn't work. The basic goal is ...
2
votes
0answers
45 views

Creating a custom content query web part

The basic gist is that I would like to create a content query web part that shows the 10 most recent documents in the project provided by the URL parameter. I currently have it set up such that all ...
0
votes
1answer
49 views

Direct Linking with parameters

We have a provider hosted app which uses Angular-Routing. So valid URLs look like this: https://app.sharepoint.com/sites/company/app/#!company/users/12/name This works fine while within our ...
0
votes
1answer
66 views

Calling Sharepoint with parameters

I have the following challenge ahead and have no Idea where to start with regards to the SharePoint part. SharePoint document library with meta data, Country, state and suburb for each document Stand ...
1
vote
1answer
398 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 ...
0
votes
1answer
2k views

Full Example Of JSRequest In SharePoint 2010

I am trying to get JSRequest.QueryString working. I have seen numerous examples like the following: //First we must call the EnsureSetup method JSRequest.EnsureSetup(); //Get a query string ...
0
votes
2answers
2k views

-Identity parameter in “Enable-SPFeature”

I just want to confirm -identity parameter in Enable-SPFeature -Identity $parameter -Url $spSiteCollection.Url Powershell command. In $parameter parameter, should we need to provide the ID of feature ...
0
votes
0answers
654 views

SPO 2013 redirect using url parameter doesn't work

Using same solution proposed here: Confirmation Page / Custom List Url is included in a function that generates newpost.aspx in a pop up. It worked once but then stopped which is weird. function ...
0
votes
1answer
729 views

Passing Parameters On Ribbon Button Click

I have added a button to the ribbon for a specific content type on a list (parent list). This is the only content type on the parent list. When an item in the parent list is selected and then the ...
0
votes
2answers
2k views

Customize source parameter Sharepoint 2013

I have to customize the returning from saving and exiting (by canel) a list element. I know that is done by the source parameter in the url, but I did not understand how to set/edit it. If I take a ...
0
votes
2answers
1k views

Passing parameter to NewForm.aspx

Does anyone know if its possible to pass a parameter from a list page to NewForm.aspx? I have a list which is currently filtered on owners of tasks where users will be able to view the tasks ...
1
vote
3answers
1k views

Adding a parameter to a navigation button

I'm trying to add a button to a SharePoint list that, when clicked, will navigate the user to a new web page and send a parameter from the current list. I think I have fond a way of doing this, at ...
1
vote
2answers
4k views

How to pass parameter from modal popup to parent window

I have a parent window which is a Display page of a list item. This page comes as a result of some redirection with custom querystring parameters to it. one of the querystring parameter is ...
0
votes
1answer
189 views

How to grab a value from cache and pass it to an SQL Stored Procedure

I am designing a website that queries an SQL database when opened, providing a list of bills for the given user. I am using a custom SQL query with a Data Source/Data View and in the Command & ...
1
vote
0answers
137 views

MySites URL - use another query paramater other than accountname? GUID? | SP 2013

Is it possible to use a different query parameter other than accountname for Mysites? For example, can we use the GUID to link a person to the person.aspx page? The problem is that because the ...
10
votes
3answers
725 views

XSLT Global parameter LCID is empty

According to this MSDN documentation about XSLT global parameters, in main.xsl there is a parameter named LCID whose value should be the value of System.Threading.Thread.CurrentThread....
1
vote
0answers
291 views

Add URL Paramter to Document Library

I have a document library with folders. I am currently using a filter querystring on a list to show a specific menu on the page layout. When a user clicks a folder on the page it drops the parameter ...
2
votes
1answer
2k views

Passing {@ID} in a Form Action Button URLredirect

Can anyone explain how to properly pass the list item ID in a url when redirecting the url from a form action button? Here's my url: onclick="javascript: {ddwrt:GenFireServerEvent('__commit;...
3
votes
2answers
3k views

How to get the parent url of an app?

The requirement is quite simple. I developed an app, which shows the population, cpi, gdp of the specified country. This app in sharepoint-hosted, and I'm using sharepoint online. There are ...
11
votes
3answers
15k views

Sharepoint Designer 2013, XSLT List View Options ribbon option is not showing

So I'm wondering if this is a bug or not. I have an ordinary Wiki Page, also tried making an Article Page. Once this page is made, I add an XsltListViewWebPart that points to a list, which is fine, ...
2
votes
1answer
2k views

How to pass arguments to SPServices function request?

In SPServices library, I make a search request using: $().SPServices({ operation: "Query", queryXml: queryText, completefunc: searchComplete }); function searchComplete(xdata, status) { ...
0
votes
1answer
2k views

Set SSRS Report Parameter Through JavaScript

I am running SSRS 2008 in SP2010. I want to set some report parameters through JavaScript. Is it possible if yes then how. Basically I read some values from the page itself and then set the report ...
2
votes
1answer
865 views

Accessing QueryString parameters in ItemAdding event

I am trying to access query string in ItemAdding event but no luck. I thought I can use HttpContext.Current.Request.QueryString to pull query string but HttpContext.Current object is null under ...
0
votes
2answers
116 views

filter with url: should be very easy but doesn't seem to work?

This is really weird as it seems so simple to me, but just won't work. myserver/site/lists/ExampleList/AllItems.aspx?ID=133 isn't this the basic url filter to only show that item? it does work ...