For SharePoint specific questions, please see the SharePoint Stack Exchange (https://sharepoint.stackexchange.com) site. Use this tag for programming questions which may involve SharePoint 2016. Microsoft SharePoint 2016 is a platform and a family of software products developed by Microsoft for collaboration
Questions tagged [sharepoint-2016]
227 questions
1
vote
2 answers
SharePoint CSOM not throwing expected exceptions on ExecuteQuery
Essentially what the title says, for whatever reason when I call clientContext.ExecuteQuery(); and for example the list the data is going into has a missing column, I don't get an exception, it actually just runs as expected and I have to go and…

JoeTomks
- 3,243
- 1
- 18
- 42
1
vote
1 answer
SharePoint 2016 - Add Direct Line chat bot in Master Page to make it available in all the pages
I want to make my Direct line chat bot (using MS bot framework v4 - c# code ) to be available in all pages of my SharePoint 2016 on premises site, I'd a thought to adding the script to my site's master page so that it will be available in all the…

Jegan Baskaran
- 337
- 2
- 16
1
vote
1 answer
Is there a way to create a sharepoint document library view using an IF statement that uses metadata?
I am trying to create a view from a sharepoint server 2016 document library that goes IF((criteria A = "X" AND criteria B= "Y"), show documents under criteria C).
Some documents in the library have a value for criteria A & B, but all documents have…

user13059175
- 11
- 2
1
vote
1 answer
How to generate Link to Author - Spfx/React and Sharepoint 2019?
I am pretty new at working with Sharepoint (2019) & React, so my question is:
My goal is to develop a webpart, which basically shows entrys from a list in a more fancy way.
First of all, i got all the items from that list:
await…

Sarah Feldbacher
- 11
- 3
1
vote
1 answer
Authenticate user & call REST API sharepoint on-premise using token
I'm working on a .net core web application.
I need to call REST apis of a sharepoint on-premise site.
I can do it using some methods, but they all require to hardcode username and password.
I did it with a sharepoint online site & Azure AD. But i…

Tristan Sébillet
- 317
- 6
- 28
1
vote
1 answer
Is there a way to retrieve items from the same list and inject them onto different pages?
I am pulling items from a list by making an ajax call. I build the html and inject those items onto a page; I would like to grab the same items and inject them onto a different page, styled differently. Is there a way to link 2 ajax calls to grab…

DigiDev
- 67
- 10
1
vote
0 answers
The datapicker module is not closing when dates are selected
I have below code, which allows the user to select weekDays only.
However, the datepicker module is not closing when you select the dates nor refreshing.
I am trying to add the onClose: function() but not much luck :(
Please…

Bucki
- 43
- 11
1
vote
0 answers
IE 11- Issue in File upload | files attribute missing
When uploading a file using jquery.multifile, i'm getting error in IE 11, that is the files[0] is undefined, hence uploading is failed, when i checked the same in chrome it works, as it supports this files attribute. so anyone has a solution for…

Jegan Baskaran
- 337
- 2
- 16
1
vote
0 answers
Debugging feature activation in SP2013
I have one feature in my solution and when I try to activate the feature using Install-SPFeature, I get following error-
Install-SPFeature : Failed to find the XML file at location
'15\Template\Features\SPFeatureDefinition
…

psspl-krunalrohit
- 11
- 1
1
vote
0 answers
Converting word doc to pdf - getting blank cells on the tables(Server side)
So this code down here works fine, it does the job, word -> PDF.
Only got a problem, when the word doc has tables with united cells, when converting the word doc to pdf the pdf show the united cells combine but with no value inside.
Someone knows…

Tiago dias
- 133
- 13
1
vote
1 answer
Convert SPLitsItem data to some kind of chart or graph
I´m new at this of programming in sharepoint 2016. I search a litle bit about filling a graph/chart with data from a SPListItem and i see a lot of confusing answers.
Anyone know's a really good away to do this, some kind of good guide or tutorial…

Tiago dias
- 133
- 13
1
vote
1 answer
Deploying SP 2016 wsp to SP 2019 but resulting in error for Add-SP Solution
I have tried to Deploy SP 2016 wsp to SP 2019 but that resul in error for Add-SP Solution Input string was not in correct format at line 1.
I have opened the SP 2016 wsp in VS 2017 in an environment with the SP 2019 installed.
Also upgraded the…

Sigar Dave
- 2,598
- 1
- 20
- 42
1
vote
1 answer
While performing load testing on SharePoint app, it shows error for WinAuth, how to resolve it?
I have recorded the script in JMeter, and while validating it, it is throwing an error for the winauth/sso, how to resolve it. my app has oAuth and me have to authenticate it.
I'm running the script for WinAuth, it gets highlighted in red color and…

surender pal
- 447
- 6
- 15
1
vote
0 answers
How to test performance of SharePoint app as it has user authentication functionality and it generate "client-request-id, how to dynamically pass it
I'm performing load testing on SharePoint and I have to test authorization as it generates client request id every time how to automate or bypass it.
Or another way to perform the testing on the SharePoint
I have recorded the script using JMeter…

surender pal
- 447
- 6
- 15
1
vote
1 answer
Office Online Server Error - HTTP Request Forbidden
I am attempting to set up PowerPivot in my SharePoint Server 2016 environment. I get to the point of running New-OfficeWebAppsExcelBIServer and receive an error saying that the HTTP request was forbidden. I run other commands on OOS like…

Andy Wessendorf
- 11
- 4