Tag Info

Hot answers tagged

10

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.


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 ...


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

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

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.


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

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 ...


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

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());


2

In addition to what Kambridge has added you also need to ensure you have correctly installed Office 2007 Data Connectivity Component in the client system. This is used by the Datasheet view.


2

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.


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

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


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 ...


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 just went through something similar but we were not using document sets. I made all the columns for the content type I was using optional but kept getting the same error message when I tried to edit a row in datasheet view. To fix the issue I set "Allow management of content types?" to "No" and saw that a number of columns on the document library were ...


2

Not sure there is a specific answer to this one but it is something I have done several times over in both ways. The number of items is probably the first consideration - if the combined site would contain lists/libraries with many thousands of items then you may be better splitting them up into sub-sites. The next thing I usually figure out is permissions ...


2

There are many ways to get your query optimized (for example in batches). My recommendation is to use some SPQuery object properties. Here goes an example SPQuery query = new SPQuery(); string view = "<FieldRef Name='Title'/><FieldRef Name='Field1'/><FieldRef Name='Field2'/>" query.ViewFields = view; query.ViewFieldsOnly = true; ...


2

If you want to filter it based on workflow status This list might be useful when you creates a view based on workflow status. If you are creating a view for a list filtered by the workflow status, you would need use the number rather than the words (e.g. 2 instead of In Progress, 4 instead of Cancelled etc) Status Value Not Started 0 Failed on ...


2

If you think right view is not included in the XsltListViewWebPart, then you can get the instance of the correct view and add it to the webpart: SPView view = list.Views["Thumbnails"]; webPart.ViewId= view.ID.ToString("B").ToUpper()



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