for questions completely specific to the MS-provided SharePoint cloud service (Office 365/BPOS)

learn more… | top users | synonyms

1
vote
3answers
389 views

Removing Duplicate values from a Lookup field

I have a lookup field in the list and it is has duplicate values. I found the below code and tried to use it. <script type="text/javascript" ...
1
vote
3answers
336 views

Edit option should be disabled for all users except administrators in a SharePoint online list

In my SharePoint online list I want to disable the Edit option for all users except some specific administrators. My users should be able to edit, add or delete the items as i circled green but i ...
1
vote
4answers
6k 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 ...
1
vote
1answer
133 views

Getting all sub-sites using rest

I have tried the below code for getting all sub-sites using rest... <script src="http://code.jquery.com/jquery-2.1.4.min.js"></script> <script> ...
1
vote
2answers
868 views

Copy Documents from file share to SPO DocLib with versions using PowerShell

In my local file system I have a document with 3 others considering them as major versions of the main copy. Main.docx Ver3_OfMain.docx Ver2_OfMain.docx Ver1_OfMain.docx I would want to have a ...
1
vote
2answers
95 views

How do you know a particular view is a personal view or a public view?

Is there a way you can distinguish a view whether it's a public view or a personal view ?
1
vote
2answers
4k views

How does one add a reference to Microsoft.SharePoint.dll

I've been trying to use the SPGridView control, which I've seen in quite a few examples around the web. This control is contained in the Microsoft.SharePoint.WebControls namespace which is in the ...
1
vote
5answers
2k views

Create complete site programmatically

I want to create a complete site in Visual Studio (Sandbox solution), so it is easy to deploy (with one press on the button on site collection level) to Office 365 / SharePoint Online. I can create ...
1
vote
2answers
3k views

unable to add choices to SPFieldChoice programatically

I am not able to add a new choice value to a SPFieldChoice column of a list. Here is my code using (SPWeb myWeb = SPContext.Current.Web) { myWeb.AllowUnsafeUpdates = true; ...
1
vote
2answers
131 views

Difference between Document Library and Form Library

What is the difference between Document Library and Form Library? In which scenario we have to go for Form Library? And What are the best practices of using these libraries?
1
vote
2answers
24 views

How to display only day and month in SharePoint list column?

I have a column named Birthday and a field on it would be: 04/11/1998; How can I create a calculated column namd BirthGET that contains only day and month, i.e 04/11. How can I make this? Thanks for ...
1
vote
1answer
61 views

Issue with symbol “&” in REST API

In REST API when I pass a value with &(ex: India & China), it throws error and when I checked it in browser it shows &amnp; in place of &. ...
1
vote
2answers
126 views

Sharepoint authentication without CSOM, JS or 3rd party dlls

I am new to Sharepoint. I am trying to create a folder in sharepoint shared folder and this needs to work for both on-premise as well as sharepoint online. The problem that I am facing is, it works ...
1
vote
3answers
426 views

Close modal popup opened using SP.UI.ModalDialog.ShowPopupDialog(url)

Sharepoint promoted links webpart open in dialog opens the popup using SP.UI.ModalDialog.ShowPopupDialog(url) How do I close this popup using a custom button in the popup page SP.UI.ModalDialog is ...
1
vote
2answers
934 views

SharePoint Online: Apps vs SandBox Solution for Intranet Deployment?

We will be doing a new Intranet for our SharePoint Online. I have experience developing in SharePoint 2010 / 2013 but using Farm Solutions. In SharePoint Online, I believe the only options are App and ...
1
vote
2answers
112 views

Looping through ctx.executeQueryAsync

I'm trying to retrieve all the selected items and then get the value in the field name E_x002d_Mail_x0020_1. However there seem to be an issue regarding looping the ctx.executeQueryAsync, since it ...
1
vote
2answers
289 views

How to get Current Logged Internet Explorer User Name and Domain Name

I need to get user details before hitting the SharePoint Server page. User hitting sharepoint page(https://spxy) then I redirect to https://spxy/_layouts/TestHandler.ashx via httpmodule. I need to ...
1
vote
3answers
4k views

Error:Access denied. You do not have permission to perform this action or access this resource

I am retrieving items from SP lists. But when I try to deploy my solution through VS 2013 it says Access denied. You do not have permission to perform this action or access this resource. ...
1
vote
2answers
5k 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 ...
1
vote
2answers
4k 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 ...
1
vote
3answers
5k 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 = ...
1
vote
1answer
1k views

Hide “Mark as Complete Check Box” in Sharepoint 2013 Task List

I want to hide the "Mark as Complete Check Box" in Sharepoint 2013 Task List view. Is it possible? What is the best way to do so? Thanks.
1
vote
3answers
571 views

SPSitedataquery Excluding a particular list

I'am using SPSitedataquery to query to 7 task lists but in all i have 8 task lists but i want to exclude 1 task list from the query how can i do it? Any ideas? Thanks in advance? Following is my code ...
1
vote
2answers
1k views

Where has the what's new webpart gone in sharepoint 2013? What replaces it?

Older versions of sharepoint had a webpart under social collaboration that could display recent activity in all document libraries within a given site. This webpart no longer exists in sharepoint 2013 ...
1
vote
1answer
2k views

Show Sharepoint list data into external Html website

My boss asked me today if it is possible to use Sharepoint list data into an external HTML website... in fact i have to create a newsletter and the news are already on a sharepoint site. They are ...
1
vote
2answers
3k views

Change icons in SP2013 online (365)

Is it possible to change the icons used in various places? I've made some major changes to the look and feel and whilst the icons look great the colours don't go with my background colours. I've ...
1
vote
1answer
44 views

SharePoint online taxonomy: nested term sets?

I'm in a job rush, so really got no time to search for this answer in SP.Taxonomy, then I posted this straightforward question-answer pair: Does Taxonomy accepts nested term sets? PS: It's also a ...
1
vote
2answers
60 views

How do I reliably inject a meta tag onto a SharePoint page without editing the master page?

I don't want to edit any master pages for obvious reasons given that I am on SharePoint Online. But I am trying to achieve responsiveness on my sites. For this, I would really like to use the ...
1
vote
1answer
59 views

Get start and end date of current week which starts in one month and ends in another month

I have to get start date and and end date of current week. I used this code but end date is getting previous month name if week start in one month and ends in another month. Date.prototype.getWeek = ...
1
vote
2answers
40 views

How can I apply CSS to webparID?

how can I apply css to webpart ID. I have the following webpart: webpartid="5a399f4c-f605-409c-8e3c-55993af60c9a" I need to apply css only for this webpartID How can I do that? Thanks!
1
vote
2answers
107 views

SP.UserProfiles - get all properties available for user

Since I do not have access to the SharePoint farm. Is there any way to retrieve all available property names from UserProfiles in SharePoint 2013 through JavaScript? What I was looking for is the ...
1
vote
2answers
50 views

Restrict users to search for own documents only

I have a SharePoint document library in which users can create documents. When users are performing a search, all documents are returned in the search results. I would like to restrict the results to ...
1
vote
1answer
24 views

Trigger a Workflow only when Particular column is updated in a library

How to Trigger a workflow only when a column is updated. I have a column called "Comments History", when anyone adds a new comment then workflow should Trigger
1
vote
2answers
305 views

Get Manager name using Sharepoint designer 2013 workflow

I need to get the Manager name using sharepoint designer 2013 workflow. Can anyone please help me to achieve this.
1
vote
2answers
183 views

Responsive framework for SharePoint Online 2013

I am about to start a project in SharePoint Online 2013. I have a plan to create responsive design in it. Researching on various blogs and posts I have come across many different frameworks like ...
1
vote
2answers
441 views

Save button to close window after saving

For adding an item to list, the newForm.aspx is opened in new window. After clicking on save button I need to close the window. I used window.close(), It just closes the window but the item is not ...
1
vote
1answer
35 views

SPOnline Content Search webpart restricted by license?

I registered a demonstration tenant with a Business Essential account. And I can't get Content Search to work. Is there a limitation? Can a Business Essential account be upgraded at all?
1
vote
2answers
431 views

Uncaught TypeError: Cannot read property 'SPCascadeDropdowns' of undefined

I am trying to implement cascading so I have loaded two files. <script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script type="text/javascript" ...
1
vote
2answers
133 views

Get all data from SharePoint Online Site which has the particular Site Column

Just wondering which one would be the best method for achieving below mentioned requirement or is there any other way of doing it. This is just a one time activity hence performance doesn't matter. ...
1
vote
3answers
276 views

Access denied when calling API for 'social.following'

I'm creating an add-in that lists all the sites a user has followed and I'm using the 'social.following' API to do this. I have full control and everything, but I am getting this error: <m:error ...
1
vote
2answers
82 views

How to make the title column values to work as a link?

I am trying to make title column values to work as a link. I have used javascript as given below <html> <script type="text/javascript"> SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
1
vote
4answers
3k views

Get current logged in user and display it on the Site as “Hello (Username)”

I am using SharePoint 2013 Online and I'm looking for some JavaScript and html to display the current logged in user on the site like for example: Hello (Username) If anyone could help or just ...
1
vote
2answers
451 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?
1
vote
1answer
1k views

How to give a subsite a specific master page?

I have a parent site , and two subsites deriving from it. However, I need to apply a master page template to one of the sub sites only, but I am unable to do so in SP 2013. I have tried applying the ...
1
vote
2answers
2k views

Office 365 Read-only mode

Is there anyway to make the Office 365 Site Collection as Read-only mode? Please help me by providing your valuable reply.
1
vote
3answers
365 views

Where Do We Report SharePoint Online Bugs?

I just need to know the proper place to report SharePoint Online bugs to Microsoft. I've found a couple: One when setting up a Site Mailbox, after selecting Language and Time Zone, I get, "The ...
1
vote
2answers
92 views

Exclude users whose names contain

I am trying to automate my O365 licensing and have had some success, but I am not sure how I can accomplish the following... I have users who I do not wish to license and they all share the value ...
1
vote
3answers
1k views

The length of the URL for this request exceeds the configured maxUrlLength value. REST API

I was wondering if someone could help, or am I missing something. In the articles found here http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileStartUpload They refer ...
1
vote
1answer
3k views

Creating Event Receiver Office 365

I am going through Beginning Sharpoint 2013 Development and I need to create an event reciever. I don't have a local copy of SharePoint on my laptop I'm using a development site from an Office 365 ...
1
vote
1answer
449 views

Field names in announcement list in Sharepoint Online

I am trying to add fields to an announcement list. I have successfully added various fields with single-word names: announcementy.Fields.AddFieldAsXml("<Field Type='User' ...