Skip to content

Instantly share code, notes, and snippets.

View joezimjs's full-sized avatar

Joe Zimmerman joezimjs

View GitHub Profile
const string fileAssetManagerBlockTypeGuid = "535500A7-967F-4DA3-8FCA-CB844203CB3D";
const string heightModeAttributeGuid = "67ECB409-F5C5-4487-A60B-FD572B99D95B";
// Attribute for BlockType
// BlockType: File Asset Manager
// Category: CMS
// Attribute: Height Mode
RockMigrationHelper.AddOrUpdateBlockTypeAttribute( fileAssetManagerBlockTypeGuid, SystemGuid.FieldType.SINGLE_SELECT, "Height Mode", "HeightMode", "Height Mode", @"Static lets you set a CSS height below to determine the height of the block. Flexible will grow with the content. Full Worksurface is designed to fill up a full worksurface page layout.", 2, @"static", heightModeAttributeGuid );