Hot answers tagged

5

You can choose any of the 3 options from below. Option 1: Replace the default PageNotFoundError.aspx in the Page Library – One of the easiest and Convenient way to replace default text in PageNotFoundError.aspx is to either edit the PageNotFoundError.aspx that resides in the Page Library or to delete it and replace it with a Custom error Page that has the ...


2

You will need to use CSOM-JS. Refer to this: http://stackoverflow.com/questions/2767461/sharepoint-form-webpart-with-javascript on how your html form should look like and this on how to do basic JS operations in SharePoint 2013: https://msdn.microsoft.com/en-us/library/office/jj163201.aspx (SharePoint 2010: ...


1

Xavi's link should answer your question. Also here is PowerShell to set your page not found URL: $spsite = Get-SPSite "Web site URL" $spsite.filenotfoundurl $spsite.filenotfoundurl = "/sites/yoursite/Pages/PageNotFoundError.aspx"


1

Modules are used to deploy files to SharePoint Content Database. They can't deploy a file to physical folder. When you add a mapped folder like layouts to SharePoint VS Projects, the files inside the mapped folder automatically get deployed to physical path.


1

REST /_api/Web/SiteUsers JSOM var ctx = SP.ClientContext.get_current(); var users = ctx.get_web().get_siteUsers(); ctx.load(users); ctx.executeQueryAsync(function() { var userArray = []; var e = users.getEnumerator(); while (e.moveNext()) { userArray.push(e.get_current()); } console.log(userArray); });


1

Check out this threads. http://spjsblog.com/2012/02/24/form-field-tooltip-for-sharepoint-2007-and-sharepoint-2010/ You'll have to modify add/new/edit forms of the list or document library you are working with. Then you can use any of the numerous tooltip js libraries i.e. http://jqueryui.com/tooltip/ to add tooltips to your form.


1

It still works and I love it! You have to get the correct WebId in the exported file. So you have to find the WebId from the source site. I am working right now on a step-by-step guide which will be online by the beginning of next week and will update my answer with the link to the guide. For now I can only help you with this: $SPWeb = get-spweb ...


1

I think you have, by some reason, wrong permission setup on C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ folder (I guess it is what you are referring "Site in IIS"). I checked my SharePoint farm. WSS_ADMIN_WPG, WSS_WPG and machine/users etc have been granted access. You may compare your permission setup with Account permissions ...



Only top voted, non community-wiki answers of a minimum length are eligible