New answers tagged

0

Your item-HTML needs to be formed like the default html. If you dont want to rebuild everything just call RenderItemTemplate(ctx) and modify the return html. Example (function () { function RenderListItemTemplate(ctx) { var $html = $(RenderItemTemplate(ctx)); $html.children("td").css('font-weight', 'bold', ...


1

I'd almost forget about this problem, but accidently I'd found the way to solve it. The main difference between SP2013 and SP2010 - is javascript rendering! In 2013 - javascript is everywhere, and XsltListViewWebParts (classic list view) by default are rendering on client too. That's why Xslt-transformations for header working, but not visible! To see it, ...


1

I can think of three ways in which this code has gone wrong. The long URL that you are mentioning is actually a view inside a site collection which is not the root site collection. Meaning that you are trying to access a the root site collection instead of the actual site collection. The easiest way of knowing this would be to check if there is a "sites" ...


0

Is there any chance you could try the "Query string Url" filter connected to your list view web part (with appropriate column)? If you need to, you can also pass the date explicitly in the querystring through JS or jQuery.


1

For us it was some columns are indexed twice. So we created index for: Column A, Column B, Column A + B By removing the third index we solved this issue. Pretty hard to understand why Ms even allow the combination in this case.


0

You can pass by the threshold with PowerShell, however i don't think this is applicable because we are talking about standard users. What you could take a look at is creating something referred as "Happy Hour" in SharePoint, which is a daily window where the resource throttling is turned off and users can perform large queries against lists without any ...


0

Just create a page and add a List view web part - in 2013 this is just insert -> Web Part -> select library. You can customize the view on this page and then set permissions to this page. Don't use audience targeting as mentioned above as this isn't security. SharePoint is security trimmed, so if you add the page to the quick launch, if a user doesn't have ...


2

Create a View with a filter. The condition for the filter would be: Select field "Checked-out to" "Is not equal to" Leave value empty


0

I have finished part 1 of 2 for my solution. The essentials of part 1 are, if you want to get more than one tile view from promoted links you have to create a new view and click on Custom View in SharePoint Designer. If you want to see the full part 1 blog post you can check out the german or english versions here: Multiple tile view and list tabs 1 of ...


0

Site Contents is only designed to show lists, libraries, apps, and sites and it isn't configurable. One easy way to address exposing these list view pages is to use the built-in navigation (left and/or top) and create links to your list views. Another option along the same lines would be to create a single "index" page that you link to in the navigation. ...


0

I think, instead of site contents, you may add in "Site Actions" which can be done using feature. Or may be in quick launch.


1

Add all the needed list view web parts on the page and put them in tabs using jQuery. See below link for putting web parts inside tabs. http://www.markrackley.net/2015/08/16/sharepoint-tabbed-web-partshillbillytabs-3-0/ EDIT: I see you tried the tabs solution with TopSPTabs.js. Can you explain little more on what issue you are facing with that? Does it not ...


0

If you want to change the list column width, you can give the html code as a formula. =<div style=width:"20px"> Like this you can change the appearance of the list by using the html code in the formula Hope you got an idea from this.


0

Having tested, you are indeed correct, this does appear to be a bug. However, I would note that the "Show Toolbar" option is the 2007 version of the toolbar and thus, isn't the default. "Full Toolbar" is the 2013 equivalent and appears to reset itself each time you create a view, as you yourself explained. My apologies


0

You can use the Audience feature. You choose the view that you want to restrict. Edit the page. Edit the web part. In the web part under Audience enter the group that you want to be able to see this view. Repeat the process for the other views. This video explains it in more detail. https://www.youtube.com/watch?v=q5zMgGTq9Z4


0

That order is alphabetical. I would put numerical prefixes. 01. Comments 02. Category grouped 03. Active Projects Alternatively, I would abandon the views on the top nav and add a section in the left quick launch for important views, assuming this is the main list/library on the site. You can order that however you like. Last ditch would be a link ...


1

Below is the javascript for JSLink(display template) file which does the custom sorting. You need to modify the 'viewNames' array to include the view names for your list. Add them to the array variable in the order you wish to see them on your page. You need to edit the webpart properties and add a link to this JSLink file for each view page if you want the ...


0

Including a previous post which may be of some help to you. It shows how to add more than 3 views to the header. There's probably a way within this context to change the sort order as well. There are links in the comments on the below post which address the sorting issue and additional posts which offer some options. How to display more than 3 views in ...


0

Actually, what you can do: 1. Open Site Actions (wheel / settings icon) 2. Click Edit Page 3. Add a Content Editor zone 4. put JavaScript in there to re-arrange links JavaScript to re-arrange: var container = $("[id$='ViewSelectorMenu_Container']"); var view1 =container.find("a[alt='View1']").detach(); ...


1

Found a simple solution to get around this problem. Go to "List Settings", create a new view based on the current (problematic) view. Make that view default. Now in your newly created view, you wont see the view title on top. Delete the old view and you are done.


1

You can use the below code, Add Microsoft.SharePoint and Microsoft.SharePoint.Security Namespaces. public static int GetItemCount(string SiteUrl, string listName, string viewName) { int count = 0; try { SPListItemCollection items = null; SPSecurity.RunWithElevatedPrivileges(delegate() { ...


0

You can use the below code to get count of items for particular list view using (SPSite oSiteCollection = new SPSite(strUrl)) { using(SPWeb oWebsite = oSiteCollection.AllWebs["Website_Name"]) { SPList oList = oWebsite.Lists["List_Name"]; string viewGUID = list.Views["View_Name"].ID.ToString("B").ToUpper(); SPQuery query = new SPQuery() ...


3

No, Its not possible to change the list item threshold value, What happens if you have 5001 items? This little gem of an error pops up: "The number of items in this list exceeds the list view threshold, which is 5000 items. Tasks that cause excessive server load (such as those involving all list items) are currently prohibited." In a nutshell, you will not ...


1

In SharePoint online list view threshold can not be modified. As answered by Erik. Sharing two workaround that may help you out : You can splits the items into multiple list so that no lists exceed 5000 threshold. Reference Create more views and sync the items to different views. Below links will help you to achieve. Create, modify, or delete a view ...


3

Increasing the List View Threshold in SharePoint Online is not permitted. This article has some suggestions for working around the LVT - http://www.markrackley.net/2014/10/22/working-around-that-pesky-list-view-threshold-in-office-365-sharepoint-2013/


0

Set the filter in the view and select the person/group field and set the value to [Me]


0

You can go to Modify View in the top ribbon and apply a filter on said column equal to [Me]. I used Created By below, but a person field will work also.


0

You can solve this by going to the view settings and under the group by tab, select the groups to be expanded and not collapsed by default.



Top 50 recent answers are included