Tag Info

New answers tagged

0

Can't you just set order by ID desc in view? And set the number of returning values to 5000. Thus you'll get last 5000 items.


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...


0

JSlink has one nasty side-effect. Only the Fields included in the View are included in the ctx Object In your use case I think you are mis-interpreting CSR/JSlink, there is no need to create a second MatterIndicator Field. The whole point of CSR is that you override the display of the original MatterRagStatus Field. If you do want separate field you ...


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: ...


0

FYI You can also use JavaScript in Calculated Columns to color a Row; then you can use all Columns usable in a Formula to built logic. =[Priority] &IF([Task Status]="Not Started" , "" , "<img src=""/_layouts/images/blank.gif"" onload=""{" &"var row=this;while(row.tagName!='TR'){row=row.parentNode}" ...


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' ...


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


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 = ...


0

Maybe I am missing something but why not add a list view web part for each view and use a simple JavaScript to hide or show only the views you are interested in seeing. If this sounds like a solution for you leave a comment and I will send you or post here a script I wrote that simulates tabs for the list view web parts on a page.


0

I'm still trying to find out how to specify an order for the list views, but here's how to specify the amount of views that shows up: The first thing you need to do is crate a .htm file. I highly suggest using Notepad++, but you can also use plain ol' notepad. Enter the following code into the notepad document, and then save as an .htm file. <script ...


0

That might be because you are having Metadata columns defined in the Content Type. As of this moment that is not working as expected in SharePoint Online.


0

The internal background properites of date do not allow for the CSR to change the style properties. They are overruled by the internal style of the sharepoint css.


0

Instead of exporting from SharePoint, you can try importing from Excel through add-ins like http://www.cdata.com/drivers/sharepoint/excel/ (commercial). The Excel Add-in allows you to connect to Sharepoint lists, and filter data through transact SQL.


0

if you are working with Sharepoint2013 than 2013 provide out of the box service to export sharepoint list to Exel or Access. I have refer This one , you can also try it . https://www.microsoftpressstore.com/articles/article.aspx?p=2224034&seqNum=2



Top 50 recent answers are included