Questions tagged [sharepoint-online]
for questions completely specific to the MS-provided SharePoint Cloud Service (Office 365's SharePoint Online/BPOS)
1,208
questions
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 ...
3
votes
2
answers
8k
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 ...
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.
5
votes
2
answers
34k
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,
...
1
vote
4
answers
15k
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 ...
9
votes
1
answer
43k
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 ...
8
votes
3
answers
80k
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?
9
votes
4
answers
48k
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 ...
16
votes
4
answers
35k
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 ?
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 ...
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 ...
5
votes
3
answers
38k
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 ...
31
votes
6
answers
136k
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/...
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 ...
7
votes
2
answers
41k
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 ...
5
votes
4
answers
6k
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 ...
22
votes
3
answers
108k
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 ...
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!
8
votes
2
answers
46k
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 ...
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 ...
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.
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 ...
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 ...
0
votes
1
answer
2k
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() ...
41
votes
6
answers
113k
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, ...
39
votes
5
answers
66k
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 ...
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 ...
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 ...
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
...
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?
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 ...
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 ...
8
votes
4
answers
28k
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 , ...
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.
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" ...
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 ...
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 ...
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 ...
3
votes
1
answer
5k
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 ...
3
votes
1
answer
1k
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 ...
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 ...
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....
0
votes
1
answer
2k
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 ...
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 ...
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
...
10
votes
9
answers
110k
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 ...
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?
8
votes
1
answer
3k
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 ...
8
votes
4
answers
6k
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: ...
7
votes
1
answer
28k
views
CAML Query - Going around the 5000 List Item Threshold
I have developed a SharePoint system for a client and I am planning forward with regards to CSOM code that runs on a specific library. This will eventually expand to a large set of data. Experience ...