Questions tagged [office-365]

Office 365 primarily denotes a set of subscription based software services that require monthly or periodic payment of fees to Microsoft Corporation.

Filter by
Sorted by
Tagged with
39
votes
7answers
92k views

How to use Today and Me in Calculated column

I want to use a combination of Today and Me in SharePoint 2013. I am trying it in Office 365 it gives me the below error Calculated columns cannot contain volatile functions like Today and Me. Can ...
10
votes
3answers
7k 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 ...
20
votes
3answers
58k views

Adding new list item using REST

I am currently using Office 365 and lots of REST queries to display data. However I am now creating my own forms using Bootstrap and jQuery. However, how do I use REST to add the data to the list? ...
4
votes
2answers
12k 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
3answers
8k views

Upload list item attachment using JSOM

I am trying to upload list item attachment using the below code. There is no error in the code and all the variables are present with proper values but in uploadFile method it goes to error handler ...
3
votes
1answer
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 ...
4
votes
2answers
855 views

How to trigger workflow from button in O365

I created a script editor webpart. I added a button which start a js function in the onClick event. I would like to start a workflow which is implemented on some list. Is this possible?
15
votes
2answers
4k 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 ...
18
votes
2answers
6k views

Backup Office 365 sharepoint site? (company.sharepoint.com)

Is it possible to synchronize or backup an Office 365 SharePoint site? The company I work for want to use Microsofts "cloud" SharePoint offering, but they wont go ahead if they can't back it up on ...
11
votes
4answers
2k views

CurrentUser.IsSiteAdmin should be true but returns false

Why does CurrentUser.IsSiteAdmin return false for a user that is listed in the site collection admin in SharePoint? I am building an Office 365 app that accesses SharePoint via the REST api. During ...
8
votes
11answers
35k views

Content Editor Web Part missing in Office 365 Dev

I set up an office 365 developer account and I;m trying to add a CEWP to the page. I can't find the CEWP anywhere. I've enabled publishing to see if that was the issue but it didn't help. Not sure ...
8
votes
1answer
659 views

How to Migrate from SP 2007 On-Premises to O365?

We have SharePoint site running on SP 2007 On-Premises and plan to migrate to O365. Shall we migrate directly from SP 2007 to O365 direct? If yes, Could you please list out various options available ...
4
votes
3answers
8k views

REST API page validation error for SharePoint app

I need to do insert operation to SharePoint list. Below is my code.. $.ajax({ url: appWebUrl + "/_api/SP.AppContextSite(@target)" + "/web/lists/getbytitle('NewList')/items?" + "@target='" + ...
4
votes
2answers
19k views

Change URL's address of SharePoint Online

I try to change the URL address from https://company.sharepoint.com - I using SharePoint Online (Office 365). Can Microsoft change this address? Or can I create address/record in my private domain, ...
20
votes
8answers
23k views

Customing the newform.aspx of a list using jslink in SharePoint 2013

How do I customise the newform.aspx of a list in SharePoint 2013 using JSLink? A lot of examples seem to be for customising list views. I can't find anything that explains how to customise the new ...
16
votes
1answer
14k views

How to develop a SharePoint Designer Workflow Action for use in SharePoint (2013) online

Over the past few years I have been developing custom workflow actions - for use in SharePoint Designer workflows - for SharePoint 2007, 2010 and 2013 (on-premise). See this example for the kind of ...
12
votes
2answers
60k views

Add permission to all authenticated users

I have a Site Collection in our SharePoint online tenant. I wanted to give Read permission for everybody in our organization. so in Site Permissions I Clicked on Grant Permissions and typed NT ...
3
votes
3answers
15k views

How to audit one specific list/library?

I thought this was simple: I went to list settings --> Information Management Policy Settings, clicked on "item", and on the "edit policy" screen I selected to "enable auditing" and then selected two ...
3
votes
2answers
5k views

How to authenticate to SharePoint Online (Office 365) using REST API when On-premise ADFS Sync to Office 365 cloud is enabled?

Many enterprises who use Sharepoint Online leverage the Office 365 integration with an on-premise ADFS. That way they can have the benefit of having Sharepoint on the cloud, but while being able to ...
11
votes
3answers
4k views

Set request access email address through CSOM

In the server side object model it's possible to set the request access email address through the property SPWeb.RequestAccessEmail (MSDN). Since we are moving our SharePoint tenant to Office365 I'm ...
4
votes
2answers
4k views

Office 365: Publish and deploy .app through PowerShell

Can we deploy a SharePoint hosted app in Office 365 (SharePoint online) using PowerShell? Like in SharePoint 2013 apps, we will import the .app file and then install it. Can this be done in Office ...
2
votes
2answers
7k views

Office 365: powershell script to uninstall the sharepoint app

I need the powershell script to uninstall the sharepoint app from office 365 site. I tried below script did not work for me. $getinstances = Get-SPAppInstance -Web https://spnote.sharepoint.com ...
2
votes
1answer
2k views

Changing Left navigation in MySite (my content) for all users

In a SharePoint online (office 365) project, I am trying to add two new links to the left navigaion of my-sites, which must be visible for all users. when users go to their My-site (newsfeed). The new ...
1
vote
4answers
9k views

SP2013 online : set_formDigestHandlingEnabled Error

I get the error : Object doesn't support property or method 'set_formDigestHandlingEnabled' when I try to get the current SPContext object from javascript code in an Office 365 site. I am using ...
3
votes
2answers
6k views

How to attach files to list item using Client Object Model?

I have a SharePoint List to which I am adding new ListItems using the Client Object Model. Adding ListItems is not a problem and works great. How to add Attachments?
3
votes
2answers
3k views

How to color code the SharePoint list column value based on a condition?

I have a requirement to color code a SharePoint list column value based on a condition. Please see the below screenshot. Basically as shown in the above image, I want to compare the value of columns ...
2
votes
3answers
4k views

Best way to change content type on a existing file in a document library

When you drag and drop single / multiple files into a document set / library, SharePoint just add values to the required fields and a check the file out. I've tried to use quick edit but it does not ...
2
votes
2answers
6k views

Sharepoint Online All User Access/Permissions Report

Is there a powershell script for SharePoint online that can create a csv report listing permission/access details for all users of a SharePoint site? We have licenses to Offices 365 E3 which includes ...
1
vote
2answers
2k views

Show Users a list of sites they can access

My question is similar to this one: Query text to show sites a user can access using Search Results SP2013 However when implementing that I get a list of sites, but also links to all users' "shared ...
1
vote
3answers
2k views

ExecuteQuery Error When Trying to Do Anything

I'm a global admin on my O365 tenant. I get the below error when I try to access anything: Exception calling "ExecuteQuery" with "0" argument(s): "Cannot contact web site 'https://domain.sharepoint....
5
votes
3answers
17k views

Search on Enterprise keywords or Managed metadata

I'm new to Sharepoint online (Office 365 really), and I'm trying to figure out how to search on Enterprise keywords, on the one hand, and Managed metadata, on the other. I know I can use a syntax in ...
3
votes
1answer
7k views

In what Security Zone should SharePoint Online (Office 365) be added?

I was wondering in what Security Zone SharePoint Online (Office 365) should be added? I'm not sure if the Office 365 site(s) belong in the security zone Trusted Sites Zone or in Local Intranet Zone. ...
3
votes
2answers
13k views

InfoPath form: How to redirect to the previous page after pressing on the submit button?

I am using SharePoint 2010 Online (Office 365). I have created a form in InfoPath for an external list. You see some fields and a submit button. When I press on the submit button everything is ...
3
votes
2answers
2k views

New item entry form: how to hide 2 fields with a code in SP designer NewForm.aspx

I need to hide 2 fields from NewForm.aspx (the edit and view can stay the same). I have seen around tutorials on how to do it with Infopath and linking it to the permission of the user and I would ...
2
votes
2answers
4k views

Sharepoint online/Office 365 Is there a way to get all site collections for a tenant? [duplicate]

I'm looking for a way to get all the site collections for a particular tenant through API. The URL that lists all site collections is https://<tenantName>-admin.sharepoint.com/_layouts/15/...
1
vote
3answers
73 views

SPDesigner no longer access SPOnline

Sometime after the 27th of last month sharepoint designer no longer lets me connect to SPO. It prompts me for my login and password, type it in and prompts it again. I installed SPD on another ...
1
vote
2answers
9k views

SPO 2013 - How to open Links List items (websites) in a new window/tab when clicking with the left mouse button?

We are using O365/Sharepoint Online 2013. In our intranet we have the OOTB Links List on a page so users can add links to important external websites in it. As a default those links are just opening ...
1
vote
2answers
3k views

Add css to masterpage (SharePoint Online/Office 365)

I have a css to hide list search box on document libraries. It's in the SiteAssets library. I can edit a document library view and add Content Editor webpart and add css reference and able to hide. ...
1
vote
2answers
2k views

Creating New Site Collection “2013 experience version will be used”

We are using, i think, SharePoint Online as a part of Office 365. Perhaps I have the terminology correct, it is confusing. When I go to the SharePoint Admin Center and lick on site collections I ...
0
votes
2answers
605 views

How to get the List Item id when a sharepoint choice column changes?

One of the JSOM solutions I am working on, I am alerting the SharePoint choice column value upon change. I have a list called Asset List (collaboration list) with four columns: Title, Stage(Choice ...
0
votes
1answer
36 views

Office 365 Delve

Hope you're doing well; I wanted to know what happens if you switch off the office 365 Delve. Does it impact SharePoint or Office 365. Kind regards, Anees
0
votes
1answer
58 views

Does the “Custom Script” setting inside the sharepoint admin center affect modern sites (Communication or Team sites)

I did many tests and reading and i did not find a clear answer if the "Custom Script" setting inside the sharepoint admin center affect modern sites (Communication or Team sites). for example i did ...
22
votes
5answers
45k views

Is there a free version available in SharePoint 2016?

Until SharePoint 2013, there was a SharePoint foundation version, which is free. In the latest release (2016) it is deprecated. Now in SharePoint 2016 or Office 365 is there something like ...
9
votes
3answers
5k views

Change masterpage from Seattle to Oslo using CSOM, Sharepoint online

Using CSOM and c#, I would like to change the master-page from Seattle to Oslo. Can anybody help me?
9
votes
6answers
19k views

Caml query builder Office 365 Sharepoint Online

Does anyone knows where to find a CAML query builder that I can use for Office 365, Sharepoint Online? (if there exists one)
8
votes
1answer
664 views

Apps added to App Catalog not available for installation on other sites

I started with SPFx development recently. I packaged a client side web-part as a file helloworld-webpart.sppkg following Microsoft's tutorial. Then I uploaded it to my Apps Catalog site. Though it was ...
7
votes
1answer
18k views

Office 365 - Open html document in browser in document library

I'm using office 365. I would like to be able to click on an html file in the document library and have it open in the browser instead of prompting me to download. How would I do this?
7
votes
3answers
39k views

Excel VBA code to upload document into SharePoint online 2013

I'm looking for a snippet in VBA to upload a document (PDF file) into SharePoint online
3
votes
3answers
10k views

Difference between sharepoint online and sharepoint server

Kindly elaborate on the Difference between sharepoint online and sharepoint server? since we are using sharepoint servers and now going to subscribe for office 365 which will allow us to use ...
2
votes
1answer
2k views

Sharepoint Online - How to show blogs in excerpt format

We are using O365/Sharepoint Online 2013. We are using a Sharepoint Online Blog as the official intranet news channel and it's all good but we are irritated about having the posts with full content ...