protected override void InstantiateCustomFields(IConciergeAPIService proxy) { // important - custom fields need to know who their context is cfsSectionFields.MemberSuiteObject = targetSection; var pageLayout = targetSection.GetAppropriatePageLayout(); if (pageLayout == null || pageLayout.Metadata == null || pageLayout.Metadata.IsEmpty()) { divOtherInformation.Visible = false; return; } // setup the metadata cfsSectionFields.Metadata = targetSection.DescribeObject(); cfsSectionFields.PageLayout = pageLayout.Metadata; cfsSectionFields.Render(); }
protected override void InstantiateCustomFields(IConciergeAPIService proxy) { cfsSectionFields.MemberSuiteObject = targetSection; var pageLayout = targetSection.GetAppropriatePageLayout(); if (pageLayout == null || pageLayout.Metadata == null || pageLayout.Metadata.IsEmpty()) { divOtherInformation.Visible = false; return; } // setup the metadata cfsSectionFields.Metadata = targetSection.DescribeObject(); cfsSectionFields.PageLayout = pageLayout.Metadata; cfsSectionFields.AddReferenceNamesToTargetObject(proxy); cfsSectionFields.Render(); }