Tag Info

Hot answers tagged

13

Both the description and the solution of your issue can be found here : Unable to Open PDF Directly from SharePoint 2010 ([Link edited on 11/20/2013]. Basically, it's a security feature (that can be disable, if you accept the implication), that prevent some files to be displayed in the browser directly. Typically, what would prevent someone to put some ...


6

This is one of the limitations of an external list; there is no way to get a datasheet view with the built in functionality of SharePoint. Other limitations are quite well ennumerated on this blog post. As you can see, there are quite a few of them and it is worth bearing these in mind when designing solutions with the Business Connectivity Services.


5

If you have SharePoint designer, open the view with it and change the settings "read only" to FALSE and then you will be able to modify the views from SharePoint.


5

Add a CEWP to your page, under the calendar, and link it to the following script: <script type="text/javascript"> // // Calendar - Weekdays only // // Regional settings: week starts on Monday. // Change the CalendarWidth value to adjust the width of the calendar. // 742 pixels is the default SharePoint value. // Set the value to zero for automatic ...


4

Are you just doing this on a field by field basis? If so then you can override the rendering template for a particular field using fldtypes.xsl files. Drop these into templates/layouts/xsl and they magically work. So if you had a custom field called MyBigField, you can define an XSL just for displaying that field value in a list. More info here:- ...


4

Assuming that customerListView.aspx is a web part page, you can add a Content Editor Web Part on that page and add following as content of that web part. <style type="text/css"> body #s4-leftpanel { display: none; } .s4-ca { margin-left: 0px; } </style> This is documented in several blog posts on the internet.


4

Since you didn't provide version information, I'm assuming that you have SharePoint 2010. So, you have two links for adding a new item there: Add new item link under the list view New Item button in ribbon I reckon the most right way here is to change these two links and provide the same query string parameter ('Name') from the view page along to the ...


4

Go to your browser and click the arrow to modify the web part. Expand the Advanced Section and replace the Title URL with your desired URL.


4

I do not think that can be done. It shows the 4th view only once we click on it. (Dynamic HTML) But I found a workaround. Go to Edit Page. Click on Add web part and add a content editor with the links to all 4 views. Edit list view web part and disable the view selector menu. Also if needed, set tool bar to no tool bar and remove search. (Look where to ...


4

Since you are using SharePoint 2013 I would recommend you to consider the following approach. In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which is intended for rendering of List Views and Forms using HTML and JavaScript and which is a default rendering mode. About View selector menu As part of CSR ClientPivotControl control ...


4

I don't think this is a problem. Otherwise you could create a new View which looks the same as AllItems.aspx, set this as default view and give it your desired title.


3

The checkboxes are in the section of the webpart view called "Tabular View" Edit Webpart -> Edit the Current View -> Tabular View Section -> Allow individual item checkboxes


3

Make sure you've configured the Datasheet section of Advanced Settings in List Settings. You should be able to edit the list in datasheet view, if the radio button is checked to "Yes" under "Allow items in this list to be edited using the datasheet and you have the correct permissions to modify the list.


3

You can use the SP.View.viewQuery property to fetch the query of the existing view. And assign that query to the new view by using the SP.ViewCreationInformation.query property. Example: viewInfo.set_query(yourOriginalView.get_viewQuery());


3

Unfortunately you cannot filter the managed metadata for the parent and also return child terms when creating a view. An alternative is to turn on metadata navigation. This would give you a navigation control on the left hand side of the page to filter by fields. Clicking on a top level term here would also show all the items with sub terms. This can be ...


3

Applying such complicated filter just isn't possible from UI. However, you can do it e.g. from SharePoint Designer or Powershell. From SharePoint Designer: Open your site in SharePoint Designer Go to Lists and Libraries Select your list There is "Views" section to the right. Find your view there and click on it. Code editor will be shown. Find ...


3

Add after </Where> <QueryOptions> <ViewAttributes Scope="RecursiveAll" /> </QueryOptions> Reference: Need a CAML query to "show all items without folders" in sharepoint list view.


3

If you are only concerned about what documents users can see in the web part you are making then this is relatively straightforward using the Audience Targeting option in the web part. To do this you would make a web part for each of the different user groups, and for each one input the respective audience in the web part settings. The audience targeting ...


3

This might classify as more of a work-around than a solution, but I used the guid of the view as the webpart id. I decided to look into the content database to see how views are stored. In the stored procedure proc_CreateView I found that views are actually stored in the AllWebParts table with the ViewId inserted into the tp_ID column. So I added the ...


3

Get the web and list: $w = Get-SPWeb http://localhost $l = $w.Lists["My list"]; This is how you select the view "All items": $view = $l.Views | ? { $_.Title -eq 'All items' } Then just add fields: $view.ViewFields.Add($hereGoesFieldName); And update view: $view.Update();


3

SharePoint 2010 Use ClientContext structure that is generated on the client-side and contains List View details: //find active View Id function getCurrentViewId(listId) { var viewId; for(var ctxKey in g_ctxDict){ var curCtx = g_ctxDict[ctxKey]; if(curCtx.listName == listId){ viewId = curCtx.view; break; } } return ...


3

This should do it: Download jQuery and save it to /SiteAssets/ Create a JavaScript file named comma-break.js and save it in /SiteAssets/ with the contents of: $(document).ready(function () { var str = $('.ms-listviewtable').html(); //; $('.ms-listviewtable').html(str.replace(new RegExp(", ", "g"), ",</br>")); }); Add a Content Editor ...


2

spStacker see this http://spservices.codeplex.com/documentation. to get the querystring value or just use javascript. You can use Jquery to set the field to be readonly in Editform.aspx. Hope this helps Patrick


2

The Web Part in your page includes a single view of your list ("default"). If you want to change it, you need to edit the Web Part. You have two ways to do this: modify view in the ribbon edit Web Part (drop-down menu in the top right of your Web Part)


2

Actually about this : http://spff.codeplex.com/ Hope this helps


2

Someone has either closed or deleted the list view web part. Try appending ?Contents=1 to the end of the URL and see if the web part is closed. If it does not show up, then edit the page and add the document library web part back to that document library.


2

Try to create calculated field based on your two columns that returns true if one of your columns is a substring of another and false otherwise. Use FIND function: http://office.microsoft.com/en-us/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx Then create list view filter based on the calculated column.


2

I believe this is what you are looking for Sorry for the powershell snippet, but it will be easy to test and easy to convert for usage in other api's # Add SharePoint PowerShell Snapin if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null ) { Add-PSSnapin Microsoft.SharePoint.Powershell } $web = Get-SPWeb ...


2

I think the problem here is you're retrieving the view from an indexer. Try something like this for each view: SPView allItemView = CurrentList.Views[AllItems]; allItemView.DefaultView = false; allItemView.Update(); CurrentList.Update(); Additionally - this is database-heavy in terms of what you want to do (lots of read/writes just to set a default view ...



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