Tag Info

Hot answers tagged

3

After some intense debugging I am answering my own question. And wasted +50 StackOverflow points on this, so am an idiot. I copied and de-minified the original (global) SharePoint RenderGroupTemplate function The relevant lines: b[d+".groupHeader"]=true; a+=spMgr.RenderFieldByName(c,d,b,h); delete b[d+".groupHeader"]; Became: ...


3

Use below REST API example url: "<app web url>/_api/SP.AppContextSite(@target)/web /getfilebyserverrelativeurl('/Shared Documents/filename.docx')/Length For more info: MSDN


2

To change the column name, you can simply select the field name from the List Settings page and change its title /column name to the desired name. Note: the internal name of the column will still remain the same.


1

Change the pagination of list views to how you want and copy the changed URL. The next time you paste this URL, you'll see your pagination persisted. Some background info on how this works: If you notice the URL when you change the page of the list view, you'll notice something like #InplviewHash appended. This is because in SP 2013, inplview.js handles ...


1

I would create 3 different views with filters: View1 to display 1 to 35 items View2 to display 36 to 70 items View3 to display 71 to 100 items Add webparts to each column and select each webpart properties to display View1, View2 and View3. Tada...


1

As noted in your comment above, yes, I am referring to what you linked to in this MSDN article. Another resource I have found to be quite useful is this article on CodePlex. Plus there's plenty more you can find by searching for "sharepoint client side rendering". To answer your question from the comments - no, it should not interfere with the users' ...


1

You can grab the serverrelativeurl of the file from your request. Pass it to another request like so: _api/web/getfilebyserverrelativeurl('/Lists/TestList/Attachments/1/blabla.xlsx'). This will give you the file length in Bytes.


1

If you like to display calendar items in List view (content query web part), you need to use sp.js for recurring events. http://sharepointchan.blogspot.com/2011/10/situation-i-want-to-get-all-calendar.html More on this link. http://www.nothingbutsharepoint.com/2012/04/26/use-spservices-to-get-recurring-events-as-distinct-items-aspx/ var startDate = ...



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