sharepointking

Just another WordPress.com site

Monthly Archives: May 2009

MOSS Web Content Management (WCM) – Important

During my one of project on WCM i found following points are very important when you publish your MOSS site into public facing environment (e.g. internet)

  1. Limit page size (e.g. detach core.js from public internet site) & Take care of Activex (e.g. add your cusom custominit.js file ECMAScript with remove code of user presence function like code of user presence function processImn() and ProcessImnMarker should be disable)control
  2. Use Code Access Security if you are using any custom developed assembly on page.
  3. Block User seeing application pages using activating”Lockdown Feature” in stsadm
  4. Enabling cacheing : Output caching, object caching, disk base caching for large binary object(setting
  5. User presence feature should be disable for internet facing site to reduce payload
  6. Blog API feature should be disable
  7. Incoming e-mail setting should be disable.
  8. Browser caching using Metadatagenerator.
  9. IIS Compression – Static compression is best

Above are the point that can help you to boost speed of your MOSS internet published site.

Enjoy MOSS!!

SPAudit for audit sharepoint event (usually to track changes by user)

Pros :

1. Easy to implement with few line of code
SPSite siteCollection = (SPSite)properties.Feature.Parent;

// turn on auditing flags
siteCollection.Audit.AuditFlags = SPAuditMaskType.Update;
siteCollection.Audit.Update();

2. Without writting addional code easy to pull following values

SiteId
ItemId
ItemType
UserId
MachineName
MachineIp
DocLocation
LocationType
Occurred
Event
EventName
EventSource
SourceName
EventData

Also sharepoint SPAudit providing provision to write customevent for spweb,spsite,splist where we can track additional
detail e.g. farmid

Cons:

1. No event is available for SPAudit so it is hard to capture event
2. Not able to track changes in sharepoint list view.