Create Projected Field in Genesis

        [SPGENField(
            ID = "{C3D3C5AF-C1D1-4ED8-B67F-E5BC23E401A7}",
            LookupFieldRef = "{0D4884FE-6D8D-4B8D-BB3A-9AEBD7D28AC0}",
            InternalName = "ProjectIDLookup",
            StaticName = "ProjectIDLookup",
            DisplayName = "$Resources:myRes,Field_ProjectIDLookup_DisplayName;",
            Group = "$Resources:myRes,FieldGroup_NAME_Title;",
            Type = SPFieldType.Lookup,
            LookupList = typeof(Lists.MyList),
            LookupField = typeof(Namespace.Elements.Fields.ID),
            Required = false)]

        public class ProjectedIDLookup: SPGENField<ProjectedIDLookup, SPFieldLookup, SPFieldLookupValue> { }

Comments

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem

Asp.Net Ending Response options, Response.End() vs CompleteRequest()