It doesnt work when there a lower-case letters present (at least for me). All of my GUIDs are mixed case (as CreateGuid or vis studio 2010 generates them), and I found after changeing it to all upper case in the RegistrationId attribute of the CustomAction element made it suddenly start working on the published content type.
From: paul.no...@ceosyd.catholic.edu.au To: ozmoss@ozmoss.com Date: Mon, 23 Jan 2012 09:12:06 +1100 Subject: RE: Content Type Hub - Ct Declarative Customizations Hi Nigel, Are you saying the RegistrationID is case-sensitive, or that it simply doesn’t work when lower case letters are present? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Witherdin Sent: Friday, 20 January 2012 3:13 PM To: OzMoss Subject: RE: Content Type Hub - Ct Declarative Customizations Sometimes working with SharePoint really makes you want to smash your face repeatedly against a wall! I finally figured out why my CustomAction was not binding to the content type being distributed from the hub. The resolution was to make sure that the "RegistrationId" proprty in the CustomAction element contained only upper case letters (not some lower ones, like the CreateGuid util produces). After I changed them to all upper, activating the feature on the subscribing site collection made the ribbon change for any library that used the content type. Roll on 5pm, Im ready for a bottle (or three) of red wine..... From: nigel_wither...@hotmail.com To: ozmoss@ozmoss.com Subject: Content Type Hub - Ct Declarative Customizations Date: Sun, 15 Jan 2012 23:13:02 +0000 Hi All, We have a number of content types which we are disseminating via the CT Hub component of SP 2010. Modifications bound to the content types stored in the SPContentType object get pushed out to subscribing site collections correctly (eg. event receivers, workflows etc.), however declarative modifications that are associated to the content type (eg. Ribbon mod, custom actions etc.) arent stored with the object and as such dont get pushed to the subscribers. As the ID of the content types is the same in the subscribing site colls, I assumed seperating these customizations into their own feature, and activating them on the subscribing site collections would resolve this, but I am not seeing my ribbon modifications appear in the subscribing site collections for the targeted content types. This may be because the CT is read-only, or because of some bug in the code etc. - going to look into it today. Anyway, wondered if anyone an opinion on the best way to implement and manage these sorts of CT modifications when using the hub. Many thanks Nigel _______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss