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

learn more… | top users | synonyms

17
votes
2answers
11k 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 ...
4
votes
2answers
5k 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 ...
5
votes
5answers
7k 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.
4
votes
3answers
6k views

How to Submit an InfoPath Form to its Own Library?

Salvete! I have an InfoPath-based content-type. I also created a forms library in several subsites that each use this content-type. Now, I need to fix my InfoPath content-type form so that it gets ...
3
votes
7answers
14k 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 ...
8
votes
4answers
10k 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 ...
5
votes
6answers
25k 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 ...
2
votes
2answers
4k 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/ ...
2
votes
4answers
7k views

SharePoint 2010: What is the difference between backing up a Site Collection and exporting a Site Collection?

Lectori salutem, I am reading into backup and restore operations in SharePoint 2010. I have noticed that in Central Administration > Backup and Restore > Granular Backup there is the possibility to ...
1
vote
1answer
8k 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 ...
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
56k 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 ...
4
votes
3answers
29k 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 ...
0
votes
3answers
794 views

PeoplePicker using JSOM

Hi is there anyway to manipulate PeoplePicker using JSOM. How tho get or set value of PeoplePicker using JavaScript
6
votes
3answers
5k 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
9k 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 ...
1
vote
3answers
11k 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 ...
0
votes
1answer
6k 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 ...
3
votes
2answers
3k 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 ...
2
votes
3answers
453 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 ...
1
vote
1answer
839 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
22k 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 ...
12
votes
4answers
19k 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 ...
7
votes
4answers
8k 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 ...
6
votes
2answers
26k 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
2answers
5k 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
8k 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
5answers
28k 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
4answers
13k 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 ...
3
votes
3answers
16k 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 ...
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
1answer
8k 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 ...
6
votes
2answers
10k 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 ...
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 ...
4
votes
3answers
7k views

How to change active directory password using Code?

How to change active directory User Account Password using code?
4
votes
1answer
5k views

How to get list item from a different site collection using javascript?

I have two site collection like site1 and site2. I am working in site1 application and I want to get a list item from site2. This is the code I am using: var ctx; var listItem; var title; var ...
2
votes
1answer
6k views

How to create Visual Studio Master Page project for SharePoint 2013?

I have seen few videos and read articles on creating/deploying custom master page via visual studio in SharePoint 2010. I would like to know if there is any manual/walk-through that shows how to ...
2
votes
2answers
4k views

SP 2013 CCS Background Image

I've created a custom HTML and CSS file, uploaded it to SP2013 using design manager, and converted the HTML to a .masterpage. I want to set a full page background image, so I've added the following to ...
2
votes
5answers
8k 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
4answers
2k views

How can I Make a Dropdown box in a Form Field Conditionally Read-only/locked?

I have a drop down box form field (with values level1,level2) in SharePoint list. How can I lock the drop down box selection in the edit form.aspx whenever the condition is level2?
1
vote
1answer
891 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 ...
1
vote
0answers
225 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 ...
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 ...
1
vote
0answers
440 views

Number of Discussions and number of Replies, do not show updated results, inside my community site

I have a community site inside my SharePoint 2013 , but I have noted that the number of Discussions and number of Replies counters inside the community site home page, do not display the most recent ...
1
vote
2answers
7k views

Changing the colour of the upper Blue horizontal bar

Is there a way to change the colour of the Upper horizontal tool bar from the default blue colour to a custom color? Thanks
1
vote
3answers
2k views

how to create sharepoint custom login page

Im creating custom login page for sharepoint that will use Forms Based Authenitcation. I've read couple articles how to do it, but something is not clear to me. What class should my Login.aspx (and ...
7
votes
3answers
10k 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... ...
3
votes
1answer
42 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 ...
3
votes
2answers
3k views

List item with specific ID value

I want to copy a list items one by one to another list using PowerShell. Some items in source list are misssing. I don't want to create and delete empty items for missing ID values in source list. I ...