New answers tagged

0

To make this work you need to edit the CAML query and make use to Membership property. As per my understanding you can only do this via SPD.


0

Try This Using CSS: <style type="text/css"> ​​td.ms-vb{ display:none!important; } </style>​​​​​​​ Using jquery: $(document).ready(function(){ $(".ms-vb").css("display","none"); }); Edit : Other way out is you have to keep this in a css file. and add its reference to master page. Since default css is not allowing it to override, you ...


0

You can't do this with the out-of-the-box view. I think you will need to either program it yourself or look for third-party solution. BTW: I agree that duplicating the documents is out of the question. This will only lead to major confusion.


0

Since you have selected Kunde as the column by which grouping is done, All the values entered in Kunde column will be a particular group. That is the default behaviour of grouping by columns. Now if you want to have document present in both group, add the document twice, one by selecting BBraun and next time by selecting SealTest. Or if you wish the user ...


0

You can do this with a bit of JavaScript on the page. Edit the newform.aspx page and add a Script Editor web part with this code (note the use of jQuery hosted by Google: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script> var internalNameOfUrlField = ...


1

I found the solution - In the List View set the following filters: Filters: a) Modified - Less than or Equal to - [Today] b) Publish Date - Less than or Equal to - [Today] c) Publish - Begins with - Yes Sort by Modified (Descending) Item Limit = 1


0

Looks like the same issue here, where the end result was submitting a bug report to MS. That wont get it fixed.(not fast anyway) You will still need to figure out a work around. ...


0

Just an FYI I tried all the above and could not get anything to work correctly. After about a day of being ready to pull my hair out, I figured out, it does matter if you use ~site vs ~sitecollection depending on where you store your .js file i.e.: ~site/dev/Js/_catalogs/masterpage/JSLink/JSLinkDivExample.js The above did not work for me, but when I ...


0

Here is the closest I can get for you. Make a view that has the columns you want to count. In that view, in the Totals section add count totals. In the Item Limit section, make batches of 1 This should get you in the right direction. You may have to have a separate view with filters for each column to get accurate totals. I also noticed in my testing ...


0

I need to show a count of every row (3 rows) of all the YES drop downs. You mean 3 columns/fields in one item ?? Since a True/Yes value equals 1 and False 0 You can use the SUM() function (up to 30 parameters) =SUM( [Field1] , [Field2] , [Field3] ) Update #1 OP wants the sum of a column and not display the column in the view That is not ...


0

Try This <View> <Query> <Where> <Contains> <FieldRef Name='Title'/> <Value Type='Text'><UserID/></Value> </Contains> </Where> </Query> </View>


0

I usually use this approach when querying a list: _api/web/lists(guid'D38E6516-FB4F-4FCF-9E29-4FEC9CE06D2B')/GetItems(query=@v1)?@v1={"ViewXml":"<View><Query><Where><Eq><FieldRef Name='Your field here'><Value Type='The field type'>The value you want to look ...


1

A CAML query for that would look something like this <View> <Query> <Where> <Contains> <FieldRef Name='Title'/> <Value Type='Text'>username</Value> </Contains> </Where> </Query> </View> But I do wonder why you ...


0

Basing on the workflow development, try possible to create a choice column and update the column value when the workflow runs based on state level of sequential, create a view based on the new column


2

Folders are also counted as Items and as such filter rules also apply to them. Since the folder does not have the user on the column it is not showing it to them. What you can do is add another filter (using OR) and set the logic to show content type Folder. This means it will show ALL folders as well as all items that have the user = Work Allocated


0

You have several options here. You can have your Farm Admin's Change the List View threshold which I wouldn't recommend but see the link below for something that may help you filter that data more easily. https://blogs.technet.microsoft.com/quentin/2014/07/15/the-list-view-threshold-stop-dont-change-it/


0

That seems like a lot of work when you can just go into SP Designer and edit the view and change the column name. Very simple to do...


2

On the Team site page, edit the page and edit the list web part choose the view you would like to add. (Screen Shot 1) If you don't find a view that works for you, create another view (starting from the all items view) and it should show on the drop down to choose from! (Screen Shot 2)


0

Closing date is greater than or equal to [Today] Works if you wanna show the ones that are being closed today and in the future. Otherwise change is greater than or equal to to greater than to show items that will be closed the next day and further on. Update To show only items after a publishing date and stop them when the expiry date is equal to ...


0

The summary view is a carry over from 2010. I believe the AllItems.aspx view uses new client-side rendering techniques to display the ratings/like field. You'd want to take a look at 'SP.UI.Reputation.js' file to see how it's implemented. Option 1: You can mimic the summary view using the JSLink and implement your ratings/like system. Easy but time ...


0

You can't achieve this out of the box. Work arounds I can think of Create views for each group Create a page and add those views into the page as web part. Audience target each web part to each group. This will hide web part current user is not part of. Disadvantage is if user is part of more than one group then user will see multiple views on the page. ...


-1

You can use audience targeting for that, and set admin group there.


1

The view is just a filter of the all items view and when the incoming email is received, it will automatically add to the calendar and all views. So the answer, as far as I know, is you cannot send it to a specific view. However, think of a way to show the incoming email on that specific view using metadata value and hide it from the other views based on ...


0

this can be done using custom code. Basically, you can get the list item count and then update the field of the other list. var ctx = SP.ClientContext.get_current(); this.list = ctx.get_web().get_lists().getByTitle("MyList"); ctx.load(list); ctx.executeQueryAsync(Function.createDelegate(this, OnSuccess), Function.createDelegate(this, OnFail)); ...


3

You won't be able to restrict the views to certain users, for your requirement you need to set the item-level permissions. Go to list settings >> Advanced Settings >> Under Read access (check: Read items that were created by the user). This allows the user to read/view their items created by them. Admin should be able to view all items.


1

Create a form load rule that checks to see if the user is an admin or not, and switch views depending on that condition. For example if current user not admin, switch to Edit view.


0

The easy way is to create a view with all the columns you are listing above and show the list view web part on the homepage. You can use JSLink to customize the UI (if you are looking for a fancy looking table) Here is a link on how to use JSLink to customize the OOTB list view https://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a


1

Use a standard Description column and apply CSR to make it look and behave anyway you want. CSS can clean the View /* ListView - make Description fields a maximum width and height, and show full text on mouseover*/ /*.ms-itmhover is the TR row*/ .ms-vb2 .ms-rtestate-field{ max-width:40em; max-height:2em; overflow:hidden; } .ms-vb2 ...


1

One possible solution: Create a Notes column, then create a list form, named something like "CustomEdit.aspx" that has nothing in it but the Notes field (hide all the other columns in the list), and use another column, named something like EditNotes to have the hyperlink to the custom edit form. Something like: ="<a ...


0

You can use ctx.ListData.Row to loop the rows, either in a CSR OnPostRender or any script after the View has loaded. Thing is, If you hide empty TD cells, the column header will still be there, messing up the layout. So you need to hide the TH column header as well. var fieldname = 'DueDate' , label = document.querySelector("a[id$='" + ...


0

I think you should modify AllItems View. Just click on ... (three dots) and click on modify this view. Uncheck column names that you don't want to view. Click OK. You are Done!


1

if you need javascript solution you can try this: $('a[name^="SPBookmark_{colname}"]').parent().parent().parent().hide(); Replace {colname} with desired column name which you want to hide.


1

What you want to achieve can be done using OOTB SharePoint functionality. Have a look at "Folders" section when creating a view. This allows you to create views for your folders (not including the empty columns) and for the files within the folder (showing all columns). Nice blog about this option: ...


0

You can use JSlink to make attachment download by clicking on Paper Clip Icon representing attachment. You can use the code and explaination provided in the below link. Make List Item Attachment link clickable with JSLink It works wonder.


0

You can use Event Receiver and create another list (ListA) to record your attachment link. Maybe your process is: Users add list items and attachments List event will be fired Use Event Receiver to get attachment url and then Write into ListA You also can refer to the following web site: ...


0

A user with Contribute permissions cannot delete a public view. They need at least Design permissions to do that. Be sure to check the permissions on the list, since it may not inherit the perms from the parent site. don't know that one Why don't you restore the view from your backups? Also, a list view should not be too hard to create. List views are not ...


0

One of the ways of doing this (for all three forms) is to modify how the field itself is displayed. That is, go to list settings -> select your "Person or Group" field to open its edit field page. Now there should be a drop-down at the very bottom saying something like "Specify which information to display", and there you will get options like "Email", ...


0

For SharePoint 2010 only. One can use below script for freezing header of the list. It provides both vertical and horizontal scrolling of headers. //jquery lib <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> //style sheet <style type="text/css"> .fixedBlock { POSITION: fixed; TOP: 15px ...


0

I do not know if the default behaviour of HTML rendering can be overridden for BCS list, however I have used HTML editor to supply filter parameters to web parts before. Check out this article to understand how you could filter a web part externally i.e. maybe via a value in a text box or through a drop-down. The concept is, you create an HTML form with ...


1

If you are using CQWP to display list items then you can manage the view and look and feel of your list items in any of the manner which you want. You have full access to work with look and feel of List item in CQWP using SPD. Please have a look to this link Customizing the Content Query Web Part and Item Style Or if you want to read full article on this ...


3

Yes you can. Just go to modify view page, and add the filters like this: closing date is greater than or equal to [Today] publish date is less than or equal to [Today]



Top 50 recent answers are included