sharepoint-2013

SharePoint Timer Job Stopped working after Password Change

不羁岁月 提交于 2021-02-11 13:36:15
问题 The Password of my SharePoint Development Server has been changed, the Timer Job has stopped working Although when I put the Debugger on the Base Constructor, it Fires only on the Base Constructor only and the Other Constructor & Execute method are not coming to Fire on Debug Mode. I have changed the Password in All the Application Pools through IIS, I have reset the IIS, Stopped & started the Timer Service as described in this but nothing solved my issue. I have also Restarted the Server but

How could I modify sharepoint 2013 list column title?

不羁岁月 提交于 2021-01-28 04:09:29
问题 I want the same column display different title in different views with only one list. So I append a jquery script in my view.aspx. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <script type="text/javascript" src="/_layouts/15/Library/js/jquery-1.9.1.js"> </script> ​<script type="text/javascript"> $(document).ready(function(){ $('[id^=diidSort][id$=company]').text('com'); }); </script> It works,but when I click column ascending or descending then refresh page. the column

SharePoint REST query SP.UserProfiles.PeopleManager special characters

杀马特。学长 韩版系。学妹 提交于 2020-06-15 07:35:10
问题 This question is an extension of this one I found as a starting point (which works without special characters): SharePoint REST query SP.UserProfiles.PeopleManager Basically the problem I am having is the query does not accurately respond to accountName with special characters. Specifically, a ' in the last name for this example. The query either returns no results or is a 400 Bad Request. In the code example I have used encodeURIComponent() , but I have also tried escape() and string escapes

How to import an SPWeb using c# to have the same behavior than PowerShell?

耗尽温柔 提交于 2020-02-05 03:53:26
问题 I have a problem with comportment of sharepoint.deployment.spimport. I want to copy a web within the same site collection like that : myserver/mysitecoll/website1 myserver/mysitecoll/website2 When I use the PowerShell command to execute this, it does it perfectly, the website2 is the same as the website1 Export-SPWeb -Identity http://myserver/mysitecoll/website1 -Path D:\mybackups\mytestsave\mybackup.bak and Import-SPWeb -Identity http://myserver/mysitecoll/website2 -Path D:\mybackups

Authenticate network credential to access SharePoint site on client object model

痞子三分冷 提交于 2020-02-02 06:22:46
问题 I am working to small app, that is require to bring all users in all groups of given site. I have two sites; SharePoint 2010 running on premisses and SharePoint 2013 online. I am getting credential error... {"The remote server returned an error: (401) Unauthorized."} code. public class Program { static void Main(string[] args) { string _siteURL = "https://intranet.co.uk"; NetworkCredential _myCredentials = new NetworkCredential("user", "password", "https://intranet"); ClientContext

Authenticate network credential to access SharePoint site on client object model

点点圈 提交于 2020-02-02 06:22:34
问题 I am working to small app, that is require to bring all users in all groups of given site. I have two sites; SharePoint 2010 running on premisses and SharePoint 2013 online. I am getting credential error... {"The remote server returned an error: (401) Unauthorized."} code. public class Program { static void Main(string[] args) { string _siteURL = "https://intranet.co.uk"; NetworkCredential _myCredentials = new NetworkCredential("user", "password", "https://intranet"); ClientContext

OData substringof or startswith returning all items

為{幸葍}努か 提交于 2020-01-24 02:41:08
问题 I'm trying to filter my results from a Rest Call. $.ajax({ type: "GET", headers: { "Accept": "application/json;odata=verbose" }, dataType: "JSON", url: _spPageContextInfo.webServerRelativeUrl + "/_api/lists/getByTitle('Contacts')/items?$select=Title,Id&$startswith('Title','" + request.term + "') eq true", success: function (data) { }, error: function (ex) { } }); In my Contacts List i'm trying to retrieve the Title and the Id for Items which start with a String or which have the String

Using REST to fetch SharePoint View Items

自古美人都是妖i 提交于 2020-01-21 03:17:08
问题 I am trying to construct the correct URL to return the items in a SharePoint View using the REST api. Using my browser and the following URL I can return the items in the list. https://mysharepoint.sharepoint.com/sites/MySite/_api/web/lists/getbytitle('Announcements')/Items And I can get the view definition using the following URL. https://mysharepoint.sharepoint.com/sites/MySite/_api/web/lists/getbytitle('Announcements')/Views/getbytitle('Latest News')/ But I cannot figure out what I need to

Breeze.JS for SharePoint 2013 error saving changes

。_饼干妹妹 提交于 2020-01-16 18:48:29
问题 The object extraMetadata is undefined and throwing an error on line 247 of breeze.labs.dataservice.sharepoint.js rawEntity.__metadata = { 'type': aspect.extraMetadata.type }; I suspect it is because I have not defined the type found in __metadata object on my entity definitions for breeze. Any suggestions on how to define my type correctly would be very welcome! Here is my type definition for one of the objects. models.Project = { name: 'Project', defaultResourceName: 'getbytitle(\'Projects\'

How can I authenticate SharePoint REST calls from Android App?

社会主义新天地 提交于 2020-01-14 06:39:21
问题 I have a website that is built using SharePoint Foundation 2013.I have a number of list and libraries there. For Example: I need to develop a android application to show the SharePoint List Items/Data. Using the SharePoint 2013 Rest API, We can get the Data form SharePoint. But The problem is the authentication. I'm using Windows NTLM claim based authentication in the SharePoint foundation 2013. How can I authenticate my SharePoint site inside the android application and get the SharePoint