Unit testing custom property on a MCMS posting

I needed to unit test a method that retrives a value from a custom property on a Microsoft Content Management Server posting. This is how I did it: [Test] public void GetLanguage_GetLanguageFromPosting() { using(CmsApplicationContext appCtx =       new CmsApplicationContext()) { appCtx.AuthenticateAsCurrentUser(         PublishingMode.Update); try { Template templ = appCtx.Searches.GetByGuid               (”{8DD8B72A-31B7-495B-80F9-1319FAA78BF2}”)                as Template;             Posting p =                appCtx.RootChannel.CreatePosting(templ); CustomProperty prop = […]

Security Best Practises for MCMS 2002

Microsoft Content Management Server 2002: Security Best Practises now available at: http://www.microsoft.com/downloads/details.aspx?FamilyId=473BEA55-08C1-439E-BA7F-698E5EC343ED&displaylang=en. Overview: This download consists of a security white paper and the ‘Minimum permissions’ batch script. The white paper explains how IT administrators can apply security best practices to Microsoft Content Management Server (MCMS) 2002 Service Pack 1a (SP1a) environments. It includes sections on […]