Tag Info

New answers tagged

0

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.


0

You can try the below powershell Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $siteURL = "http://sp14fdev01/" $site = Get-SPSite($siteURL) foreach($web in $site.AllWebs) { foreach($list in $web.Lists) { if($list.BaseType -eq "DocumentLibrary") { // the variables `$web` and `$list` already reference the objects you need ...


0

Try this code SPList _list = _web.Lists["My List"]; SPField _field = _list.Fields["Name"]; _field.ListItemMenu = true; _field.LinkToItemAllowed = SPField.ListItemMenuState.Required; _field.ListItemMenuAllowed = SPField.ListItemMenuState.Required; _field.Update(); _list.Update();


0

I have had instances of list views "getting corrupted", meaning they just stop functioning properly. I can usually resolve the issue by deleting the view and rebuilding. Verify the view after each change you make to identify what is breaking it. Sorry I don't have a concrete answer for you. Let us know what you found to be the cause.


1

In the View Settings: Add the Created and Modified dates to your view open the Group-By section and group by the your date field. sort Descending Open the (View) Totals section (below the Group By) and Total by Count for your date field


0

Group the view by the 'last modified' date - it will group on the date only, not including the time. The 'header' for each group will show the counts - if you set it to start in collapsed mode it will be easier to see the totals. As far as checking whether they are modified or new, you can check to see whether Modified is equal to Created. Can't do that in ...


0

Assuming you have jQuery, you could do something like this in your display template: jQuery(STSHtmlDecode(ctx.CurrentItem.yourprop)).text()


0

I published now another Step-by-Step guide for "how to add links to Promoted Actions". It looks like this: It's by now in German but I think you should get it. If not, let me know and I do it maybe in english as well.


0

I guess you want some view behind the link like this: I achieved this via Content Search Webpart, display template and managed property. If so, I just published a Step-by-Step guide in my blog. Don't be afraIT.com to check it out and if it helps to solve your problem please mark this post as the answer.


0

To achieve this goal you can use JSLink in SharePOint 2013 or SharePOint Online. You need to do that: Set JS Link property in List View Web Part We can use JSLink property included in SharePoint 2013 List View Web Parts – Create a new Standard view – Edit main page of the view – Edit XSLTListViewWebPart properties – Set JS Link property as ...


0

You can give it a try using REST query as below: <script src='http://code.jquery.com/jquery-1.11.3.min.js'></script> <script> var xmlString; try { //REST Query to get the display form url jQuery.ajax( { url: "http://<URL>/_api/Web/Lists(guid'<GUID>')/Views(guid'<GUID>')", ...


0

You apparently have to have Tablular View turned on for a view in order for Quick Edit to work.


0

" then I changed the language to Arabic " where did you change this? Are talking about language and region setting of user? Why are you expecting your webpart to change depending on the user language setting, as its a single page you are referring to. You might need to use some script to detect user language and change/hide webpart on runtime. Please help ...


0

Yet another option is to not use views at all. You can create a separate pages library which you make available (by permission) only to your team. There you make a blank page per "view" where you add a webpart for the list you want to show. Configure the "view" settings through the webpart properties. This is more secure because it does not "hide" but ...


1

You can't hide a view from some users and not others, but there is a way to hide a view from everyone, and then you can let your team know that, though hidden, the view still exists. From the list settings page, choose "Per-location view settings", then select the views you want to hide and click "Remove". Those views will no longer show up in the view ...


0

SharePoint view has a property SPView.Hidden. If you set this property to true, this view will be not visible for other users, but it still can be opened using the direct URL. You can set this property using PowerShell with Server Site Object Model or CSOM, or using JavaScript.


0

Count is displayed using "Modify View" option and COUNT text cannot be changed through sharepoint configuration. If you must, then you can take help of below optins. However, you will need some advanced skill set for this Sharepoint designer / Add new dataview webpart and change text. Add CEWP above library and change COUNT text at the runtime.


0

If yous store .js file in masterpage gallery or styles library you have to write the .js file url like this: Sitecollection level: ~sitecollection/_catalogs/masterpage/myjslinkfile.js Site level: ~site/_catalogs/masterpage/myjslinkfile.js Layouts should work fine without ~site or ~sitecollection...


0

If you want to be able to click anywhere then you'll have to create some custom javascript on your list view page that will add an "onclick" event handler to every "tr" that will open the edit page for that item. It would work but then you end up with duplicate onclick events if the row has any links in it.


0

A simple approach would be to use a script editor or content editor web part on the page sitting above the list view that has a button that redirects the user to the new item form of the child list or opens the child list new item form in a modal.


2

You have three options to open up an edit form from the list. Edit Title Edit opens the edit from, while title opens the view form, from which you can navigate to edit from also. You can enable these columns by modifying the view. Other way is to create a calculated column and adding a link to the form if you know the URL like: ="<a ...


3

One of the available columns that you can add to the view is titled "Edit", and it usually works best to place this column first in the view. It will display as a small icon that, when clicked, will bring up the edit form for the record.


0

After taking some time away from it, I figured out what was going on. When I initially added the list view web part, the TablePos column had not yet been created in the list, and wasn't included in the view of the web part. I was generating the XML using a second list view web part that included the TablePos column by default, so it was returning XML for ...


0

I found the answer to this. We can pass a query string parameter {Source} which passes the HTTP request URL. https://msdn.microsoft.com/en-us/library/office/ms431831.aspx In my case, since the app is triggered from as custom ribbon action, i get the list view URL in query string. From this I can get the list view name and similarly the fields in that list ...



Top 50 recent answers are included