Tag Info

Hot answers tagged

6

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


5

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

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

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.


3

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


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.


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


2

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


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

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

There is an option in the ribbon "Open with Explorer" . This effectively opens the document library in your windows explorer and on the right side of the explorer view you can get to see the hierarchy of the folders and files of the document library. All you need is update the client browser(IE) with the correct active-x control version that is needed for ...


2

Set the Draft Item Security in the Announcement List in Child site to either "Any user who can read items " or "Only users who can edit items" while setting the versioning settings. This way users can see every announcement item in the child site. In the parent site set the logic for seeing Approved items only in a webpart like COntent Query Webpart. EDIT ...


2

How to pass list item Id in Xsl for List View: <a> <xsl:attribute name="href">javascript:openDialog(<xsl:value-of select="$thisNode/@ID"/>);</xsl:attribute> <xsl:value-of select="$thisNode/@Title"/> </a> Example of customizing field in SharePoint 2010 The following template <xsl:template ...


2

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


2

Writing queries directly on SharePoint databases is highly discouraged. You should consider the database as a black box which you can interact with through the provided APIs (either SSOM, CSOM, REST or web services). Here's how you can retrieve a view definition, using SSOM: SPView oView = oWebsite.GetViewFromUrl("Lists/List_Name/View_Name.aspx"); var ...


1

BGM, i’m assuming you are talking about Data Views in SP designer 2010. there seams to be a few solutions out there, one creating a SOAP service, which is painful. i have also created a view in the browser, filtered by content type – then edited the view in SP designer – this then pre-populates the filter with the “contentType” field name – BUT ...


1

If I am not mistaken, "Current View" is actually the view for the webpart and does not really have a name as it is not a view in the library as well, but only for the web part. For example say you change the view to be "My New View" and save the webpart. The next time you go in and edit the webpart it is now current view. You can edit this view and it will ...


1

Management of public views requires the Manage List permission. You can create a custom permission level or use one of the out-of-the-box permission levels that includes the Manage List permission: Full Control, Design, Manage Hierarchy are a few Keep in mind that Manage List also enables users to manage list columns or delete the list altogether


1

I was able to implement this by using a customized View as with PirateEric's comment, but I needed to group the conditions in a way the GUI list view filter editor wouldn't let me. The solution involved using SP Designer 2010 to edit the CAML query for the filter directly. I figured out the query using the CAML Query Helper tool on CodePlex: ...


1

Here is a blog post that walks you through the process: http://blog.libinuko.com/2010/03/21/sharepoint-2010-howto-start-customize-list-form-neweditview-using-infopath-designer-2010/ Example:


1

I'm not sure, because I don't have environment now to look at the elements, but I think that you can find tag for time in html by firebug and use css or js to hide it. See this link for more details.


1

There are two possible ways to do it: Use additional column Use ReorderItems functionality In first case you create additional column "Order" of type Number, and set the view to order by this column. The second approach is much more interesting. In this case, if you don't want to involve code customizations, you have to use list of type "Links". For ...


1

In case you're still looking for a resolution for this I do something similar. I have a multi-select column in a custom list and I need to display rows from a different list that match. The difference to your scenario is that I use an InfoPath form for the user's selection. Then I have a DVWP beneath the ListView that has data source connections to both ...



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