Enable auditing only for a specific sharepoint library programatically - SharePoint 2010 - sharepoint-2010

How can I enable auditing for a specific SharePoint library in SharePoint 2010 through code?

There is dedicated article:
Activating Auditing Programmatically for a Single Document Library in Windows SharePoint Services 3.0
Its for WSS v3 but should work for SP 2010 as well.

Related

Can we migrate SharePoint 2010 web portal to Office 365?

Hi I have a SharePoint Farm Solution developed in SharePoint 2010, We have a requirement to migrate it from SharePoint 2010 to office 365.
Is it possible to migrate it without any difficulty or it is not recommended to migrate SharePoint 2010 to Office 365.
You can not directly use the farm solution in office 365, as Farm solutions are not supported in office 365/SharePoint Online. Please see this reference link: https://community.office365.com/en-us/f/156/t/232435
You will have to transform the farm solution in app model and then you will get the same functionality in office 365.
Click Here to see more about the transformation of Farm solutions to App Model.
Note: It's not mandatory that you use Apps only for this. You can use other approaches as well i.e. JSOM, OOTB etc.. It depends on the functionality of your farm solution.

SSRS Sharepoint Integrated From address in Report Subscription

I need to change the From: address for report subscriptions on SharePoint (running in integrated mode). I believe you can do this in Reporting Services Config Mgr, but am wondering if there is a way to do this from SharePoint or Sharepoint Config Mgr.
I'm using SSRS 2008 R2 on Sharepoint 2010.
Thoughts?
For SSRS 2008 R2, there is nothing in SharePoint 2010 or SharePoint 2010 Central Admin that allows you to change the From address. It's strictly controlled through the SSRS Configuration Manager. Your other option is to edit the rsreportserver.config file directly, but why do that when it's safer to use the Configuration Manager? Or you can write an application. You could theoretically create a Web form that you display in SharePoint that would update the server settings. See Method 3 here: http://www.dbafarm.com/blog/2011/02/03/setupdate-the-from-address-email-ssrs-subscriptions/

Sharepoint server publishing infrastructure not visible in Sharepoint 2010 Foundation

I am trying to activate the Sharepoint server publishing infrastructure in order to be able to use custom master pages. When I go to Sharepoint 2010 Central admin > Site Actions > Site Settings > Site Collection features, the option for Server Publishing is missing. It looks like this feature is not available on Sharepoint 2010 Foundation. Is that so?
Publishing features are available in SharePoint Server 2010 (standard and enterprise), but not in SharePoint 2010 Foundation.
You have to activate the site collection features (Site Actions -> Site Settings -> Manage Site Collection Features) before you try to activate the site feature. Once you do that, it should appear as an option.
SharePoint Server Publishing features not available in SharePoint 2013 Foundation.need to deploy SharePoint Foundation 2013 Publishing Infrastructure solution in sharepoint foundation
(more details fallow this link https://spf2013publishing.codeplex.com/) after deploying need to activate SharePoint Foundation Publishing Infrastructure feature from Site Collection Features and in Manage site features in sharepoint site...

How to install Excel Services on Sharepoint 2010 Enterprise Client Access License?

I have a farm installation of Sharepoint 2010 Server with Enterprise Client Access License. I want to publish an excel workbook to a document library on my site, but I am unable to do so. When I go to Central Admin -> Manage Service Applications, I do not see a service application for Excel Services and its not available under the New menu there either. Kindly let me know how to install Excel Services on my Server.
Make sure you have SharePoint 2010 Server and not SharePoint 2010 Foundation.

Microsoft Learning Gateway - MLG Deployment on Sharepoint 2010

I have installed MOSS 2010 on Windows Server 2008 R2, and also MLG installed on Sharepoint server 2010. but when i try to create School Portal Site it generates error.
I want to know is MLG - Microsoft Learning Gateway support / configure on Sharepoint 2010 ?.
Thank in advance
I hope I understand your question correctly Saifal - you were not able to create a site based on a template from the Microsoft Learning Gateway kit?
AFAIK is the Learning Gateway not yet available for Sharepoint 2010, so I don't know how you were even able to install it.
The Learning Gateway codeplex site is only for Sharepoint 2007, the Microsoft UK site only lists availability for Sharepoint 2007.