Questions tagged [sharepoint]

1

votes
0

answer
3

Views

UnknownError from Graph API when accessing Sharepoint documents

I have a multitenant app where multiple tenants at random gets a non-helpfull error 'UnknownError', when accessing the sharepoint documents through Graph API. This happens when listing files in a folder, uploading files, either directly or chunked, or getting file content. I will list some request i...
BoKDamgaard
1

votes
0

answer
14

Views

SharePoint Online: Issues when try to connect to .Net Core API secured with Azure AD using AadHttpClient from SharePoint app

SPFx | SharePoint Online Hello, I have a custom .Net core API uploaded to Azure. I need to connect the secure Azure AD API with the SharePoint client-side web parts (using SharePoint framework v 1.7). To connect to Azure AD I use AadHttpClient. I receive the following error when opening API manageme...
user11237240
1

votes
2

answer
400

Views

Sharepoint 2010 List adaptor for SSIS 2016

Background Migraing from SSIS 2012 to 2016. Connecting to an exisint Sharepoint 2010 site. Using SSDT for VS15. In SSIS 2012 project, we used SharepointlistAdapters from CodePlex. Problem: When loading 'old' project, I get the error that the Sharepoint.conmgr failed to run. Question Is there a ne...
Esperanza
0

votes
1

answer
19

Views

Javascript: How may I call a function of an external website?

I would like to write a simple script to open a Website and call a function that is part of a linked .js-file. To be more precise, I want to open a SharePoint, invoke the function that is used to open the folder in windows explorer and close the website again. For some reason, I may not open the fol...
GuidoT
0

votes
0

answer
3

Views

BizTalk 2016 SharePoint Adapter - Force Use of Port 443

I'm trying to integrate a BizTalk 2016 FP3 application with a SharePoint 2013 site that is available only over port 443 / https. I would like to use a dynamic send port, the new(ish) adapter and the CSOM. I have an orchestration with a logical one-way send port called 'SendToSp'. Within the orchestr...
Rob Bowman
0

votes
0

answer
2

Views

Is there a way to combine multiple pnp provisioning xml into one?

I have multiple Provisining XML that i want to combine into one file. This is to make an better structure. For example i have one xml that creates a sharepoint lists. File Name.xml How do i put this file into another xml. I tried to do the following but dosent work. Main.xml
TimHaka
1

votes
1

answer
2.1k

Views

Access all the fields in a Lists using powershell,SharePoint and csom

I am trying to retrieve all the items in my list and for each item display the Title of the item,ID and created fields on the console. Also when I do a get-member on the Items collection I don't see all the fields in the list (not even the title field, only the ID and some other fields that I don't...
Ogbobe Buko
0

votes
0

answer
2

Views

Problems calling SharePoint Document Library upload form with custom button

I'm trying to create a link (not actually a button, but styled as a button) that calls up the Upload.aspx for a document library but I'm running into issues once Upload.aspx loads. The main issue is that the Cancel button is non-functional. I can upload select a file and upload it (and this works),...
Eric D.
0

votes
0

answer
4

Views

How to import data from XLSX file hosted on SharePoint Online (not lists)?

TL;DR: I'm looking for the equivalent of Excel 2019's Get Data > From File > From Workbook functionality, but where 'workbook' is hosted on SharePoint online. This seems so simple but yet after hours of searching I cannot find anything remotely close. This question does not relate to SharePoint Lis...
EvilDr
0

votes
0

answer
3

Views

How to Crawl the Metadata for SharePoint Using RESTAPI Inside the Pages

enter image description here enter image description here enter image description here Screenshots are Attached and highlighted with this Questions. I need to Crawl the metadata for all using Sharepoint RESTAPI approach. For Example : A --- adminstration review --- Ad Hoc etc.., B --- Backup --- Ban...
Anandhan
0

votes
0

answer
6

Views

How to pop-up list form before download file in sharepoint

I have a file uploaded in SharePoint library, and I have SharePoint list with email field, what I need is: when the user clicks the link to download, a form will poped up (the SharePoint list) to fill the email. once he completed the form. the data will be saved to the list, and redirect the user to...
user1581527
0

votes
0

answer
3

Views

SharePoint Group Cannot Be Found error when retrieving SPListItem

Error log captured the error Group Cannot Be Found at this part of the code. private void GetTreeView(PRDConfig.System SelectedSystem = PRDConfig.System.PRD) { try { using (SPMonitoredScope scope = new SPMonitoredScope('[{0}]{1}'.FormatWith(Location, System.Reflection.MethodBase.GetCurrentMethod().N...
gymcode
1

votes
3

answer
942

Views

From where to use TokenHelper class for client context in SharePoint Online?

I have been reading several articles to get SharePoint Online client context with the generated access token. All of them use TokenHelper class to get the client context as shown below: ClientContext clientContext = TokenHelper.GetClientContextWithAccessToken(targetWeb, AccessToken); My question is...
Saket
0

votes
0

answer
2

Views

JavaScript in SharePoint works in Internet Explorer and not Chrome

I have code from this post to set a people picker field in a SharePoint form to be the current user. It used to work in both ie and chrome, but now it only works in ie. Is there a change I can make to make it work in both or another way to accomplish the same goal that works in both?I have this code...
user10348094
1

votes
2

answer
1.4k

Views

Updating SPFile properties using SPFile.Update()

I'm trying to update SPFile properties. Here is my code: using (SPSite oSite = new SPSite(sFileURL)) { using (SPWeb oWeb = oSite.OpenWeb()) { oWeb.AllowUnsafeUpdates = true; oFile = oWeb.GetFile(sFileURL); foreach (XmlNode xNode in oXmlDoc.FirstChild.ChildNodes) { oFile.Item.Properties[xNode.Name]...
Guid2015
1

votes
1

answer
261

Views

Inconsistent DateTime conversion behaviour in .NET Web Service

Problem I've a Windows app syncs with the Server using SharePoint hosted Web Services. When the app syncs to the server using LAN (goes through an internal Proxy server) all the DateTime formats are in dd/MM/yyyy format (which is how it is intended to be) However, when the app syncs over 4G,all Date...
Sugesh
1

votes
3

answer
219

Views

Prevent author from sharing Share point document

I have a team site in Office 365, which contains some folders in the document list. Those folders have various types of documents like word, excel or presentation. Requirement is to restrict the author from sharing the file with anyone. So user can edit/modify the document but should not be able to...
PM.
1

votes
1

answer
1.4k

Views

Updating multiple records with CAML/jQuery to Sharepoint (Batch updating)

I am trying to update multiple records in Share Point using jQuery and CAML. I can update a single record easily with this code but for this project, I need to update 20 Products at a time. I suppose I could loop and call this function 20 times, but I figure there must be a more elegant solution tha...
JimC
1

votes
1

answer
232

Views

How to correctly query xml fragment with xPath and XmlNamespaceManager

Given the following fragment from SharePoint How might I get the value 234 from the ows_ID attribute? I've tried quite a few ways, and below is the latest attempt [TestMethod] public void TestMethod6() { var xml = File.ReadAllText('OfficeQuery-Sharepoint.xml'); XmlDocument doc = new XmlDocument(); d...
Stephen Patten
1

votes
1

answer
1.3k

Views

Unable to create subsite with team site template in sharepoint 2013

I am working on sharepoint 2013.I have a created a site collection using sharepoint central administration. I have the admin access to the site collection and its subsite features.When i am trying to create a subsite under that site collection (where i selected the Team Site template), then i got an...
Aju Mon
1

votes
1

answer
135

Views

Deployed Access Web App connection string

I have an Access Web App that I created in Access 2013 and deployed on a sharepoint 365 online site. When I developed the web app, I could access the connection strings using Access 2013, but after I deployed it as an app on a different site, I no longer have access to the connection string. I've de...
Ashraf Abrahams
1

votes
2

answer
1.5k

Views

Retrieve two lists, sort and compare values, then display all the results

I have two lists in SharePoint 2013 Online. I need to get matching values for a user-entered key (string), sort, and display both lists as one. Easy enough if I were able to use SQL to create a view. Best solution seems to be to just display both lists. I've tried using SPD Linked Sources, but the...
Terri
1

votes
2

answer
1.1k

Views

Accessing Office Graph apis with Sharepoint Online login?

We've been running an Angular app in a custom masterpage during the last year, using the Sharepoint REST api to retrieve user properties, data from lists etc., which has been working fine. As the application is hosted on Sharepoint Online, accessing the page requires a login thus making the request...
Jonas Eriksson
1

votes
1

answer
44

Views

Is there a way to delete a webpart using powershell but not using title property in the condition?

I've created a powershell script to delete a webpart, It is working but is there another way to delete a webpart without using the title property in the condition? I have a scenario wherein a certain user changed the title of the webpart so if the tool is run on that site it will not delete the webp...
Wanh Tris
1

votes
1

answer
2.7k

Views

SharePoint - Display Templates - Accessing the Client Context Object

So I'm creating display templates for SharePoint and I'm having trouble getting the context as I'll need it for accessing different lists and their items, etc. One way to do it that I've seen while searching is this: var context = Srch.ScriptApplicationManager.get_clientRuntimeContext(); The proble...
LaLaLottie
1

votes
3

answer
866

Views

Scrape Table Data and convert to an Unordered List with jQuery

I have a Sharepoint webpart that cannot be customized - it generates a massive nest of tables before getting to the actual data table. I want to use jQuery to scrape the data from each cell and add it to a list item using spans with classes in order to style it as its not really tabular data but tha...
user3779703
1

votes
1

answer
10

Views

Why are there no hyper links to the PDF's in the docuent library?

I have a SharePoint document library with PDFs that I can select and click the download button to download, but they are no hyperlinks. There is another library on the site with hyperlinked documents but I can't see why these work and the other ones don't. What sm I missing?
BBDev
1

votes
2

answer
1.3k

Views

The server does not allow messages larger than 5242880 bytes

Elmah has recently reported this bug; Microsoft.SharePoint.Client.ServerException: The request message is too big. The server does not allow messages larger than 5242880 bytes. The code where it fell over was; public SharepointFileInfo Save(byte[] file, string fileName) { using (var context = new Cl...
arame3333
1

votes
1

answer
511

Views

Is it possible for DSC to deal with the creation and advanced configuration of Virtual Machines?

I'm trying to create a configuration, using PowerShell DSC, that would help me create a SharePoint farm using Virtual Machines. Assuming that I have a Windows 10 machine with Hyper-V installed I would like my configuration script to create the required VMs, for example DC, SPA1, SPw1, SPW2 and SPDB1...
Andy Cox
1

votes
2

answer
1.1k

Views

“Calculated columns cannot contain volatile functions like Today and Me” error message on Sharepoint

I try to add a new calculated column to sharepoint list that will show elapsed day. I enter name and write a formula like; =ABS(ROUND(Today-Created;0)) The data type returned from this formula is: Single line of text When I want to save I get an error like Calculated columns cannot contain volatile...
Furkan Ekinci
1

votes
1

answer
606

Views

How to provision Branding files using SharePoint Hosted App in SharePoint Online/Office 365?

I am looking for SharePoint Hosted App Solution which will provision Branding files (JS/CSS/Images) into SharePoint Online/Office 365 environment. I got a very good article to achive this and tried to implement the same as shown in below link: http://www.sharepointnutsandbolts.com/2013/05/sp2013-hos...
Hemant Kabra
1

votes
1

answer
1.2k

Views

Invalid absolute path error when parameterising Excel path on SharePoint site in Power Query

I have a valid, working, absolute path to an Excel file on a SharePoint site (e.g. 'https://.../Filename.xlsx'), denoted by 'FilePath'. I try to import some information from 'FilePath' via Power Query. Using let Source = Excel.Workbook(Web.Contents('FilePath'), null, true), works fine. However, if I...
bugfoot
1

votes
1

answer
1.6k

Views

How to download a file from Sharepoint Online using an access token

I know this has been asked quite a few times already, but I have not been able to find a working solution to my problem yet. Problem: I need to download a file from a Sharepoint Online site using a C# app using CSOM and a JWT token. When I come to the point where I call this method File.OpenBinaryDi...
VadimG
1

votes
1

answer
767

Views

Successful use of SP.SOD.executeOrDelayUntilEventNotified(func, eventName) in CSOM/JSOM?

I have used the SP.SOD.executeOrDelayUntilScriptLoaded(func, depScriptFileName) quite a bit in my JSOM (https://msdn.microsoft.com/en-us/library/ff411788(v=office.14).aspx). Has anybody out there used SP.SOD.executeOrDelayUntilEventNotified(func, eventName) (https://msdn.microsoft.com/en-us/library/...
Matt
1

votes
1

answer
692

Views

Kerberos double hop issue with ASP.NET web application to sharepoint

I need your help with a Kerberos double hop issue I have... After reading many posts online on the topic, I still cannot understand what is wrong is my setup. Here is the setup I use: Client PC Web server hosting a simple ASMX web service Web server hosting SharePoint 2013 see diagram All servers a...
TrustNo_1
1

votes
2

answer
49

Views

What's the most efficient way to build a URL from an object with an unknowable number of properties?

I'm trying to write a set of reusable functions to abstract a bunch of SharePoint's REST API web services which is probably unnecessary context but I always feel kind of weird framing these questions. Anyway. The endpoints all take parameters and I've decided to feed the operation that does the AJA...
ChrisPEditor
1

votes
2

answer
1.6k

Views

Sharepoint 2013 How to add properties to Document Set being created

I am using Sharepoint 2013 ECM to upload new document sets to a list programatically in VB.NET/C# I am successfully creating the document set, but can not find any documentation on how to add the properties/metadata to that uploaded document set. The Folder the document set will upload to already ha...
Cyassin
1

votes
2

answer
929

Views

SharePoint CAML Query - How to read MetaInfo field values programmatically?

I am using C# and SharePoint Client Object Model to query recursively across folders to get file properties in the collection returned. I successfully can read the value from the ListItemCollection by specifying the field name like this: listItem['Title'] but is there a way to read the individual v...
Emil
1

votes
2

answer
892

Views

How to Call Sharepoint Taxonomy in C#

I have the following bit of PowerShell, which returns a list of all the Departments stored in SharePoint's managed metadata : Add-PSSnapin Microsoft.Sharepoint.Powershell # Get the site collection $sitecollection = Get-SPSite 'http://mysharepointsite/' # Get the term store id $taxsession = Get-SPTa...
Bassie
1

votes
2

answer
680

Views

Upload a file by using the REST API and jQuery in SharePoint online

I am using the Code example 1: Upload a file across SharePoint domains by using the REST API and jQuery described at https://msdn.microsoft.com/en-us/library/office/dn769086.aspx. This is the code : 'use strict'; var appWebUrl, hostWebUrl; jQuery(document).ready(function () { // Check for FileRe...
user789897

View additional questions