All commercial releases of SharePoint. Excludes free license versions of SharePoint.

learn more… | top users | synonyms

6
votes
2answers
7k views

How to display more than 3 views in document library?

I have 4 views "All Documents" "Agreements" "Permits" "Deeds" I want to display all 4 of them above my document library but only 3 get displayed and the fourth gets placed in the "..." section. I ...
18
votes
2answers
13k views

SPList.Add() vs SPList.AddItem() SharePoint 2010

Using some test code i found out that SPList.AddItem() executes slight faster then SPList.Add() - does anyone know why is it so ? DateTime start = DateTime.Now; SPList ...
5
votes
6answers
9k views

Set default value in people picker javascript/jquery

I want to set current logged in user to people picker by javascript. I can retrieve the value of user(lets say in var user).But how to set it to people control. Any help is much appreciated.
1
vote
1answer
13k views

SharePoint 2013 REST api to update list item- Uncaught ReferenceError: etag is not defined

I try to update my sharepoint list using REST api. But following code throws exception in browser "Uncaught ReferenceError: etag is not defined " Can someone help to resolve this issue? // update an ...
6
votes
7answers
20k views

Hide some fields in the NewForm.aspx for a custom list

I have 5 columns in the custom list. Out of which only 3 have to displayed in the NewForm.aspx page. All of the 5 columns have to be displayed on the EditForm.aspx page. While googling, I have come ...
4
votes
1answer
118 views

Differing ways to make executeQueryAsync calls (Function.createDelegate)

I want some understanding on two programming patterns I've seen and when to employ them. The question is about callbacks and delegate. In the first code there are two distinct functions, success ...
8
votes
4answers
11k views

Update-SPSolution does not Deploy Solution

I am trying to deploy or update a WSP solution to SharePoint in a script using Update-SPSolution. The problem I have is that if this is the initial install I need to use Add-SPSolution and then ...
6
votes
6answers
28k views

How to use relative URL for image in Master Page?

I am using a logo in my Master Page which will be displayed on all pages. How do I use its relative URL? Currently it is written as: <img src="/sites/Style Library/Images/logo.jpg"> But it is ...
0
votes
1answer
2k views

How to use associate Search Center with Search Box?

I am setting up a "My Site Host" site collection, and want users to be able to add a Search Box web part which defaults to using our Enterprise Search Center site collection. First - is this possible? ...
9
votes
3answers
64k views

Can I create some sort of Attachment column in a list?

User needs a list to track issues. They also want to be able to attach a document to this issue. If this attachment was mandatory I would be able to create a document library, but since it is not I ...
7
votes
1answer
10k views

Difference Between Sequential Workflow & State machine workflow?

What is the difference between Sequential Workflow and Stater machine workflow? What context should I take account to when choosing one of them?
6
votes
3answers
37k views

SharePoint 2013: “Find an Item” search box does not return results

We have 2 web applications, in one of the web application search is working properly and we are able to see search results from "Find an Item" box above the list name. However in the other web ...
3
votes
3answers
2k views

Updating SharePoint item using REST API from outside of SharePoint

I need to update (CRUD) SharePoint list items from a stand alone application outside of SharePoint. This application can only use JavaScript to call SP. Deploying it as an app on SharePoint won't be ...
0
votes
3answers
1k views

PeoplePicker using JSOM

Hi is there anyway to manipulate PeoplePicker using JSOM. How tho get or set value of PeoplePicker using JavaScript
7
votes
1answer
9k views

Remove a single user from all site collections in a web application using powershell

Is there a way I can choose to remove a single user from all site collections within a single web application using powershell. There are number of user profiles whose domain account has been blocked ...
7
votes
3answers
6k views

Where are the custom ascx files now (SP2013)

Were are the ascx files used in custom visual webparts in the 15 hive? They used to be in the controltemplates\%project% folder.
3
votes
1answer
10k views

How to delete a my site for a single user - SharePoint 2013 on premises

A 'my site' has somehow been set up incorrectly on SP2013 OnPrem. I would like to delete the site for this particular user, to allow him to create the site again, presumably correctly this time. Can ...
2
votes
4answers
16k views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
1
vote
1answer
8k 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 ...
4
votes
3answers
499 views

Is there a fiddle for SharePoint?

I am new to SharePoint Is there a fiddle for SharePoint? Like dotnetfiddle and jsfiddle? I have checked this question, Is there a SharePoint 2010 virtual machine? but the links in answers are dead ...
3
votes
2answers
79 views

Using calculated column to highlight entire row in list

I have a list with StartDate and FinishDate columns. Is there a way to change the background color of an item using the date columns? My requirement is: If StartDate = FinishDate, background color ...
3
votes
2answers
8k views

sharepoint 2013 on windows 10

I know This is not related to development, please accept me this time. Im looking to upgrade windows 8.1 to windows 10 . can I able to install sharepoint 2013 on windows 10? I couldn't find any ...
1
vote
1answer
1k views

How to get content of html by using REST service in SharePoint 2013

Does REST service of SharePoint 2013 support us to get the content of HTML files of specified page? What I mean is request the HTML text of display form without navigate to there, like you clicked on ...
7
votes
5answers
26k views

How to add jquery library in sharepoint2013?

I am new to SharePoint, currently i am learning sharepoint2013, here i don't know,how to add jquery library in master page. Before that I did all steps from the following site http://blogs.msdn.com/b/...
13
votes
4answers
21k views

Where can i download the U2U CAML query Builder for Sharepoint 2010?

I have try to download form below links. But the site is not opening. http://www.u2u.be/res/Tools/files/CamlBuilderSetupv4.0.0.0.zip . http://www.u2u.be/res/tools/camlquerybuilder.aspx http://www....
7
votes
4answers
11k views

SharePoint 2013 Global Navigation Across Site Collections

I am trying to set up ONE global navigation for all sites and site collections in my portal.example.com SharePoint site. Whether I am in portal.example.com, portal.example.com/sites/site1, or portal....
3
votes
2answers
5k views

SharePoint 2013 Add Read more link in Announcement web part each list items

I want to add Read more link in my Announcement Web Part I followed this blog post: http://www.learningsharepoint.com/2013/04/07/styling-announcements-with-javascript-using-js-link-in-sharepoint-2013/ ...
8
votes
2answers
12k views

How do I create a public view from a private view

It seems like I can't modify a private view to be public, or duplicate a private view to be public. Am I restricted to copying by hand all the settings of my private view, then creating a fresh ...
8
votes
2answers
30k views

Powershell command to find active features for site collection

Im trying to find active futures for my site from below script but im prompt with error ( cannot call a method on a null-valued expression) Appreciate your help $activeFeatures = Get-SPFeature -...
4
votes
3answers
7k views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
2
votes
3answers
1k views

Active Directory Federation Services and SharePoint

Here is my situation; we are developing a sharepoint portal that should be accessed from multiple different domains. And users from different domains should not enter their credentials. As far as i ...
7
votes
2answers
6k views

How to get all properties of all users in SharePoint 2013 Rest API?

I am using this code to get all properties for just myself (current user). But how can I change this so that I can get the same data but for all the users in SharePoint? var oldurl = ...
6
votes
5answers
29k views

How to create a WSP solution package with visual studio 2012 for an existing SharePoint site?

My manager told me: "We don't create a WSP package for an entire existing SharePoint site, we just need to package master pages, CSS, images and page layout files into a solution package." Is it ...
6
votes
2answers
9k views

Error occurred in deployment step Install App for SharePoint 2013

I got this error while trying to deploy an App in SharePoint 2013. The full error message is Error occurred in deployment step 'Install App for SharePoint': Failed to install App for SharePoint
6
votes
4answers
14k views

How to get user profile property value when privacy for property set to “Private” (only me)

I have a property in the user profile. This property has privacy settings equal to "Private" (or "Only Me" if working through UI). It means that value for this property will be shown only to you or ...
4
votes
2answers
3k views

executeFunc not working in Sharepoint 2013

I have this simple piece of code: <script type="text/javascript" src="AnotherLibrary.js" /> <script type="text/javascript"> SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
3
votes
3answers
22k views

How can I configure x-frame-options: allow-from on my sharepoint installation?

I want to show some content from Sharepoint in IFRAME. From some research, I come to know that specific setting for X-FRAME-OPTIONS in HTTP Header prevents rendering in iframes. How can I use ALLOW-...
2
votes
1answer
1k views

Changes not reflecting in WebPart

In sharepoint2010 I am using a webpart and custom toolpart[]. The following code is for toolpart array public override Microsoft.SharePoint.WebPartPages.ToolPart[] GetToolParts() { ...
7
votes
3answers
15k views

SharePoint 2013 - Change URL of document library

I created a Document Library called Resource Documents. Would it be possible for us to set a friendly URL on this library so that files may be read with the following URL pattern... http://site/my-...
6
votes
2answers
7k views

About SharePoint 2013 display language

Our sharepoint site has two languages, the default language is English, the other is Chinese. What is the mechanism for how SharePoint chooses display language in SharePoint 2013? I have found ...
5
votes
2answers
2k views

SharePoint 2013 REST display lookup fields?

I am using SharePoint 2013 REST to show data from my list, one of my field in announce list is AnnouncedBy which is a user packer field or is a lookup field how can I display it or get it using ...
4
votes
2answers
2k views

How to get custom user profile properties in sharepoint 2013 restful api?

In my Sp2013, I tried this link http://mysite/_api/SP.UserProfiles.PeopleManager/GetMyProperties and it gets all properties including the custom managed ones from crawling. And one of them is ...
3
votes
3answers
2k views

Do SharePoint 2013 JavaScript Client object model support run with elevated privileges code

Can I elevate Visitors Group users permission via javascript client object model code to do some list or library item updates ?
3
votes
3answers
8k views

How to change active directory password using Code?

How to change active directory User Account Password using code?
3
votes
1answer
6k 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 ...
2
votes
1answer
3k views

Documents are being displayed with a title equivalent to first words in document in search results. How can I change this to use the file name?

My search results in my enterprise search aren't displaying the file name or title property. Instead, they're showing the first words of the actual document content as the title. For example, we ...
2
votes
5answers
9k views

How to display drop down menu (top navigation) - trying for many days now

I am trying to display top navigation as drop down menu just like you see in theme "seattle". I created my own theme, then I went to "Design Manager" and then I went to "Snippets". I copied the ...
2
votes
2answers
1k views

JavaScript client object model - get current user email id, first name, last name

I want to understand the difference between the following two methods to retrieve the current user email id: Method 1: function getCurrentUserEmail(){ var clientContext = new SP.ClientContext....
1
vote
2answers
4k views

How to display list on application (aspx) page by visual studio?

I have created list and application page in visual studio for sharepoint.Now I have to show that list on that application page. I have option of using SPServices. But is there anything I can do with C#...
1
vote
0answers
258 views

Logged in user changes automatically on page refresh

We have a webpart on a site page. The URL is http://speedsoln:7779/SitePages/details.aspx. The webpart fetches the domain name of the logged in user and queries into a list to get corresponding user ...