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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

How to pass a Content Type parameter to an embedded PowerApp

Trying to work out if this is possible. I'm on Sharepoint 365 and have a custom content type extending "Site Page" called "Project Page" that has an additional page parameter, &...
BipedalMammal's user avatar
1 vote
0 answers
125 views

AllItems.aspx GET parameters

While searching for resources, users on different forums often use GET parameters to customize the display of their document library. I searched the proper documentation on this page, but could not ...
yhu420's user avatar
  • 121
0 votes
1 answer
36 views

How to find the corresponding Id for parameter passed into a new page for saving via Sharepoint api

Overnight, with the help of this forum, I figured out how to save a parameter passed via a query string to my Sharepoint api call for "Name" field. I'd like to take this one step further, and ...
Susan T.'s user avatar
  • 141
0 votes
3 answers
525 views

How to pass SiteURL as a parameter into a Form to insert via API Post

I've got a pretty basic form, that has a couple fields that are saving data via SharePoint API post. My ultimate goal is to pass in a parameter in the URL, and save that parameter in the field named "...
Susan T.'s user avatar
  • 141
5 votes
1 answer
3k views

SharePoint Classic view via URL parameter

Is it possible to force SharePoint to use Classic experience with URL parameters? (For example https://companyname.sharepoint.com/Lists/ListName/AllItems.aspx?ClassicExperience=True) There is a ...
Gable's user avatar
  • 87
0 votes
1 answer
179 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 ...
Dave ONeill's user avatar
1 vote
0 answers
176 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, ...
Gennady G's user avatar
  • 1,623
1 vote
1 answer
121 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: &...
Daniel Pl.'s user avatar
2 votes
1 answer
141 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 ...
Kloggy's user avatar
  • 145
2 votes
2 answers
6k 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....
cbbrown's user avatar
  • 787
1 vote
1 answer
103 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 ...
LeonidasFett's user avatar
1 vote
1 answer
2k 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> &...
Hervé D.'s user avatar
0 votes
3 answers
715 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>&...
Hoorie's user avatar
  • 185
0 votes
2 answers
143 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 ...
Sabien Ambrose's user avatar
1 vote
0 answers
116 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 ...
Sabien Ambrose's user avatar
0 votes
1 answer
221 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 ...
Sabien Ambrose's user avatar
0 votes
1 answer
621 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 ...
Sabien Ambrose's user avatar
2 votes
0 answers
54 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 ...
Sabien Ambrose's user avatar
0 votes
1 answer
101 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 ...
Ole Albers's user avatar
0 votes
1 answer
76 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 ...
JohnDa's user avatar
  • 21
1 vote
1 answer
622 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="...
IMTheNachoMan's user avatar
3 votes
2 answers
4k 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 ...
Nick's user avatar
  • 51
0 votes
1 answer
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 ...
motionpotion's user avatar
  • 2,237
0 votes
2 answers
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 ...
SPBeginer's user avatar
  • 2,547
0 votes
0 answers
756 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 ...
matt's user avatar
  • 589
0 votes
1 answer
939 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 ...
motionpotion's user avatar
  • 2,237
0 votes
2 answers
3k 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 ...
Emaborsa's user avatar
  • 1,189
0 votes
2 answers
2k 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 ...
Martin's user avatar
  • 3
1 vote
3 answers
2k 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 ...
Martin's user avatar
  • 11
1 vote
2 answers
6k 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 ...
Ishan's user avatar
  • 774
0 votes
1 answer
202 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 & ...
auxfnx's user avatar
  • 1
1 vote
0 answers
147 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 ...
user23927's user avatar
10 votes
3 answers
813 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....
MdMazzotti's user avatar
  • 4,787
1 vote
0 answers
307 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 ...
user21326's user avatar
2 votes
1 answer
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;...
user18217's user avatar
3 votes
2 answers
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 ...
wei's user avatar
  • 33
11 votes
3 answers
17k 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, ...
user avatar
2 votes
1 answer
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) { ...
omega's user avatar
  • 2,160
0 votes
1 answer
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 ...
V.B's user avatar
  • 763
2 votes
1 answer
958 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 ...
Firoz Ansari's user avatar
0 votes
2 answers
125 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 ...
Justin's user avatar
  • 1,361