Stack Exchange Network

Stack Exchange network consists of 175 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)

0
votes
2answers
18 views

How to use SharePoint REST API to get newest list item?

I am trying to get the newest item added to a list. Get item by ID works for single item: $.ajax({ url: xurl + "/_api/web/lists('" + xlist + "')/items/getById(123)", type: "GET", headers: { "Accept"...
2
votes
2answers
2k views

SharePoint Online “Page Elements” style for Format Text missing

We are currently experiencing a really weird bug where the "Page Elements" is missing under the Font Styles under Format Text. Here is a screenshot: The weird thing is, it was working fine ever ...
0
votes
0answers
7 views

MSGraphClient post request

I am trying to do a post request via graph in a webpart - it keeps returning either fetch failed or 403. Can anyone please point in either a sample post request or how to fix Ive confirmed via graph ...
0
votes
3answers
21 views

How to catch null or undefined query string parameters in SharePoint?

Grabbing query string values is easy in SharePoint with some javascript... var xid = GetUrlKeyValue("ItemId", false, location.href); But what if ItemId didn't exist in certain instances, how can you ...
0
votes
0answers
9 views

Multiple content types in a library causes metadata problems on file upload

I defined Document Set content type “A” to contain custom site metadata (columns) 1, 2 and 3. I defined Document Set content type “B” to contain custom site metadata 4, 5 and 6. I created a document ...
1
vote
0answers
6 views

SPFX Webpart- “Error initializing application” after refreshing page

SPFX app is created and deployed tenant level. IF it is add to a page at site collection level (ex:https://text.sharepoint.com/sites/ABC) it is working perfectly. If it is added at subsite level (ex:...
0
votes
1answer
28 views

How do I refresh a ListItem or reload it from an URL

Problem: In the foreach below, I have 2 parts. Part 1 opens an excel File and modifies it Part 2 updates 3 of the ListItem fields Both parts work individually but with them both enabled, Part 2 ...
-1
votes
1answer
17 views

Sample Code snippet to copy list items from source list to destination list

we need to copy list items from source list to destination list, The following things has to be considered Source List is having around 17000 items. CSOM C# Approach should be used. Throttling ...
0
votes
0answers
6 views

Is it possible to add <WebPartPages:WebPartZone/> tag to display web part zone in a Client Web Part(Host Web) [on hold]

I am using sharepoint hosted add in to create custom web parts and my requirement is to add the inside Client Web Part(A template to create custom web parts in visual studio) pages
1
vote
1answer
18 views

@pnp/sp - send email function returns 404

Just wondering if I could get some help. I built a small webpart that sends an email. On my local workbench it works fine however when I deploy to production Error: Error making HttpClient request ...
2
votes
3answers
8k views

Using microsoft flow - sending email with attachment when specific field is modified in sharepoint

I have a sharepoint list which is for safety inductions. Currently when someone submits their safety induction they can choose Yes/No to which aspects of training have been covered and then once ...
1
vote
1answer
363 views

Cannot find module '@microsoft/gulp-core-build-serve'

I am getting following stack trace while executing gulp package-solution. I can't create package due to this error. >gulp package-solution { Error: Cannot find module '@microsoft/gulp-core-build-...
4
votes
2answers
86 views
+50

How to make a menu item that is not a link

We are looking at our navigation menu, and we'd like some items to have submenus, but not clickable. Here's an example structure: About Products Product 1 Product 2 Product 3 Contact In this ...
0
votes
1answer
15 views

How can I enable the Expand and Collapse(accordion) menu in the Current Navigation for a Classic Experience SharePoint Site (SharePoint Online)

I would like to enable the Expanding and Collapsing of the menu in the Current Navigation for a Classic Experience SharePoint Site. Is there any way to achieve this ?
0
votes
1answer
15 views

How to get all items in a view using REST API in android [on hold]

May be its sound silly but up to that i could not find any suitable solution to meet my requirement, can any one tell me how to call below API in android https://mysharepoint.sharepoint.com/sites/...
1
vote
1answer
8 views

How to Add User to Attendees Column in Sharepoint Calendar List with SharePointPlus Library

I'm very newless with Sharepoint... I'm trying developt an Add-In solution in Sharepoint Online and I'm using sharepoint Plus library. I want to add a user to Attendees column in a Calendar List, but ...
1
vote
1answer
1k views

The Ribbon Form Web Parts button is disabled

I have just purchased a office 365 business essentials subscription. Within the team site I need to modify the out of the box Edit Form for a new custom list. However, the Form Web Parts button from ...
0
votes
1answer
22 views

How to add an App ID to 'App Permissions'?

An app ID is present in 'http:///_layouts/15/AppPrincipals.aspx' but the same ID is missing from the SharePoint Catalog's 'App Permissions'. The app ID can also be seen under 'Site App permissions' ...
0
votes
2answers
591 views

Getting choices from choice field in Online using JSOM

I am trying to get all of the choices from a choice site column in SharePoint online. Using the following code I get to the success method but it errors out saying 'field' is undefined. I don't ...
0
votes
1answer
23 views

Delete folder with subfolder and files from SharePoint Online with a Macintosh

I have a sharepoint folder where I accidentally dropped a folder with a many subdirectories and files. I would like to delete it all by deleting the top level folder, however I keep getting an error ...
1
vote
2answers
30 views

Get current user's user group in SPFx WebPart

I wanted to get the current logged in user's group without pnp.js.
0
votes
2answers
33 views

How to pass and capture query string parameter to newform in modal dialog?

My modal dialog for newform is not capturing the query string value I'm trying to pass to it. Alert on main page confirms the qs value for XID is set correctly. var xid = GetUrlKeyValue("ID", ...
0
votes
2answers
887 views

Sharepoint Online modern UI: hide page components

I'm creating an external site for sharing documents with our customer. I have: Created an external site Added an external user to Site Member Users with "Collaborate" permission Set the document ...
0
votes
1answer
15 views

Problem adding a Site Script and Site Design at hub

We are trying to create a site design with SharePoint document library with folders and sub folders along with custom permissions. I know how to create a document library but not sure how can i create ...
4
votes
2answers
15k views

Exporting item list version history

Okay, here is what I'm able to do: Export a list from SharePoint to excel. View an individual item's version history within the online SharePoint. What I am trying to do is export this version ...
0
votes
0answers
9 views

Alerts not functioning correctly on modern pages in communication site

I have noticed while using the alerts on a Page library in a communication site that users (Readers) who can only see major versions (1.0, 2.0, 3.0) and set up to receive alerts when everything ...
0
votes
1answer
591 views

Reassign task in SharePoint 2013 using same workflow

I have a requirement to create a workflow with reassign feature. Example: I have a workflow with 10 tasks and second task is assign to abc group member and that member wants to reassign this task to ...
0
votes
0answers
21 views

Add current time from Flow to SharePoint formatting (SharePoint calendar date formatting)

I have site templates that have the custom property "publishing date" which uses the "calendar" data input, as seen in the below picture: I have made a Flow with the intention it should set the ...
0
votes
0answers
19 views

Acess SharePoint using Microsoft Graph SDK for Java without an access token

I am trying to connect my Java application to SharePoint. I am able to connect to it via Apache HttpClient using only UserName, Password and Site url without the need to register my app in AAD or any ...
0
votes
0answers
5 views

How to integrate SharePoint with Bing/Google Maps given Longitude and Latitude values

I have a SharePoint List that contains Longitude and Latitude values for cell towers. I tried using the new Location field in SharePoint Online, but this only works when you enter address data (i.e. ...
0
votes
0answers
12 views

Copying Text from SharePoint into another website not recognized

I was not able to find any answers based upon this one yet, but we have a few Enterprise Wiki pages that have items such as case numbers or Jira tags that need to be copyable and then searchable on ...
0
votes
1answer
23 views

Managed properties in search schema returns null

I have a custom news template in sitepages in a site collection which I do a "copy" and then publish whenever I want to make a new news article. However, these news articles managed properties (...
0
votes
1answer
20 views

Force download of Word Document external shared link

I am working with a member of HR that is attempting to share a Word Document file with applicants. I have genereated them a externally shareable link and it works great for opening in Word Online. ...
1
vote
1answer
26 views

Read Error when saving a list as a template in SharePoint Online

I am trying to save a list as a template with data to copy it to other sites for testing. When I attempt to Save the List as a Template, either from the list settings in the web UI, or with the ...
2
votes
2answers
17 views

SharePoint Online getFileByServerRelativeUrl with Editor not working

I am trying to get the 'Editor/Name' using REST however this does not appear to be working. My current REST url is formed as follows: https://tenant.sharepoint.com/sites/sitecollection/_api/web/...
0
votes
1answer
15 views

How to change new item text and href for list web part?

I have a list web part on a page and want to change the text, and href, from the standard new item text to something custom. I can successfully get the (+) new item text with the following: var x = $...
0
votes
0answers
12 views

Provisioning list which uses content type from content type hub using Site Script SharePoint

We are using Site Script to provision SharePoint resources like lists, libraries, theme, adding site to hub etc. As we are creating lot of lists and libraries we need to use the content types. Our ...
1
vote
1answer
595 views

(When) does SharePoint Online in Office 365 use the Microsoft Upload Center?

When opening Office Documents from Office 365 it seems that the Microsoft Upload Center is not being used: I can open Word-documents from a document library and save them back without a problem, even ...
0
votes
0answers
22 views

Getting Sharepoint site users: e-mails and role

I would like to get a list of users/groups that have access to a Sharepoint site. In addition to the list of users and respective e-mails, I'd like to know what level of access the user has to the ...
1
vote
1answer
15 views

Shared tenant different header

AS-IS: There is a group of companies, every company (exclude one) have the same brand (same colors, names, ...), but this one company (our) have different brand (e.g. wecare, with different colors, .....
1
vote
0answers
18 views

SPO highlighted content on Site Pages library?

I have an SPO Communication site with three custom site columns (all Managed Metadata type) which are all in two separate custom content types. the site columns are mapped to RefinableString00, 01, ...
2
votes
1answer
15 views

“Save for later” for articles and publishing pages, where does it save?

I'm planning to make a custom web part that using the users articles/pages that they have "saved for later". However, I have no clue to WHERE to get this information, or where its stored. The "save ...
0
votes
0answers
9 views

MS Flow - Word file in attachment

I need some help with my flow. I want to add MS Word file in attachment of letter. How can I do that? By default I can add only .txt file in attachment of email. Thanks for attention.
1
vote
0answers
10 views

How to extract metadata from images in SharePoint Online

SharePoint Online used to automatically extract metadata when you uploaded an image into a picture or Asset Library. Microsoft has deprecated this feature and it is no longer available. When ...
3
votes
1answer
43 views

REST: Search results from communication sites aren't tenant wide

[edit] Narrowing the diagnostic: searchs results are incorrect wen call from communication sites [/edit] I'm working with SharePoint Online and I'm facing an issue regarding search results. I have ...
0
votes
0answers
19 views

How to show multiple images in a column of jquery datatable? [on hold]

I am using this code to return image: { "mData":"ImageName", render: function(mData) { var img = mData; return '<img src="'+v0+img+'" style=...
0
votes
1answer
19 views

SharePoint Custom List - Items Permissions

This might be slightly open questions so apologies in advance. I wanted to check if anyone is using 'folder' in the custom list to break inheritance in groups rather than individual items. I have a ...
0
votes
0answers
14 views

SharePoint Online remote event receiver - get binary of large file >5MB

I'm trying to open binary stream of a file when file is uploaded into document library by using Remote Event Receivers. It was able to work with small files (< 5MB), but does not work with file > ...
0
votes
0answers
15 views

How to compare two fields and highlight only changes

I have such a scenario: When Item is edited on the list an email is sent with information about changes. Current solution: We created an additional list called Archive that holds information only for ...
0
votes
0answers
17 views

Suggest me the best intranet portal provider using SPFx [on hold]

We are planning to launch an intranet for improved collaboration in 2 months. So, please suggest me the best provider.