Skip to main content

Questions tagged [sharepoint-online]

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

Filter by
Sorted by
Tagged with
44 votes
17 answers
34k views

June 13th 2017 Microsoft blocked handling HTML markup in SharePoint calculated fields - how to get the same functionality back

On June 13th 2017 all SharePoint calculated columns with HTML markup stopped working. Basically the fields now render text (regardless of setting the data type to number). The gist of the notice ...
user67867's user avatar
  • 441
19 votes
4 answers
18k views

Changing date format using javascript

I am getting date in 2015-10-30T05:00:00Z format from a SharePoint list using rest. Please help me to get the date in 2015-10-30 format using JavaScript.
KumarV's user avatar
  • 2,700
3 votes
2 answers
10k views

How can I include the same JS and CSS files on multiple SharePoint Modern Page?

I'm looking for a way to include JS and CSS files into a SharePoint Modern page, which can be done once across a number of pages. At the moment I've got the Script Editor web part to include my JS and ...
atomicharri's user avatar
1 vote
4 answers
16k views

How to color code a SharePoint list date field based on comparison with todays date?

I have a SharePoint list with a date column called 'Expiration Date' containing a date value. Using some JS code, I would like to first check if the date value equals to today and if so I would like ...
mdevm's user avatar
  • 1,255
5 votes
2 answers
38k views

Rest to read more than 5000 items from document library

Below is my code to read items from a document library. var url = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('DocumentList')/items?$select=customerID"; $.ajax({ url: url, ...
KumarV's user avatar
  • 2,700
9 votes
1 answer
44k views

Make a RESTful API Call to SharePoint Online from Console program

I knew how to make a RESTful API call to SharePoint 2013 OnLine from SharePoint APP (Provided-Host App). Like get List from Site. There are already many samples in here. Because the TokenHelper can ...
Joe.wang's user avatar
  • 407
8 votes
3 answers
82k views

Powershell to list all sites and subsites in SharePoint Online

I know about "Get-SPWebApplication" but it's not available in Online. How can I get a list of all sites and subsites in SPO?
vzion's user avatar
  • 81
0 votes
1 answer
3k views

Validation Column Not Working

I have a Validation Setting column which seems not to be working with the formula =RTW>=StartDate and I get error: 'Something went Wrong' However it works if I have the formula =RTW=>Today() ...
mtagliaferri's user avatar
9 votes
4 answers
51k views

How to get permission of a sharepoint list for a user using REST api

I have a requirement where i need to check the access permission of a user against a List or Library only using REST api from my remote salesforce app. Say for example, I have to send the list name ...
Vikas Kottari's user avatar
16 votes
4 answers
36k views

View uls logs for sharepoint online

I want to read ULS logs for my sharepoint online server. Is there any standard way of doing it ?
Ahmed Masud's user avatar
10 votes
4 answers
11k views

Break role inheritance and assign permissions to document with REST api?

I need to change the permissions of a document after the approval status has changed. I've to add the new user group to current document if the document has been approved. I have used following links ...
Ram's user avatar
  • 2,444
8 votes
1 answer
24k views

How to authenticate user in SharePoint online using javascript

I have a public site on Office 365 SharePoint Online. By default when user clicks on to sign in, it redirect to Microsoft login page. I don't want to redirect user to Microsoft login page. But ...
Mihir's user avatar
  • 1,546
5 votes
3 answers
39k 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 ...
gmallory's user avatar
33 votes
6 answers
146k views

SharePoint Online REST API Authentication In POSTMAN

I am trying to authenticate with the REST API for a list in SharePoint Online using POSTMAN. For example, the URL for my site looks something like this: https://mytenantname.sharepoint.com/sites/...
motionpotion's user avatar
  • 2,257
10 votes
1 answer
8k views

Add document preview to Document library form

I need to create form to enter metadata for newly uploaded document in document library in SharePoint Online. In that form user should be able to see preview of uploaded document. Actually, user ...
Roman Arshan's user avatar
7 votes
2 answers
42k views

Getting an ItemCount with filtering in SP2013 using REST api

I am attempting to return an integer (itemcount) of the items within a SP2013 list. I have done this easily using the stock standard json method. However I have a need of counting the splist items ...
geostima's user avatar
  • 175
6 votes
4 answers
7k views

What is the workaround for limit in nested if statements in sharepoint calculated column?

I have to create a list wherein when user inputs a data to a column the corresponding calculated column should take the data and analyze the condition and then return the value, but my SharePoint ...
Vish's user avatar
  • 81
22 votes
3 answers
109k views

SharePoint Online - Move Site and subsites into another site

I have a site called PROFILES that is one level down from the home site. This site contains about 40 subsites. I want to move the site and its 40 subsites into another site called RESOURCING which ...
finisterre's user avatar
18 votes
1 answer
8k views

Wait async query in PreSaveAction

Could you tell me, please, how can I wait for an async query to SharePoint list in PreSaveAction()? Is it possible? Thanks in advance!
Alexander Ulmaskulov's user avatar
8 votes
2 answers
48k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
Jake's user avatar
  • 582
6 votes
2 answers
5k views

Adding CSS Reference on Site Page

So I have created a Site Page that has the "New Experience" look and I would like to change its style a little. Nothing major, just the height, width, color, etc. However, I can not seem to figure it ...
Jacob Caldwell's user avatar
6 votes
2 answers
8k views

Export SharePoint online List all data to excel Programmatically using csom code

I want to export SharePoint Online List data programmatically using CSOM code in console application. Can anyone send me CSOM code for the same.
user57089's user avatar
3 votes
1 answer
7k views

SharePoint Online list - format group headers to remove column name

I have a SharePoint Online list that contains employee documents for each of our staff members. I keep it grouped by employee name which is great, but the word 'Employee:' before each name is really ...
Kat's user avatar
  • 33
2 votes
3 answers
3k views

Help with Dual Javascript countdown clock

I am having a little trouble figuring out how to make this work properly, I am trying to put a small countdown clock in the left column and one in the right column, which will show a countdown to two ...
JeffA's user avatar
  • 33
1 vote
3 answers
4k views

How to limit the number of entries/records to a maximum in a List

how to limit record of a list programmatically or configuration. When the user insert record in the list if this list has exceeded the maximum numbers of record allowed, the form of insert have to ...
Andres Williams's user avatar
41 votes
6 answers
117k views

List API get all items limited to 100 rows

When doing a GET call to the List API from JavaScript: "/_api/web/lists/GetByTitle('ListName')/items" the results returned are limited to 100 rows. Is there any way to return more rows in the result, ...
Jan Maximilian W. Kristiansen's user avatar
39 votes
5 answers
67k views

How to get List by Url using SharePoint 2013 CSOM

SharePoint 2013 CSOM API contains the following methods for accessing List object: ListCollection.GetById method - returns the list with the specified list identifier ListCollection.GetByTitle method ...
Vadim Gremyachev's user avatar
22 votes
10 answers
29k views

How can I disable the Document Library drag and drop function?

Before I start - I'm new to this SharePoint development lark and am slowly familiarising myself with it. We're using SharePoint online and I have amended the SharePoint out-of-the-box document ...
TonyR's user avatar
  • 341
16 votes
4 answers
10k views

Basic batched GET requests using REST API

I'm hunting around on the web right now for some basic (preferably working) examples of making a batch of GET requests using the new $batch endpoint in O365 with the REST API. I've located some good ...
John-M's user avatar
  • 5,940
14 votes
5 answers
20k views

How to Set Item Level Permission Using SharePoint Designer 2013 Work Flow?

Currently i'm trying to create a workflow in SharePoint 2013 workflow platform that sets item level permission, trying to set read item level permission to "XYZ" group in SharePoint 2013 workflow ...
Akshay Dattatray Nangare's user avatar
12 votes
3 answers
8k views

Site Assets vs. Style Library

I usually store my JavaScript/jQuery files in the Site Assets library, but I see on forums that others are using the Style Library. What are the respective benefits of each?
Christophe's user avatar
  • 5,301
9 votes
4 answers
47k views

How do you send emails to external email address in sharepoint online workflows

My client is using Office 365 and has SharePoint Online. Is there a way to send emails to external users or external email address using workflows? More Info: This is what happens when I try to ...
zingwing's user avatar
  • 779
8 votes
4 answers
22k views

Combine REST query "GetItems" action with OData $filter parameter

I'm able to call GetItems through REST by using an example by Erik C. Jordan. Now I'm trying to combine this with a simple OData $filter parameter. I have a REST query like this (jQuery on SharePoint ...
eirikb's user avatar
  • 7,415
8 votes
4 answers
29k views

Cascading Drop down in SharePoint Online

I'm trying to implement cascading drop down for list in SharePoint online I have 3 different list with name Countries , States, cities. and the master list Address in which I have Fields Country , ...
Akshay Dattatray Nangare's user avatar
7 votes
3 answers
15k views

How to query list with >5000 items in SharePoint Online?

I want to query a list in SharePoint Online which has >5000 items. How can I do it? Right now it is showing me thresh hold limit error when I am trying to query the list.
Ritesh Goswami's user avatar
5 votes
3 answers
25k views

How to update multiple items in sharepoint list online using javascript

I want to update 4 items in the same time in my SharePoint custom list using JavaScript. I am using a CAML query to get the item witch I want to update. Can anybody please help me and write a function ...
Sinan Kachachi's user avatar
5 votes
7 answers
11k views

Where is the "JS Link" property?

I have Office 365 Business plan, from SharePoint private root site collection. I need to use CSR files with my List views, but when I open the view web part properties, I can't find the "JS Link" ...
jobin's user avatar
  • 573
5 votes
1 answer
4k views

How to Get Lookup column using lookup column using REST API

I have one summery custom list in which I have lookup column of detail list. So I am retrieve all data from it using expand it. But in detail list I also have one lookup column of personal Detail ...
Vishal Thakkar's user avatar
4 votes
2 answers
19k views

Retrieve folders and sub folders from document library by REST call

I need to get a list of folders and sub folders from document library. I feel that approaching this problem using REST call would be easier than the traditional CSOM query. Please suggest a relevant ...
Mancy Desaee's user avatar
  • 1,807
3 votes
4 answers
2k views

Why does my Event Receiver (sandboxed) not work on Sharepoint Online, but works perfect on premise

using System; using System.Security.Permissions; using Microsoft.SharePoint; using Microsoft.SharePoint.Security; using Microsoft.SharePoint.Utilities; using Microsoft.SharePoint.Workflow; namespace ...
Kevin Simper's user avatar
3 votes
1 answer
2k views

Create content organizer rule in SharePoint Online using CSOM code

Records Center is one of my site collection on Office 365. I want to create some 100 odd Content organizer rule. Creating it manually does not make any sense. So I would want to automate this ...
Asad Refai's user avatar
  • 5,981
1 vote
4 answers
14k views

Retrieve all site collections

I want to retrieve all site collections in an Online tenant through Visual Studio: I can do it via Powershell: get-sposite on-premise server : Get-SPSite on-premise again: var sites = webapp.Sites....
grisha's user avatar
  • 2,435
0 votes
2 answers
825 views

How to have validation for calculated column

I am working on a calculated column that take value from other two different columns. The formula is as this: =IF([Detect-Rental/Lease]=1,IF([Detect-Rental/Lease Taxonomy]="Yes",TRUE,FALSE),TRUE) ...
Nas's user avatar
  • 59
0 votes
1 answer
3k views

Conditional Formatting in Calendar View is not showing a Column

I have a list that I was able to apply color coding to a person column - so in the calendar view you could see a different color depending on the person selected. I have created another list and I am ...
Kerry McIlwain's user avatar
13 votes
3 answers
6k views

When SharePoint list with 5000+ items queried with ID returns expected result but with any other column gives threshold error

I am trying to query a SharePoint list which has more than 5000 items. When I run filter query with ID, it returns the expected results. But when I run the same query with any other column it throws ...
Vainktesh Kumar's user avatar
10 votes
5 answers
13k views

Workflow getting Access denied when calling the rest webservice from subsite

i have following problem. I am using SP 2013 Online and i am trying to access some informations from the sub site, like http://[SPOnlineUrl]/SubSite/_api/web/title. But i will always get the annoying ...
Hobbes1312's user avatar
10 votes
9 answers
116k views

File:// hyperlink to a shared drive

I have a need to add a hyperlink in a wikipage to open a file in a shared drive. Uploading the file to SharePoint is not an option in this case (due to record compliance, intranet in SP now - document ...
Toni W's user avatar
  • 101
8 votes
1 answer
4k views

IsDlg=1 in Modern SharePoint

This is an issue that has bothered me for a while since migrating our organization to the Modern SharePoint UI in SharePoint Online. In Classic SharePoint pages - both on-prem and online - appending ...
A.k.A. Fritz's user avatar
  • 1,425
8 votes
4 answers
7k views

Filter Created in SP REST API

I have this code below: jQuery.ajax({ url: res3 + "/_api/web/lists('" + normlistid + "')/items('" + normid +"')?$select=ID,Title,Created,QuemLeu/Id&$expand=QuemLeu", method: ...
KmDroid's user avatar
  • 405
8 votes
2 answers
55k views

Manage Site Content and Structure in SharePoint 2013 Missing?

I am not able to locate Manage Site Content and Structure option on publishing sites in SP 2013. Is it removed?
PradeepNulu's user avatar

1
2 3 4 5
26