Monthly Archives: December 2010

Cannot make a cache safe URL for “1033/sp.js”, file not found

I was playing around with writing WebParts and using the SharePoint Javascript Client Object Model (COM – I wish people would standardise this acronym soon!). I added a ScriptLink to SP.js but got this error: Cannot make a cache safe … Continue reading

Posted in Client Object Model, SharePoint | Leave a comment

Getting class name of variables in SharePoint’s Javascript client object model

Have you suffered from the pain of debugging SharePoint Client Object Model (COM) in Javascript? If you haven’t.. I think you soon will. The SP COM introduces lots of classes in Javascript. Although you can add some basic intellisense for … Continue reading

Posted in Client Object Model, SharePoint | Leave a comment

Content type visibility in document libraries

In a document library, once you have enabled content type management and added content types to the library, these content types are visible for the users in 3 places: on the New toolbar menu, when uploading a document when editing … Continue reading

Posted in Content Types, SharePoint | 2 Comments