Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sharepoint-online]

for questions completely specific to the MS-provided SharePoint Cloud Service (Office 365's SharePoint Online/BPOS)

10
votes
0answers
535 views

Bundle SharePoint JavaScript files inside SharePoint hosted app

We have a SharePoint hosted app. This app require some scripts from SharePoint; MicrosoftAjax.js, init.js, sp.runtime.js, sp.js, sp.taxonomy.js and sp.workflowservices.js. We load all these from /...
8
votes
0answers
409 views

Design Package import SharePoint 2013 using App Installed event CSOM

In SP2013, I am trying to import and export the design package from one site to other site using AppInstalled event using CSOM. I am not able to get the context of source site to import the design ...
7
votes
0answers
125 views

How do I retrieve the SharePoint Modern site's classification property via search REST APIs?

I am creating a rollup of Modern team and communication sites that are provisioned in my tenant by creating one SPFx webpart which retrieves the site's title, URL, logo and some other properties using ...
7
votes
0answers
3k views

How to stop a SharePoint workflow using JSOM

Let me preface by saying that I'm a relative newbie to this SharePoint stuff and am still fumbling my way around a bit learning from code examples where necessary. That being said, I have no issue ...
7
votes
0answers
516 views

SharePoint 2013 Auto-hosted App intermittent error — “There was a problem registering the app principal”

I am trying to handle the App events and I am getting one weird intermittent error related to app principal. When I try to deploy the Auto-Hosted App from visual studio, Sometime I am getting the ...
6
votes
0answers
654 views

REST API to get Frequent Sharepoint Sites programmatically?

Sharepoint Online offers a view of the frequent sites of the current user. It is available in the home page of the "My Site" of the user. I'm asking if there is a REST API (or something like) to get ...
6
votes
0answers
822 views

Can I display Exchange Online Calendar in SharePoint Online at present?

I am already aware that this question is already asked multiple times on this site but almost all are for SharePoint Server. And I found one for SharePoint Online but this talks about custom ...
6
votes
0answers
759 views

SharePointContextProvider.Current.GetSharePointContext(Context) returns null on postback - provider hosted app

I have a provider hosted app hosted on Azure and installed in SharePoint Online (Office 365). While testing the app, I found a strange issue, where if the page remains idle for around 10 mins and then ...
5
votes
0answers
161 views

New Communication site Template supports Multilingual Content

we have a requirement to use new Communication Site template and build a web site, but it should be multilingual. Since new Communication site look and feel and responsiveness suit to my client ...
5
votes
0answers
129 views

SPFX Getting Sharepoint Online Modern Page ListItem Icon Programatically

I'm trying to get Modern Page ListItem icon path for some implementation. I understand that for SharePoint OnPrem / Online Classic, it will be located under /_layouts/15/images/<<icon_filename&...
5
votes
0answers
299 views

SPFx Extensions - popup “loading debug scripts” does not appear in a list

I built the application as described in this tutorial The popup appears on the site, but does not appear in the list of this site. Did anyone have a problem of this type? This path works: /sites/...
5
votes
0answers
210 views

How I can get authentication token from SharePoint Online and create event in Outlook 365 calendar without navigating to login window?

I have to create an calendar event in Outlook 365 from SharePoint Online. I know that I can achieve this using https://graph.microsoft.com/v1.0/me/events call in Microsoft Graph API. The only problem ...
5
votes
0answers
592 views

SharePoint Online list view threshold error in a lookup column

I am facing an issue with lookup column in the list forms due to list view threshold limit (5000 items). The parent list is having more than 5000 items. Hence the lookup field is not getting ...
5
votes
0answers
169 views

Office ui fabric react not working with SharePoint hosted app!

I have created SharePoint hosted app using VS2015, and in that i have used Office ui fabric react components. I have installed it and other packages of React and React-dom using npm, App is ...
5
votes
0answers
217 views

SPOnline, How to Batch RELATED REST calls (and increase performance)

Doing nothing fancy, just your normal Intranet Front-Page Got two WebComponents that display a News Carousel and Summary List <news extract="newsheadlines" display="carousel"> <news ...
5
votes
0answers
173 views

Empty result set with Folders SharePoint Online REST api with throttling

I am using the folders REST api with SharePoint Online to return subfolders for a folder: /_api/web/GetFolderByServerRelativeUrl('folderServerRelativeUrl')/folders. This works great until the number ...
4
votes
0answers
79 views

SharePoint Claims Authentication Unable to Create Security Token

I am troubleshooting SharePoint 2016 on Windows Server 2016, Security Token Service via this guide Similar Warning is generated in Event Viewer every minute: Security Token Service timed out [...
4
votes
0answers
45 views

How do I change the favicon in the Modern UI in SharePoint Online

My current scenario - Classic view shows favicon which I have changed in my custom master page which is my brand logo which is working fine. but if I exit classic view it change the favicon to ...
4
votes
0answers
38 views

Is it possible to include fields in a sharepoint list directly from elements.xml file?

I am trying to provision a SharePoint 2013 tasks list from a spfx app using the feature framework. I am able to create an out of the box tasks list with the following list definition in my elements....
4
votes
0answers
68 views

Cannot deploy Sharepoint Solution

On my Development Tenant used for 1 year, I have problems with the deployment of my SharePoint AddIn Hosted Apps: No error when creating the package of the application to deploy (in Visual Studio) ...
4
votes
0answers
330 views

How to provision the custom list form using PnP Provisioning Engine?

I am following this article for provisioning Sites for SharePoint Online through console application. Now, In the base site, I have created the custom list and a new custom list form for the list. I ...
4
votes
0answers
167 views

SPFastDeploy “Error deploying to SP App” SharePoint Online

Is there a way how to find out why SPFastDeploy fails to upload files? If I create new project it works without problems, only in my older one there are issues. SharePoint Online Waiting on ...
4
votes
0answers
106 views

Start a 2010 Reusable Workflow from a 2013 Reusable Workflow

This seems to be easily done in a one list scenario with list workflows, as they are meant to run on just one list, but what if I want to start a reusable 2010 workflow from a reusable 2013 workflow? ...
4
votes
0answers
99 views

Associating SharePoint Online Reusable workflows to Library programmatically

I have around 30 libraries that will use the same set of 50 reusable workflows. The method I found online as described in this link would require assigning 50 workflows to 30 libraries manually one by ...
4
votes
0answers
373 views

Microsoft Graph: Get preview image

I created a SharePoint-Add-In (provider hosted) which serves as a proxy for retrieving information from Microsoft Graph. From the client I issue AJAX requests to my MVC-based web service which in turn ...
4
votes
0answers
74 views

How to provision “Content types” in SharePoint online

Short version How do I provision Content Types and Site defs in Sharepoint online, onto my host web? I would prefer reusing existing content type definitions Long version We are migrating a fairly ...
4
votes
0answers
89 views

SharePoint Online JSOM Problems adding new item with Managed Metadata field

Hoping someone might be able to shed some light on a problem I'm having adding new items to a SharePoint Online list, using JSOM? I have modified some code I found here on stack exchange, the code ...
4
votes
0answers
208 views

What are _spPageContextInfo.fid and _spPageContextInfo.nid in SharePoint 365?

I am getting values as shown below while executing _spPageContextInfo.fid and _spPageContextInfo.nid in the console in my SharePont 365 site but am not getting for what these values are used here. ...
4
votes
0answers
30 views

profile image of O365: best place to upload it or no difference?

In all places where I had sharepoint on premise, the upload image in skype and outlook was disabled and the only entry point was SP, with that element mapped back to AD. In the O365 (in a hybrid ...
4
votes
0answers
123 views

Granting Library permissions to external users using REST API

Is there a possibility of inviting external users by e-mail and granting them collaborate permissions using the SharePoint REST API? (See the picture for reference) I have successfully managed to stop ...
4
votes
0answers
708 views

Unable to update taxonomy field value using REST API or JSOM

I'm not able to modify taxonomy field values with REST API or JSOM for a specific library. My code works on other lists, but not on this particular library, what can the problem be? The library has > ...
4
votes
0answers
1k views

Modern pages layout

In my regular team site the home.aspx page is not updated to modern automatically. But if I create a new modern page it gets a large header field with the page name (see below). Quite ugly indeed. Is ...
4
votes
0answers
154 views

Unique & Linkable Document ID Across SharePoint Farm

We have a requirement to link directly to documents across the SharePoint Farm. Currently links are based on document name & document ids are only unique within the site collection. We have ...
4
votes
0answers
121 views

Rest API Data filter from Lookup column by current user and show in dropdown

I want to show data in lookup column. from a list which contains lookup column and Username and another list which contains lookup value. Example: List1 contains Text column value and List2 ...
4
votes
0answers
399 views

SharePoint Online Ribbon Custom Action : Pass multiple itemId in CommandAction's Url

I am developing custom ribbon action using SharePoint hosted app. and this is working fine.When i select any list item and click on custom action then i can get selected list item id. <...
4
votes
0answers
1k views

Open in explorer not working in ie 11 with O365

I am getting the below error, when using Open with Explorer option in my O365 site. We’re having trouble opening this library in File Explorer. Syncing this >library will give you a better ...
4
votes
0answers
2k views

Building an employee directory in SharePoint Online

I've spent the better part of a day trying to build an Employee Directory in SP Online. I am able to pull a list of users using the Search Results Web Part and the query text contentclass=spspeople ...
4
votes
0answers
361 views

Create a web part connection via client API

Is there any way to create a web part connection by using client API e.g. JSOM, CSOM, REST, or ASMX-services in SharePoint Online?
4
votes
0answers
680 views

Replicate AllItems.aspx inline edit in custom page layout

I am attempting to replicate the inline editing features found in the allitems.aspx page in a custom page layout. For whatever reason the "new" and "edit" list options don't seem to be showing up. ...
3
votes
0answers
21 views

Add search on refinement webpart

I have a webpart code in Sharepoint Online that shows me a refinement. My problem is that i want to add a search bar in the refiner, like the photo below. My code is: <webParts> <webPart ...
3
votes
0answers
30 views

How to trigger same microsoft flow for different document libraries

I have several Document libraries in which whenever a file is uploaded into a document library flow should be triggered.So is it possible to trigger the document library on a single flow instead of a ...
3
votes
0answers
127 views

Microsoft Flow column lookup still failing

I have an InfoPath form on which workflows via MS Flow were working nicely until I added more lookup columns (namely, People Picker fields). I did the prescribed workaround in Flow - choosing a view ...
3
votes
0answers
26 views

Can workflow update the list columns of an item that has item level permission(Read Nothing/ None)

I have SharePoint list called 'Onboarding Particulars' that contains items belonging to different departments. Mr. 'A' in the company head office(full control permission on the site) creates an item ...
3
votes
0answers
177 views

Accessing Graph API from a SharePoint web part without an additional authentication

I am creating a webpart for SharePoint Online which accesse the user's calendar through the Microsoft Graph API. In order to get the access_token, my webpart needs to open a new browser window where ...
3
votes
0answers
35 views

SharePoint wehbooks on Modern Pages library

I've a webhook on a Pages library which contains modern pages. While editing the modern page due to the auto-save feature, SP continuously sends notification to my endpoint. This results in too many ...
3
votes
0answers
128 views

SP Online: Can you map a crawled property to a refinable managed property using export/import or PowerShell?

We have a SPFx solution and a requirement for which we need to map a crawled property to a RefinableDateXX managed property. We would like to ensure the proper search schema upon deployment, even if ...
3
votes
0answers
584 views

Sharepoint Online Rest api 403 forbidden

Trying to build an external c# web app that pulls information from SharePoint online using the rest api. rest call: https://mysite.sharepoint.com/sites/mySubsite/_api/web/lists/GetByTitle('My Repo')/...
3
votes
0answers
93 views

AAD registered Azure Functions + GraphAPI + SharePoint Online?

If my Azure function app and SPO are registered in the same AAD can GraphAPI Delegated be used to write to SPO Lists as the calling user without additional authentication libraries or steps? White ...
3
votes
0answers
61 views

SharePoint Online - Made AD Security Group Owner of All Group Sites but Still no Access

I ran a PS script from this site - https://techcommunity.microsoft.com/t5/SharePoint/O365-Global-Admin-has-no-access-to-recent-SharePoint-Online-site/td-p/30031 It made a AD Security group an owner ...
3
votes
0answers
58 views

Optional Field in SharePoint Online Doesn't Allow Blanks

First time coming over to the SharePoint area here. I'm experiencing an issue with our company's team site. We've set up custom managed metadata fields which use a closed term set. Changes cannot be ...