Questions tagged [sharepoint]
Microsoft SharePoint is a platform and a family of software products developed by Microsoft for collaboration and web publishing. Its capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence.
33 questions
3
votes
1
answer
3k
views
List all files and folders within a SharePoint document library
Background:
I have made two classes. The first is SharePointHandler, and contains a few functions that I intend on using to automate some actions on SharePoint. A ...
1
vote
1
answer
319
views
Extracting data stored in a JsonDocument from an Excel file on sharepoint.com, retrieved using Microsoft Graph
I retrieve data from an Excel file located on sharepoint.com using Microsoft.Graph like this:
...
3
votes
2
answers
818
views
Replacing values in a list
This is my first Powershell script ever so bear with me.
I'm trying to replace values in a sharepoint list from a CSV file:
...
1
vote
1
answer
1k
views
Comparing dates with SharePoint PnP PowerShell
I am wondering if should change my if statement that compares two dates if they are equal. Is there a better way of doing this operation? The code does what it supposed to do. No errors. The Code:
<...
0
votes
1
answer
841
views
Mock customer DAO using abstract factory pattern in React
I wanted to implement abstract factory method in typescript with react for sharepoint framework webpart.
So I tried to translate ideas from this Java tutorial. I don't have method implementations ...
0
votes
1
answer
434
views
How to check if workbook not corrupted
I have asked this on the main stackoverflow.com site, but I have been redirected here. My problem is, how to check, if a workbook that is downloaded from sharepoint is not corrupted and can be open. ...
2
votes
1
answer
390
views
Rendering SharePoint lists into tables with any number of columns
I have the following code, but first the explanation.
I am using a REACTJS Office UI Component called details list:
https://developer.microsoft.com/en-us/fabric#/components/detailslist
And I want my ...
1
vote
1
answer
498
views
Displaying a List in a Managed Metadata TreeView
I have some Managed Metadata in SharePoint which is in the following format:
Managed Metadata Service
People
Job Title
And I have a list of people, ...
0
votes
2
answers
1k
views
Write ListItemCollection item to a file
I am using below code to write list item to a file. I want only 2 fields from the list. Is there any direct way without looping through all the items to do that? Here ...
2
votes
1
answer
440
views
Saving data to a Sharepoint list taking a long time
I inherited this code that saves data to a sharepoint list.
This method saves the data to the list.
In other parts of the application a list is presented and can be paged through.
You then select an ...
7
votes
3
answers
502
views
Get a value from a list in Sharepoint 2010
I am using SharePoint 2010 and get values from a list using the code below.
It might be called like this: ...
3
votes
1
answer
95
views
Retrieving the Currently Logged in User's Department
I hope this is the right place for this. I basically wrote the below script for a SharePoint 2013 where I needed to get the department of the currently logged in user.
I was finally able to get it ...
0
votes
1
answer
1k
views
Accessing SharePoint's Managed Metadata TermSets Locally and Remotely
I have written a small program which has 2 main classes :
ServerSideMMS: This can access the SharePoint Managed Metadata Services, but only from the server which ...
2
votes
1
answer
85
views
Building a SharePoint Search URL
I'm trying to build a URL to call the SharePoint Search REST API in TypeScript. The interesting part is building the querytext, which is done by my buildQueryText method. In my case it takes two ...
0
votes
1
answer
1k
views
Getting employee details according to the role
Here is my issue.I have two classes:
...