Questions tagged [sharepoint-enterprise]

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

Filter by
Sorted by
Tagged with
8 votes
1 answer
7k views

Differing ways to make executeQueryAsync calls - Function.createDelegate (is old IE8 code)

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 ...
19 votes
2 answers
110k views

Using calculated field to retrieve substring of another field

Suppose I have a field that contain the following data: ========================== | Email Address | ========================== | Jack@wonderland.com | | Peter@nobodyland.com | | Jill@...
  • 1,063
9 votes
1 answer
41k 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 ...
  • 407
23 votes
6 answers
87k views

Which special Characters are not Allowed in SharePoint 2013\2016 Files\Folders?

I am working on SharePoint Admin and Development part. One of our customer is using SharePoint 2013\2016. User is getting Special character issue while uploading file in SharePoint 2013\2016. We are ...
  • 622
13 votes
2 answers
24k 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 ...
  • 349
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 ...
  • 2,444
5 votes
7 answers
22k 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.
user avatar
16 votes
2 answers
31k 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 = ...
  • 2,140
11 votes
12 answers
53k 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 ...
  • 1,807
10 votes
3 answers
23k views

Make CAML query with in rest api call

I have a SharePoint list and i need to get the list items by using JSOM.how to add CAML query with in the API method? i have used the below code var url = "/_api/Web/Lists/GetByTitle('list')/...
  • 1,095
9 votes
4 answers
17k 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 ...
  • 93
8 votes
2 answers
8k views

How to start SharePoint Workflow programmatically using CSOM

I am trying to start share-point workflow using CSOM(Client side object model) by following means of code. But i got the following error from the line mark in comment. Please help me to figure out ...
  • 81
7 votes
2 answers
42k 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 ...
  • 572
6 votes
1 answer
51k 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 ...
25 votes
2 answers
18k 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 ...
  • 1,982
19 votes
4 answers
33k views

Difference beween wiki page, application page, web part page and publishing page

There are lots places in msdn sharepoint forums and blogs where these terms are used and I am confused between them. Can anybody clarify?
13 votes
3 answers
24k views

Check users group membership via REST API using AD-Groups in SP-Groups

I am aware that similar questions have been asked around here but none of them answers the part of AD-Groups that are used inside of SP-Groups. I have several SP-Groups in my teamsite. I follow best ...
  • 679
11 votes
1 answer
18k 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?
  • 1,025
10 votes
4 answers
91k 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 ...
6 votes
2 answers
10k 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/ ...
  • 1,029
5 votes
3 answers
11k 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 ...
  • 1,737
2 votes
2 answers
4k views

Using crawl rules to exclude Allitems.aspx, DispForm.aspx

Is anyone having any idea on how to exclude List Forms from Search result. I tried lot many things suggested on google, but none of them seems to be working.
  • 2,019
21 votes
4 answers
60k 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-...
  • 1,309
18 votes
4 answers
93k 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 ...
  • 653
15 votes
1 answer
43k views

'The Windows PowerShell snap-in'Microsoft.SharePoint.PowerShell is not installed on this machine' on SP Server

I made a fresh SP 2013 installation on win 2008 R2 SP1. When access SP Mgmt Shell, I am getting the following error - "Add-PSSnapin : The Windows PowerShell snap-in'Microsoft.SharePoint.PowerShell' is ...
14 votes
4 answers
21k 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....
  • 251
11 votes
4 answers
16k 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 ...
  • 245
11 votes
2 answers
47k 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 -...
10 votes
6 answers
41k 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 ...
  • 3,614
10 votes
1 answer
13k 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 ...
  • 5,304
8 votes
5 answers
81k 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,029
8 votes
2 answers
60k views

View outlook calendar in SharePoint 2013

Is it possible to view outlook calendar in SharePoint 2013? Head of the department wants to view everyone's Outlook Calendar in the SharePoint 2013. Is this possible? He can view other's outlook ...
8 votes
8 answers
49k views

SP.js file not loaded in a simple JSOM example

I am creating a simple example that demonstrates client object model using javascript. I have ceated a simple JS file in Visual Studio and an aspx page using the SharePoint Designer. I have used ...
  • 1,807
8 votes
3 answers
9k 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 called ...
  • 2,140
7 votes
3 answers
49k views

Sharepoint list column limit

We are designing a system where data from forms will be stored in sharepoint lists. Problem is there are many fields around (260). What is the better way to handle this ?
  • 71
6 votes
8 answers
11k views

SharePoint 2016 - ADFS - persistent cookie - office client integration - authentication prompt

After migration from sp2013 to new sp2016 server farm we have problems with office client integration. on sp2013 farm, if there was no persistant cookie written from IE, the client application ...
  • 590
6 votes
4 answers
20k views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
  • 308
6 votes
2 answers
42k views

Add web part zone in custom page layout

I am creating a custom page layout using SharePoint Designer. I want to add the search box to this page layout in one of my div. How can I achieve this?
  • 1,807
5 votes
1 answer
7k views

Creating Items in Drop-Off Library via SPD Workflow

Today I learned you can't move items to a Drop Off Library via workflow and expect its routing rules to kick in automatically. You then have to manually "Submit" each item, even if all metadata is ...
  • 273
5 votes
3 answers
777 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 ...
5 votes
4 answers
24k views

Get the id value from the page url

In SharePoint how do you get the ID value from the url of the page you are on using javascript( Jquery,ajax, Rest..), e.g. I have the url like so: http:// ddd/mypage?ID=xx I tried before to ...
  • 161
4 votes
2 answers
14k views

lookup column in calculated column formula

I have a Lookup column(Discountfirst) which has Number. I also have another Calculated column(Finaldate) with Resulttype DateTime. One more column(DateofReceipt) in Date. My Calculated column formula ...
4 votes
1 answer
14k views

Recommended way to install CU and Update on SharePoint Servers

We are planning to install CU updates on 20 SharePoint Servers and I was wondering what would be the fast and recommend way (Best Practices) to install the update? In other words, would it be fine if ...
  • 715
4 votes
2 answers
17k 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 ...
3 votes
1 answer
14k views

Sharepoint Designer 2013 workflow:How to send email to multiple users?

I am facing an issue of sending an email to multiple users in designer list workflow. Having one list field of type people and group, which allows multiple section. Requirement is I want to send an ...
  • 3,083
3 votes
1 answer
14k views

Get a Content Type by Name (Title) using CSOM

I am applying a temporary fix to some CSOM code whilst a more permanent fix is given to me hence I want to create the equivalent of ctx.Web.Lists.GetByTitle("Contoso Documents").ContentTypes....
2 votes
1 answer
16k views

How to implement JavaScript in master page of SharePoint 2013 and JavaScript files are not loading in masterpage

Custom Quick launch comes from the master page and visible through out the entire site. I used CSS to hide quick launch in some of the pages, But it shows up to the all document libraries and is ...
  • 301
2 votes
1 answer
1k views

Contenttype hub publishing old (deleted) content types

I have a SharePoint Online environment with content types being published by the content type hub. It works OK but the content type hub keeps publishing old content types, that we have deleted ...
  • 1,605
2 votes
3 answers
10k views

Call JavaScript function for a custom action in an app for SharePoint 2013

I am working on an app for SharePoint 2013. I want to add a custom action to a context menu of a document library. And I want to call a JavaScript function with a selected item id and list id as ...
  • 163
2 votes
2 answers
9k 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 ...
  • 334

1
2 3 4 5
15