Tag Info

Hot answers tagged

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.


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


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


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

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.


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


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

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

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

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


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

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


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

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.


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

I found the way to make it work: overrideCtx.Templates.Group = CustomGroup; function CustomGroup(ctx, group, groupId, listItem, listSchema, level, expand) { var html = '<div style="float:left">' + listItem[group] + ' : </div>'; return html; }


2

You have to configure a custom BDC model, external content type, and then an external list. There is a really good article at C# Corner on the topic. Here are the steps at a high level: Using VisualStudio create new Project of type SharePoint 2010 > Business Data Connectivity Model. Modify the default Entity from the BDC Model to fit your view. Build the ...


2

I did some experimentation a while back involving CAML operators with various field types, and it seems that all external columns get passed back to SP as Strings. You can use DateValue(InsertDate) in your formula to get it as a date (possibly using a calculated column if needed).


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



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