Questions tagged [sharepoint]

10543 questions
1

votes
1

answer
284

Views

Register SPO Hub Site CSOM

I know that it's possible to register a site as a hub Site using the PowerShell cmdlet Register-SPOHubSite but I haven't been able to find an option to do this via CSOM. Has anyone been able to do this using C#? update I've found the HubSiteCreationInformation object in the Microsoft.SharePoint.Cli...
groveale
1

votes
1

answer
17

Views

What next after purchasing Microsoft 365?

My boss purchased Microsoft 365 which came in three products. He now challenged me to design a management system, like an employee self-service portal. I am hereby looking for advice on where to start or which product to use, since I am new to this. I have tried a bit of research and I came across t...
Seyyid Said
1

votes
1

answer
2.2k

Views

SharePoint Configuration Wizard Error - The SDDL string contains an invalid SID or a SID that cannot be translated

While installing SharePoint Server 2013 I am finding the above error in the Configuration Wizard. This error is occurred while generating Sample Data for SQL. It gives me an error in the 8th step out of 10 steps. I have tried to find out the solution for that and I have came to know that I need to s...
Stan
1

votes
2

answer
11.4k

Views

Error occurred in deployment step 'Activate Features': Cannot complete this action

i'm new on sharepoint 2013: In my sharepoint solution which is created from visual studio , I created a project that contains the data model of my solution : I put in this project custom fields, custom types as well as custom lists that my solution requires. then I created 3 features in this project...
1

votes
1

answer
14.6k

Views

Get a list of files from Sharepoint and download the latest file

I am trying to get a list of files from a SharePoint location and then get the latest (by creation time) file using C#. The resources available talk about SPWeb/SPSite but these are not available directly on Visual Studio 2013; The SharePoint site: https://sharepoint.amr..com/sites/OrganizationName/...
Kevin
1

votes
3

answer
3.7k

Views

Delete File in SharePoint folder using C#

I am using SharePoint ExcelService to manipulate an excel file and then save it to the Shared Documents folder using ExcelService.SaveWorkbookCopy() Now I want to delete those files I saved earlier. What is the best way to achieve this using C# in a Asp.Net MVC Application? I tried it using the RES...
katho2404
1

votes
2

answer
139

Views

How to pass the JSON validation of write-manifest.json when adding “debugLocale”?

I'm trying to build my first localised SPFX WebPart for Sharepoint Online. I've added an additional language de-de.js in the loc folder and now I'm trying to change the write-manifest.json to use my new language on debug by adding the `'debugLocale' property to it: { '$schema': 'https://developer.mi...
modiX
0

votes
0

answer
8

Views

AccessDenied, Either scp or roles claim need to be present in the token

Using this URI I am trying to generate access tokens https://login.microsoftonline.com//oauth2/v2.0/token and the access tokens were successfully generated. And I am passing client_id,client_secret,grant_type and scope. When I tried to check https://jwt.io/#encoded-jwt I found that its an Invalid...
Divyashree R
0

votes
0

answer
4

Views

How to create custom content editor web part in SharePoint

How to create custom content editor web part in classic experience of share point online ?
naeem khan
2

votes
1

answer
45

Views

Javascript and SharePoint 2013: Set background color to list item

I have a script that I use in my SharePoint that sets the field to be green or white, depending on a calculated value. It works with no issues (I only included a snippet of the code, I can include the entire function if that requested). I calculate the statusValue in the code, then, if it is < or >...
Shinobii
1

votes
0

answer
56

Views

Sharepoint REST Jquery no results display message

With the code I have it in a script editor on a sharepoint page. I would like to display a message that states 'No results found'. I have tried over and over and have failed to display. .item-name-clickable{ font-size:1.1em; background-color: #c7e0f4; padding:2px 5px; margin-top:2px; cursor:pointer...
Kevin
1

votes
0

answer
116

Views

WSO2 and sharepoint SSO setup

The case: A client asked for SSO to access their internal SharePoint applications externally (They will add Exchange later on), they do not care if the device is on the domain and they want the experience to be seamless, so anyone with a valid user name and password regardless of whatever device the...
Khaled Jamoos
1

votes
0

answer
189

Views

Getting a 403 Forbidden Error while uploading a document using SharePoint 2013 REST API

I am working on a task to generate an on demand spreadsheet/document and upload the generated document to SharePoint 2013 (on-prem) from .net core 2.0 application. I am using Epplus.core libraries to generate the spreadsheet. Using CSOM is not an option for me as I didn't find any nuget libraries wh...
Naveen
1

votes
1

answer
96

Views

How to setup Project Backlog in TFS pro grammatically?

I have look around the other post about this Project Backlog, but i want to those missing field in this image here I need those missing fields like workitem, Title, Assigned To, State, Effort, Business. I have this code with me right now. / Set up default team sprint date and time var teamConfig = _...
TheWay
1

votes
0

answer
34

Views

Style SharePoint web part content to appear on same line

How do I style a list/announcement web part (currently set to Newsletter style) so that the Created By and Created Date fields appear on the same line? I don't have access to our company's Sharepoint files or Sharepoint designer so was hoping to achieve this through something like the content editor...
Matt Hall
1

votes
1

answer
150

Views

Sharepoint list column display either number or “N/A”

I'm making a list and in some columns, the majority of the entries will be a valid number between 3,000 - 18,000, and therefore I have make these columns as a number type column. However, there are entries that a number is not applicable and I need to show to users that for such particular entry, su...
Amuro Chan
1

votes
0

answer
392

Views

Importing data in .iqy files into Pandas

I have several .iqy files that query data from Sharepoint. I need to combine and process these in Python Pandas. Does Python have any way of doing this? I know the Python Sharepoint library exists, but I'm trying to avoid setting up my own connections via Python and rely on the .iqy files instead. A...
tgordon18
1

votes
1

answer
71

Views

Identify in custom Web API with absolute certainty who is logged in to SharePoint

My user logs into SharePoint Online and is authenticated. I have a custom made Web API application which my client side calls. I would like to know with absolute certainty which user is calling my API. My idea so far is to find the JWT in the cookie in SharePoint (success) which states who is logged...
Harry.NET
1

votes
1

answer
83

Views

Is it possible to create a project documentset using graph API?

So far I haven't been able to find any information on how to create project documentsets on my Sharepoint environment using the Graph API. I've tried both Sharepoint's 'Create item' and OneDrive's 'Create Folder'. The Sharepoint API says: 'Files and folders should only be added to a DocumentLibrary...
Willem van Zantvoort
1

votes
0

answer
332

Views

Sharepoint version history in document via vba?

Here is my problem: Duplicate versions I checked the version history on the Sharepoint site and it doesn't show any duplicates. Here is the code im using: Sub versionhistory() ' ' versionhistory Macro On Error Resume Next ' On Error GoTo message Dim dlvVersions As Office.DocumentLibraryVersions Dim...
nmergulh
1

votes
1

answer
1.1k

Views

Displaying Column Description on Hover

I would like to display the column description of my sharepoint list when the user hovers the mouse over the column header. Currently there is no out of the box solution for this and I followed this guide. However this guide does not work for SharePoint 2013. Any help or direction would be helpful!...
Dylan Castanhinha
1

votes
1

answer
46

Views

How to upload encoded metadata to sharepoint using ValidateUpdateListItem method?

I am trying to upload metadata to SharePoint server using ValidateUpdateListItem method. In this method, value of bNewDocumentUpdate is true to avoid creating a new version for the uploaded file. The name of metadata which has to be updated, is 'cc1'. When i fetch metadata information, the name of m...
Krishna Gond
1

votes
2

answer
461

Views

How to upload files from my directory into SharePoint

I am trying to upload all items from a directory on my computer into a SharePoint site. Is it possible to create a script that will perform this task?
linktheory
1

votes
1

answer
95

Views

Paging in SharePoint with SPSiteDataQuery

I'm attempting to write a WebPart for SharePoint that will display a list of the most recent uploads and modifications to the Site (including all Document Lists) To that end I have created an SPGridView and I am using an SPSiteDataQuery to populate that with my (customisable) selected Lists. I'm awa...
J.C
1

votes
0

answer
36

Views

Sharepoint modal window not shown when no permissions to at least one in the library

I have a sharepoint 2013 farm solution with event receiver on Item Added (synchronously triggered) and when user uploads a file: permissions are broken, deleted and added again. There are 3 groups: Visible, Edit and Hidden. When file is added as Edit or Visible group everything works fine, permiss...
Adam_Szerszen
1

votes
0

answer
87

Views

Error OData Source SQL Server 2016

I'm using SQL Server 2016 with SharePoint 2013. I'm trying to access to SharePoint List. I use the OData Source in my Package. The connection works succefully and I can preview (with the Preview button) data from the list. But, when I try to execute it got an error : Error: La connexion « Connexi...
Sara
1

votes
1

answer
86

Views

SharePoint Online LookUp field PATCH call

The problem I am having is when I make a PATCH call to the SharePoint LookUp field. Every time I make the call all the Id´s already in the multivalue lookup column gets overwritten. My temporary fix is to retrieve all Id´s in the LookUp field and then add the new Id to the array that contains all...
AllramEst
1

votes
5

answer
630

Views

access Sharepoint document library items from provider-hosted app

So I'm trying to access files from a Sharepoint document library in C#. My app is a provider-hosted Sharepoint app. I seem to be able to access the library, but not the library's items. Here is how I get my context in the controller: var spContext = SharePointContextProvider.Current.GetSharePointCon...
themaksmw
1

votes
1

answer
83

Views

Office 365: Graph API and Office Graph

I have a question about SharePoint Online, Office Graph and Graph API. Today, the Office Graph option is deactivated in my tenant (SharePoint admin center > Settings and under Office Graph, 'Don’t allow access to the Office Graph' option is selected) for security reasons. I would like to know if i...
1

votes
1

answer
187

Views

Registering an application for the Microsoft Graph API in the German National Cloud

I have successfully registered my application for graph.microsoft.com, but now it also needs to work with graph.cloudapi.de. The Application Registration Portal does not seem to be the correct one for the German National Cloud. Moreover, applications registered in portal.microsoftazure.de only work...
superflexible
1

votes
0

answer
241

Views

Is it possible to merge team members calendars in Office 365 Sharepoint

In Office 365, I understand that users can use Sharepoint for sharing the team members calendars (as the below videos show). My question is: is it possible that each team member could update / import their own calendar into this shared team calendar to make it as a merged calendar to provide the tr...
Lavande
1

votes
0

answer
23

Views

SharePoint 2013 : greyed a child form

I work with SharePoint 2013. I have a list which contains 'cars' and each listitem corresponds to a car. In this list, when I click on an item to show its fields it opens in the dispForm.aspx. In the dispForm, I have an 'History' button to open a second pop-up/frame to show the modifications that we...
Rémi Wan kenobi
1

votes
0

answer
204

Views

How to provision a site collection using Sharepoint framework and sp-pnp-js or pnpjs?

I just created my first SharePoint Framework web part after a lot of sweating. I was able to deploy the pnp partner pack to Azure and from there I created a SharePoint site from a template. Now my question is, how can I reproduce the same Site provisioning functionality that the pnp partner pack is...
Burre Ifort
1

votes
1

answer
206

Views

Using same React component in a SharePoint webpart

I am building a react component. Index .html looks like: Index.js looks like this: render( , document.getElementById('**app1**') ); Now, I have a content editor webpart on sharepoint and I refer to this index.html file. Next, I want to add another content editor referring to same html file, but on...
Neha Wahi
1

votes
1

answer
1.4k

Views

WebDav URL for onedrive for 3rd Party Connection

I am trying to find the WebDAV address to my onedrive folder for a 3rd party application. Where should I look? My url is something like this. https://COMPANYNAME-my.sharepoint.com/personal/NAME_COMPANYNAME_com/_layouts/15/onedrive.aspx . As per the Moderator of Microsoft, 'Getting the WebDAV URL fo...
GameBuilder
1

votes
0

answer
119

Views

Sharepoint 2013 Assertion Failed

When I try to open Properties section of a list in Sharepoint 2013, if I'm using Firefox, I get this MessageBox: 'Assertion Failed: Couldn't find hard bounding box. Did someone override the 'overflow' property on the document body? Break into debugger?' If I answer 'No', it works perfectly. But I d...
Imrik
1

votes
1

answer
449

Views

sharepoint get navigation nodes as appear in top navigation bar programmatically

I need to get navigation nodes as appear in top navigation bar programmatically in SharePoint 2013 publishing site I did search for that and i got it with code bellow but its give me hidden item and I dint want to get hidden ones so how to get items exclude hidden items (If I use node.IsVisible in...
Alep
1

votes
1

answer
207

Views

Consume protected web service from Infopath form in SharePoint online (Office 365)

we are trying to consume a protected internal web service from Infopath form by creating a Data connection, i am able create the connection as it prompts me to enter my windows credentials while creating the connection. However after publishing the form, when calling the webservice through a button...
chuck
1

votes
2

answer
263

Views

Dynamics CRM with Sharepoint integration issue

We've set up the Sharepoint integration for our Dynamics 365 online instance. It works fine. On the document management tab I've chosen 16 entities to have sharepoint integration. The wizard does it's work and it claims that 16 folders have been created. In truth, only 15 have been created. When I...
Sparhawk
1

votes
0

answer
557

Views

SharePoint Online - What are the implications of disabling the - “Limited-access user permission lockdown mode”?

We have restricted user access to various libraries on our SharePoint online site, including the Pages library. The SharePoint site is open to only few users whereas the Pages library is open to a more broader set of audience. Users who have access to just the Pages library, but not to the site, can...
NRD

View additional questions