Questions tagged [sharepoint-enterprise]

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

Filter by
Sorted by
Tagged with
8
votes
1answer
5k 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 ...
17
votes
2answers
94k 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@...
8
votes
1answer
30k 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 ...
12
votes
2answers
21k 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 ...
23
votes
6answers
62k 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 ...
5
votes
7answers
18k 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.
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 ...
6
votes
1answer
45k 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 ...
14
votes
2answers
26k 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 = ...
19
votes
4answers
27k 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?
25
votes
2answers
17k 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 ...
6
votes
2answers
9k 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/ ...
11
votes
11answers
46k 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 ...
11
votes
1answer
16k 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?
10
votes
4answers
84k 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 ...
7
votes
2answers
26k 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 ...
9
votes
3answers
12k 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')/...
7
votes
2answers
7k 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 ...
5
votes
3answers
7k 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 ...
13
votes
3answers
19k 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 ...
10
votes
6answers
39k 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 ...
11
votes
4answers
14k 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 ...
7
votes
3answers
38k 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 ?
7
votes
4answers
13k 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 ...
13
votes
4answers
20k 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....
11
votes
2answers
43k 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 -...
8
votes
3answers
8k 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 ...
7
votes
5answers
60k 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 ...
6
votes
8answers
8k 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 ...
5
votes
4answers
16k views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
1
vote
1answer
4k 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? ...
19
votes
3answers
51k 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-...
8
votes
8answers
42k 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 ...
0
votes
3answers
14k views

How to get data from multiple table or list in SharePoint 2013?

I want to get data from multiple table in to one list. And I don't know how to do it. Please help me with a detail example.
18
votes
4answers
91k 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
2answers
11k 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 ...
0
votes
3answers
4k views

PeoplePicker using JSOM

Hi is there anyway to manipulate PeoplePicker using JSOM. How tho get or set value of PeoplePicker using JavaScript
10
votes
1answer
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 ...
8
votes
2answers
57k 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 ...
4
votes
2answers
16k 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
4answers
12k 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 ...
2
votes
1answer
12k 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
2answers
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.
0
votes
1answer
247 views

Getting no REST data in SharePoint in a html file

I am trying to get some data from a REST Service Url in a html file. This works fine when i am using the code direct in my browser. But when i embedded it into my SharePoint Site it wont work. On my ...
5
votes
3answers
729 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
1answer
13k 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 ...
2
votes
2answers
6k 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 ...
2
votes
3answers
9k 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 ...
1
vote
2answers
3k views

Can I change the display name of column in a listview using JSlink

I've a requirement to change the display name of a column in only one view, I've to show 'Responsible' instead of 'Responsible Person'. Is this possible by JSlink ?
13
votes
6answers
42k views

How to add JQuery library in SharePoint 2013?

I am new to SharePoint; currently i am learning SharePoint 2013. I don't know how to add JQuery library in a master page. I did all steps from this site, but it doesn't work (Jquery not loaded). My ...