Tag Info

Hot answers tagged

3

SP 2013 uses clienttemplates.js to create the those views control. You can either create a JSLink or add the following script using the script Editor webpart to the page where your list view resides. <script type="text/javascript"> ExecuteOrDelayUntilScriptLoaded(overrideSurfacePivotCount, 'clienttemplates.js'); function overrideSurfacePivotCount() { ...


2

Firstly just to warn you that trying to hide the "Share with" option in SharePoint 2013 can be a bit like playing 'whack-a-mole'. The following CSS will hide this option on the context menu and also the ribbon bar (which was probably going to be your next question:-)). We normally have this in a CSS file that's loaded by a custom master page used in all ...


2

Edit the page and edit the web part. On the right hand side of the page edit the current view and deselect modified and modified by checkboxes. Save view, save web part, save page and publish (if applicable).


2

You just need to do it the other way round. Make it: Approval Status is equal to rejected OR Approval Status is equal to pending AND Created by is equal to [Me] which gives you (a OR b) and c.


1

This error occurs since view.update(); is called for deleted view, the specified line have to be removed. How to delete a List View using JSOM function deleteView(listTitle,viewTitle,success,error) { var context = SP.ClientContext.get_current(); var web = context.get_web(); var list = context.get_web().get_lists().getByTitle(listTitle); var ...


1

The new page added in layouts folder "inplview.aspx". When paging, sorting or filtering happens there is an AJAX call to the inplview.aspx and it returns a JSON based result set. That is the rows of the defined list view webpart. The "inplview.aspx" generates the "inplviewhash" tag and appends it with "#" in url.


1

Probably the "Double Encoding Bug". You can find a workaround here: http://thesharepointfarm.com/2014/06/workaround-ms14-022-double-encoding-bug/


1

1) You can edit the page that contains each view (Site Actions > Edit Page) and then insert a Content Editor Web Part. Within this web part, you can add links to each of your views and format/style them as needed. 2) The property that controls the default value is hidden by the XsltListViewWebPart control, so unfortunately we can't modify it to be a value ...


1

Go to Edit web part. Then click Edit the current view. Then Uncheck the modified and modified by. This will hide your columns.


1

Use the CSR function. You can insert a script in the view, the steps are: Go in the view you want to edit. Click "Settings" which is next to the user name in the upper right corner. Click "Edit Page". In this part you can already edit many things. In this part you can already edit many things. To insert a script in the view click "Edit Web Part" ...


1

You need a different data structure for that. Two lists with parent child relationship. Transaction list with Transaction ID and other transaction specific details that occur only once per transaction, e.g. Date. Fees list with Transaction ID, Name, Role (broker or agent), and fee amount. Then you can sum fee amounts by Name.


1

Sums in Sharepoint is primiiitive and you can't do that OOTB. The only way I could thing of is to use jquery to add the values. If they are many items, web part.


1

I've used a technique like this in the past to handle the execution of jQuery after webparts ajax load or ajax refresh, http://stackoverflow.com/a/7062485/318776. Basically after the ajax call/postback is complete, it will execute your code. <script type="text/javascript"> Sys.Application.add_init(function () { ...


1

I find setting the JSLink in the Web part properties unreliable. I could only get it to work by storing the .js in certain places. What you should try is, attach it to the view itself and not the web part. Run this powershell script to set the JSLink, then refresh your listview's View again in Web Part Properties. (I like storing my .js in _layouts but it ...


1

Try wrapping your override function within ExecuteOrDelayUntilScriptLoaded() so that it loads after clienttemplates.js is loaded. function registerRenderer() { var overrideCtx = {}; overrideCtx.Templates = {}; overrideCtx.Templates.Fields = { 'LinkToFile': { 'View': renderFileLink } }; ...


1

Try creating a view. Navigate to that view, and "Edit" the page. Then edit the List View Web Part, expand advanced, and add your audience. This does not hide the view in the dropdown however.


1

You can add several list filters through sharepoint designer but you cant do this through the front end web page



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