.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

how do you package files with a feature in sharepoint 2010?

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :SharePoint
In my old sp2007 project, I would create a folder that would contain my feature, when it got deployed, any files would also be deployed along with them, so I could use them during feature activation later on (config xml files). How can I also deploy an xml file in 2010 along with my feature?nonam

View Complete Post

More Related Resource Links

Connect to Outlook feature in SharePoint 2010 still using .pst files?


The Connect to Outlook feature in SharePoint Server 2007 uses a .pst file to store content that is visible in Outlook. This has caused issues in the past with a client's enterprise policy of preventing use of .pst files on desktops. This particular client has an application that periodically checks for .pst files and deletes them, which breaks the Connect to Outlook feature for them.

Does SharePoint 2010 use the same functionality to Connect to Outlook, or something different?

SharePoint 2010 Master page feature stapling - not sure where to put files


I have successfully added a branding feature to my 2010 environment that activates on install. Just as expected, it does not work for subsite creation. I have seen a number of articles/blog posts on how to create a feature stapler for SP2007. However, I am having a hard time finding a working solution for SP2010 using VS2010.

I have a couple of questions that I hope someone can point me in the right direction on:

1. In my project I have a branding feature, this contains the EventReceiver that applies the change. Can I have a second feature here that does the stapling or does it need to be in a completely seperate project?

2. Everything I read points to two files feature.xml and elements.xml, are both of those supposed to be under Features in Solution Explorer or are they located somewhere else or do they need to be create. If they need to be created, where do they belong?

3. In the EventReceiver.cs file there is a GUID that was automatically generated. Is this the GUID referenced in the feature.xml?

Hopefully with these questions answered I can move forward and find a solution to getting the stapler working.




Video: Rendering SharePoint 2010 Media Files in Silverlight

This demonstration illustrates how to render SharePoint media files in a Silverlight application. (Length: 11:28)

Problem Saving Files to A Sharepoint 2010 Site from Office 2010: Saves locally by default rather tha

Hi we are starting to use sharepoint 2010 / word 2010 and have found an interesting bug/problem. Sometimes when a user tries to save a file (by clicking on the save button in the quick access toolbar for word 2010) the save dialog comes up with the users local "Documents" folder as the path (not the correct sharepoint path where the document should be saved).  (I should say that we are creating the file from sharepoint by using a toolbar on the document library, with the new button)  We are using a content type and a template attached to the document library when we create the file.  This is really annoying because the user might not notice that the document is saving locally and not to sharepoint.  I have found a strange workaround which involves clicking the [File] tab on the ribbon in word 2010, then clicking "Save and Send" and then clicking the save button again.  At this point word 2010 seems to "remember" that it is trying to save document to sharepoint and shows the sharepoint document library. This is a real nuisance which could lead to documents being lost/misfiled if people don't realize that this is happening.  Can anyone help me? Thanks Kevin krd

Indexing files larger than 16 MB in SharePoint 2010

Tonight, I came across an interesting blog post by Fellow MVP, Todd Klidnt in which he explains how to work around the 16 MB limitation for file indexing in SharePoint 2010 using PowerShell. "As with previous versions of SharePoint, SharePoint 2010 will not index the contents of files larger than 16 MB. There are a couple of reasons for this such as network usage pulling large files across and the time it takes to break them apart". Click here to continue to the post.

Advanced Search tiff files sharepoint 2010

hi, I have a question about advanced search in sharepoint 2010 would love if you could help me: I have a document management system that contains files of different types. Performing a standard search system finds documents, Advanced search performed on the document properties the system can not find such documents tiff. We installed ifilter tiff by the following link: http://www.borghoff.com/post/2010/04/02/Windows-TIFF-IFilter-and-SharePoint-2007.aspx But it does not work. Maybe you have another solution for me? Thank you.

"Personalise this Page" feature cannot be found in SharePoint 2010 portal

I am unable to find the "Personalise this Page" option in SharePoint 2010 as in MOSS 2007. Please help me to get this feature  enabled for AD authenticated users.

Sharepoint 2010 files

Once I upload a picture or document into sharepoint; where are the files stored?

RBS Maintainer not cleanup files in file system (SharePoint 2010)

Here's my environment:   Server #1: SQL Server 2008 R2 Express, RBS enabled Server #2: SharePoint Foundation 2010, RBS installed I setup RBS according to this http://technet.microsoft.com/en-us/library/ee663474.aspx successfully. And I can see the files are storing in NTFS file system instead of database. And then I'm configuring RBS Maintainer according to http://technet.microsoft.com/en-us/library/ff943566.aspx . But it doesn't seem working as expected. I deleted the file from SharePoint Document Library and emptied recycle bin, even in site collection recycle bin. And even I delete the whole site collection. The RBS Maintainer doesn't delete the files in file system. I've updated the following rbs config on my content database for test: exec mssqlrbs.rbs_sp_set_config_value 'garbage_collection_time_window', 'time 00:00:00'; exec mssqlrbs.rbs_sp_set_config_value 'delete_scan_period ', 'time 00:00:00'; exec mssqlrbs.rbs_sp_set_config_value 'orphan_scan_period', 'time 00:00:00'; Maintainer output after I deleted the file, emptied end user recycle bin and site collection recycle bin : C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Maintainer>"C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Maintainer\Microsoft.Data.SqlRemot eBlobs.Maintainer.exe" -Connect

Sharepoint 2010 "Some content or files on this webpage require a program that you don't have instal


This may be a DNS question.

New SP 2010 install, single server lab environment.
I can create and access site collections under the first web application SP2010 (Sharepoint 80, http://sp2010)

I have created another web application, different database, different port (777), and given it a different URL (test.otherdomain.com:777)
I have created a corresponging site collection (default team site).
Opened port 777 TCP incoming and outgoing in the windows firewall
Created a host (A record) in my DNS test.otherdomain.com (IP of the sharepoint server which is really called SP2010.mydomain.com)

nslookup returns the correct IP address, but when I type test.otherdomain.com:777 into a browser window I get
"Some content or files on this webpage require a program that you don't have installed" both from another machine on the network and on the Sharepoint server.



Feature Stapling in SharePoint 2010 Web Templates


Hi All

We have a new requirement where we have to staple a number of features to a custom web templates. Now when we try to staple the features to the custom web template, they are not getting reflected in the custom web templates.

Is feature stapling allowed in custom Web Templates? Could someone help out in this regard.


- Sridhar Please visit my blog http://sharepointschool.wordpress.com/ for getting started with SharePoint

Upload Multiple Files is disable in sharepoint 2010 how can a fix this


After upload a wrong file in sharepoint 2010 , the upload multiple files button dont work anymore . If a click on the button upload Multiple Files  a will see only a light blue screen . How can a Fix this Problem .?

SharePoint 2010 Incoming Email Unique Files are Not Created.


SharePoint 2010 Incoming Email Unique Files are Not Created. 

Description: In SharePoint 2010, when the document library is configured to receive incoming emails, the email attachments sent to document library should be saved as files. When files with same names received, the files should be saved with unique names.

Bug: The files with same names are dropped by SharePoint timer services. If the file with the name already exists in the document library, the newer file will not be saved.

Reason: In the SharePoint log, there is an error about "AddUniqueFile failed to create a file or folder. Filename: Dell Order 001.pdf Errorcode: -2130575305"

Checking the errorcode -2130575305, it is about "saveconflict", ErrorCode=-2130575305.

can we run .bat file in cab.ddf file of solution package in sharepoint 2010???


can we run .bat file in cab.ddf file of solution package in sharepoint 2010

bcoz i have created 1 batch fiel which create the hierarchy of folders and move all the images to specific folder so if .bat ll run in my solution package then my problem will solve

help me out



Upgrade error on feature when installing cummulative update august 2010 for Sharepoint 2010


We are not able to complete the installation of the cummulative upgrade for august 2010 becase of this error msg:

Feature Infrastructure - 9fnu - High - Feature Upgrade: Exception thrown updating content database with new version number for Feature 'MyFeature' (Id: '1860bfc8-f21b-48f0-bd0d-e7061d36921f') in Site 'http://www.site.com': Object reference not set to an instance of an object. 44432789-ef04-4587-9cb9-f97a5d7e0258

This is a custom feature that our company has developed. It is very simple, contains two content types (view xml below):

<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="MyCTFeature" Description="My feature description" Id="1860bfc8-f21b-48f0-bd0d-e7061d36921f" Scope="Site" Version="">
    <ActivationDependency FeatureDescription="Custom fields" FeatureId="24b9624b-0e56-44ad-9757-d06a5e1225af" FeatureTitle="MyFieldsFeature" />
    <ElementManifest Location="Kjerneside\Elements.xml" />
    <ElementManifest Location="Informasjonsside\Eleme

feature for content type in sharepoint 2010

how can i create a feature for content type in sharepoint 2010

Activating Publishing Feature for Team Site Template in SharePoint 2010


A new site collection has been created and uses SharePoint 2010 team site template. How can you activate the publishing feature on it?


I have activated the publishing feature at site collection and site level but I still can edit pages etc without requiring check out and approval/publishing. There are probably settings I need to activate on other doc libraries but I wanted to know the best practice for this scenario and how to configure it.



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend