1) We can Use single Content Type for multiple Page Layouts.
2) Always Use using(SPWeb/SPSite obj = new SPWeb()/SPSite() ) object. These two SharePoint object won't
get release from memory by GC and need to deallocate those explicitly
3) To Lock the block/method/event across the thread,
Create global object of object class and lock it.
private static readonly object objCentralLock = new object();
public override void Execute()
{
lock(objCentralLock)
{
......
}
}
4) SPJobDefinition(Timer job) Feature Development.
If the scope of feature is WebApplication then it will work fine. Otherwise it will throw database permission exception.
If you change it to WebApplication scope, you have to activate the feature in the Central Administration.
The application pool that runs that web application has enough permission to do this.
Of course you need to slightly modify the code of your feature receiver.
Instead of casting the properties.Feature.Parent to a SPSite, you cast it to a SPWebApplication.
100) Default page limit of sharepoint web for Navigation is 50. OOTB
to change this limit,Need to update web.config of perticular application.
Add DynamicChildLimt="XXXX" as attribute for all providers
1) GlobalNavSiteMapProvider
2) CombineNavSiteMapProvider
3) CurrentNavSiteMapProvider
4) CurrentNavSiteMapProviderNoEncode
XXXX is an integer number.
No comments:
Post a Comment