sharepoint2010

Hiding folder structure for a view in SharePoint 2010 list definition

There's a setting on the "Edit View" page in SharePoint 2010 that allows you to show all items in a list, ignoring folder structure. The setting is under Folders > Folders or Flat > Show all items without folders. My question is: Is there any way to enable this setting via an XML list definition created in Visual Studio 2010? Is there...

Document library in WebPart?

There is any way to add Document library to (Visual) WebPart? I need to show files from file system and webPart which i need should looks like sharepoint document library. How could i reach the goal? ...

How would I create a theme setting event receiver for Sharepoint 2010?

Currently we have a custom theme applied to Sharepoint 2010 main page. When a new site is created, it has the default theme. We would like all newly created sites on this Web Application to use a specific theme that we specify. I would like to create an event receive for Sharepoint 2010 that sets a specific theme when a new site is prov...

Commerce Server 2009 with SharePoint 2010

Hi, I'm trying to decide to between using MojoPortal for my organizations CMS or Commerce Server 2009 with SharePoint 2010. We already have SharePoint 2010 for our intranet. In that thinking, perhaps it would make sense to deploy the same technology? We do not have a lot of traffic but do need basic e-commerce functionality. I haven'...

SharePoint crawling - Windows authentication failing for STS4?

In a Sharepoint 2010 installation, we are trying to crawl the content of a small, single-node SharePoint installation. The crawling is partially successful. We are able to retrieve data delivered from the web services (_vti_bin/sitedata.asmx), but when the crawler tries to access the full page contents, it fails. The error message shown ...

Redirecting to a diffrent List/Item after editing one in SharePoint 2010

Hi, currently I'm trying to find a solution for following request. In SharePoint I've to lists, which basically contain the same content type, only with a few differences. List A contains items, which need authorization from a special person. If this person sets the status of the item to "approved" as example, the item should be copie...

Can we create a list template without creating a list first in SharePoint 2010?

I know how to create a list template by creating from an existing list. Can we create a new list template from the scratch without creating a list first? If so, any brief steps? Can I delete the list after a list template is created from the same? ...

Calling a custom WCF application from a SharePoint 2010 Web Part

All, I created a WCF application that interacts with data in a database. I also created a new visual web part that consumes it. I also created an ASP.NET application that calls the web part the exact way. The web part does not work, it gets the following message, however the ASP.NET application does work. Could not find default e...

How can I change a site's default language after creation (sharepoint 2010)?

after creating a site you can go to: Site Actions / Site Settings / Site Administration / Language Settings and select some alternate language(s) if you've got some language pack(s) installed, but the default one is fix and you can't cange it anymore. Is there a way or some settings.file where you can change the default language? ...

Error calling WCF service that is returning list.".Debugging resource strings are unavailable ......etc etc"

Ok.this is just making me frustrated... Here is step by step of what I am trying to do (& not able to) I am calling WCF service hosted in a SharePoint 2010 site from a silverlight app in same domain (So no cross doman I guess). I use Linq to Sharepoint for querying the DB. I am having a list "machines" in Sharepoint 2010 that is havin...

dynamic Information management policy

Is it possible to create custom Information Management Policy using code with Sharepoint 2010 and assign it to the existing documents? ...

Sharepoint 2010 media web part

Hello, i want to add vedio to my sharepoint 2010 site but i can't find the vedio and Audio web part can someone help? ...

AJAX + OData + Basic Auth for Sharepoint 2010's ListData.svc, JSON-P or JSON + xdr

I am looking for a way to either: Do a cross domain plain JSON request a-la YUI IO (http://developer.yahoo.com/yui/3/examples/io/io-xdr.html with Basic Authentication) or alternatively, Have Sharepoint 2010's ListData.svc support JSON-P (e.g. /_vti_bin/listdata.svc/?$format=json&$callback=loaded) so I can use jQuery.ajax to make a Bas...

Simple project app Should I import wsp or start with empty?

Hi! I'm a bit confused on what approach to take for a my SharePoint sln. The sln should be structured for easy deployment. It is a simple app for handling projects. This is the site hierarchy: - ProjectRoot - AllProjects - Project123 - Project345 - ... (User should be able to create new projects under AllProjects.)...

[Sharepoint 2010] Calendar Expand All by default

Hi every body, Anyone know how to have the calendar view expanded all by default?? Seen a lot of information on how to do this with SP 2007 but not SP 2010. ...

How to upload a file to a SharePoint library via one of the standard webservices

I have to upload some XML files to a SharePoint library. I have to do it from a computer that is not one of the SharePoint servers (so object model will not work). Also the library has a custom (integer) column and I have to set it's value for the uploaded file. How do I upload the file and the the value by using the standard WebService...

SharePoint Client Object Model (COM) File Version Information

I am trying to get some basic file version information using the new SharePoint Client Object Model (COM) with SharePoint 2010. I have successfully loaded and queried for my ListItem, File, and FileVersionCollection like this: using (ClientContext context = new ClientContext(site)) { context.Load(context.Web); List docs = context....

Application Pool Identity and 403 Forbidden Error

I am trying to understand the cause of this 403 Forbidden Error on my SharePoint Dev machine. When I installed SP on my Win7 box I added myself as the Application Pool Identity the runs Central Admin. So to fix this I created a new sp_AppPool account on my machine. First attempt to access site indicated the Farm Config db could not be...

How can I extend the OOTB Content Editor Web Part in Sharepoint 2010?

I need a webpart that has a plaintext field for a title, an image for a thumbnail and a HTML content-editable block, so I thought the best way to do this would be to try and extend the existing Content Editor Web Part. Unfortunately, the CEWP is marked as sealed so I can't subclass it. I've reflected and tried to recreate the functionali...

How do I display a Sharepoint DropDownChoiceField within an SPGridView using an ItemTemplate?

I am using an SPGridView within a custom control to display data from a list. However, I want the user to be able to edit that data dynamically, so I have bound text boxes to each column within the list using TemplateFields. When an update button on the control is clicked, the control goes through each text box and updates its correspond...