protected void SetGeneralTags(Guid publication) { Publication = publication; GeneralTags = SitecoreGetter.GetGeneralTags(publication); PopulateTagCloud(); }
private void InitializeIndustriesTab() { List <TaxonomyStruct> industries = SitecoreGetter.SearchTaxonomy(new Guid(Constants.INDUSTRY_GUID), "").ToList(); HDirectoryStruct industryDirectory = SitecoreGetter.GetHierarchyByGuid(new Guid(Constants.INDUSTRY_GUID)); //_industryTabController = new TaxonomyTabController(uxIndustriesKeywords, uxIndustriesViewTree, uxIndustriesViewSearch, // uxIndustriesResults, uxIndustriesResultsTree, uxIndustriesSelected, industries, industryDirectory, // uxIndustriesIcon, tabControl1, uxIndustriesTabPage); }
private void InitializeSubjectsTab() { List <TaxonomyStruct> subjects = SitecoreGetter.SearchTaxonomy(new Guid(Constants.SUBJECT_GUID), "").ToList(); HDirectoryStruct subjectDirectory = SitecoreGetter.GetHierarchyByGuid(new Guid(Constants.SUBJECT_GUID)); //_subjectsTabController = new TaxonomyTabController(uxSubjectsKeywords, uxSubjectsViewTree, uxSubjectsViewSearch, // uxSubjectsResults, uxSubjectsResultsTree, uxSubjectsSelected, subjects, subjectDirectory, // uxSubjectsIcon, tabControl1, uxSubjectsTabPage); }
public static CharacterStyleByElementTransformer GetTransformer() { if (_transformer == null || string.IsNullOrEmpty(_boldElement)) { List <WordStyleStruct> styles = SitecoreGetter.GetCharacterStyles().ToList(); var _characterStyles = styles.ToDictionary(style => style.WordStyle, style => style.CssElement); _transformer = new CharacterStyleByElementTransformer(_characterStyles); } return(_transformer); }
private byte[] GetData() { try { return(SitecoreGetter.GetMediaLibraryItemData(_path)); } catch (WebException e) { throw e; } }
private void InitializeMarketSegmentsTab() { List <TaxonomyStruct> marketSegments = SitecoreGetter.SearchTaxonomy(new Guid(Constants.MARKET_SEGMENT_GUID), "").ToList(); HDirectoryStruct marketSegmentsDirectory = SitecoreGetter.GetHierarchyByGuid(new Guid(Constants.MARKET_SEGMENT_GUID)); //_marketSegmentsTabController = new TaxonomyTabController(uxMarketSegmentsKeywords, uxMarketSegmentsViewTree, uxMarketSegmentsViewSearch, // uxMarketSegmentsResults, uxMarketSegmentsResultsTree, uxMarketSegmentsSelected, marketSegments, marketSegmentsDirectory, // uxMarketSegmentsIcon, tabControl1, uxMarketSegmentsTabPage); }
private void InitializeTherapeuticCategoriesTab() { List <TaxonomyStruct> therapeuticCategories = SitecoreGetter.SearchTaxonomy(new Guid(Constants.THERAPEUTIC_CATEGORY_GUID), "").ToList(); HDirectoryStruct therapeuticCategoriesDirectory = SitecoreGetter.GetHierarchyByGuid(new Guid(Constants.THERAPEUTIC_CATEGORY_GUID)); //_therapeuticCategoriesTabController = new TaxonomyTabController(uxTherapeuticCategoriesKeywords, uxTherapeuticCategoriesViewTree, uxTherapeuticCategoriesViewSearch, // uxTherapeuticCategoriesResults, uxTherapeuticCategoriesResultsTree, uxTherapeuticCategoriesSelected, therapeuticCategories, therapeuticCategoriesDirectory, // uxTherapeuticCategoriesIcon, tabControl1, uxTherapeuticCategoriesTabPage); }
private void InitializeGeographyTab() { List <TaxonomyStruct> regions = SitecoreGetter.SearchTaxonomy(new Guid(Constants.REGION_GUID), "").ToList(); HDirectoryStruct regionDirectory = SitecoreGetter.GetHierarchyByGuid(new Guid(Constants.REGION_GUID)); //_geographyTabController = new TaxonomyTabController(uxGeographyKeywords, uxGeographyViewTree, uxGeographyViewSearch, // uxGeographyResults, uxGeographyResultsTree, uxGeographySelected, regions, regionDirectory, // uxGeographyIcon, tabControl1, uxGeographyTabPage); }