private static XdbModel BuildModel() { XdbModelBuilder xdbModelBuilder = new XdbModelBuilder("Examples.XConnect.CopyModel", new XdbModelVersion(1, 0)); xdbModelBuilder.ReferenceModel(CollectionModel.Model); xdbModelBuilder.ReferenceModel(CustomDataModel.Model); xdbModelBuilder.ReferenceModel(EmailCollectionModel.Model); return(xdbModelBuilder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder xdbModelBuilder = new XdbModelBuilder(typeof(CustomSalesforceConnectCollectionModel).FullName, new XdbModelVersion(1, 0)); xdbModelBuilder.DefineFacet <Contact, SalesforceContactInformation>("SalesforceContact"); xdbModelBuilder.DefineFacet <Contact, CustomSalesforceContactInformation>("CustomSalesforceContact"); xdbModelBuilder.DefineFacet <Contact, SalesforceCampaignMembership>("SalesforceCampaignMembership"); xdbModelBuilder.DefineFacet <Interaction, SalesforceInteraction>("SalesforceInteraction"); xdbModelBuilder.DefineEventType <TaskEvent>(false); xdbModelBuilder.DefineEventType <EmailEvent>(false); xdbModelBuilder.DefineEventType <CallEvent>(false); xdbModelBuilder.ReferenceModel(CollectionModel.Model); xdbModelBuilder.ReferenceModel(EmailCollectionModel.Model); return(xdbModelBuilder.BuildModel()); }
private static XdbModel CreateModel() { XdbModelBuilder builder = new XdbModelBuilder("CustomFacets.Xconnect.CustomerCollectionModel", new XdbModelVersion(1, 0)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); builder.DefineFacet <Contact, CustomerFacets>(CustomerFacets.DefaultFacetKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("PurchaseOutcome", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineEventType <PurchaseOutcome>(false); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder("CollectionModel", new XdbModelVersion(1, 0)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); builder.DefineFacet <Interaction, HashTagFacet>(HashTagFacet.FacetName); return(builder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("FormsModel", new XdbModelVersion(1, 0)); modelBuilder.DefineEventType <FormSubmission>(false); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); return(modelBuilder.BuildModel()); }
private static XdbModel BuilddCustomModel() { XdbModelBuilder xdbModelBuilder = new XdbModelBuilder("ChatBotInteractionFacetModel", new XdbModelVersion(1, 0)); xdbModelBuilder.ReferenceModel(CollectionModel.Model); xdbModelBuilder.DefineFacet <Interaction, ChatBotAnalytics>(ChatBotAnalytics.DefaultFacetKey); return(xdbModelBuilder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder("FaceLoginDefineModel", new XdbModelVersion(1, 0)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); builder.DefineFacet <Contact, AdhereToFaceLoginFacet>(AdhereToFaceLoginFacet.DefaultFacetKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder("xConnectDemoModel", new XdbModelVersion(1, 0)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); return(builder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder(typeof(SalesforceConnectCollectionModelEx).FullName, new XdbModelVersion(1, 0)); builder.DefineFacet <Contact, SalesforceAccountInformationFacet>(SalesforceAccountInformationFacet.DefaultFacetKey); builder.ReferenceModel(SalesforceConnectCollectionModel.Model); return(builder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder(CollectionConst.SitecoreCinema.CollectionModelNames.CinemaBusinessMarketingCollectionModel, new XdbModelVersion(1, 1)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, Facets.CinemaBusinessMarketing>(MarketingConst.FacetKeys.CinemaBusinessMarketing); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder(CollectionConst.SitecoreCinema.CollectionModelNames.CinemaDetailsCollectionModel, new XdbModelVersion(1, 1)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, CinemaDetails>(CollectionConst.FacetKeys.CinemaDetails); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("MySiteCollectionModel", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, BusinessIndustry>(BusinessIndustry.DefaultFacetKey); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder("Sidekick.XConnect.XConnect", new XdbModelVersion(0, 1)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); builder.DefineFacet <Contact, SampleInfo>(SampleInfo.DefaultFacetKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("ContactModel", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, RfmContactFacet>(RfmContactFacet.DefaultFacetKey); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder(typeof(DemoModel).FullName, new XdbModelVersion(1, 0)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); builder.DefineFacet <Contact, DemoFacet>(DemoFacet.DefaultFacetKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { var modelBuilder = new XdbModelBuilder(ModelKey, new XdbModelVersion(0, 1)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Interaction, SampleOrder>(SampleOrder.DefaultFacetKey); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("IdentifiedGoalDataModel", new XdbModelVersion(0, 1)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineEventType <IdentifiedGoal>(false); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("XConnectSmogModel", new XdbModelVersion(0, 1)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, SmogInformationFacet>(SmogInformationFacet.DefaultFacetKey); return(modelBuilder.BuildModel()); }
private static XdbModel BuilddCustomModel() { XdbModelBuilder xdbModelBuilder = new XdbModelBuilder("HubspotScoreFacetModel", new XdbModelVersion(1, 0)); xdbModelBuilder.ReferenceModel(CollectionModel.Model); xdbModelBuilder.DefineFacet <Contact, ScoreFacet>(ScoreFacet.DefaultFacetKey); xdbModelBuilder.DefineFacet <Contact, ScoreNameFacet>(ScoreNameFacet.DefaultFacetKey); return(xdbModelBuilder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("SampleModel", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, FrequentFlyerInfo>(FrequentFlyerInfo.DefaultFacetKey); return(modelBuilder.BuildModel()); }
private static XdbModel InitModel() { var builder = new XdbModelBuilder("NetflixNextMovie", new XdbModelVersion(1, 0)); builder.ReferenceModel(CollectionModel.Model); builder.DefineEventType <Goal>(false); builder.DefineFacet <Contact, MovieRecommendationFacet>(MovieRecommendationFacet.DefaultFacetKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder("xConnectIntroModel", new XdbModelVersion(1, 0)); builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); builder.DefineFacet <Contact, SalesRegion>(SalesRegion.FacetName); builder.DefineEventType <LeadCaptured>(true); return(builder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("ConsentModel", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); // Facets and events here modelBuilder.DefineFacet <Contact, ConsentInfo>(ConsentInfo.DefaultFacetKey); return(modelBuilder.BuildModel()); }
private static XdbModel BuildModel() { var xdbModelBuilder = new XdbModelBuilder("ContactCustomModel", new XdbModelVersion(1, 0)); xdbModelBuilder.DefineFacet <Contact, VolleyGroupFacet>(VolleyGroupFacet.DefaultFacetKey); xdbModelBuilder.ReferenceModel(CollectionModel.Model); return(xdbModelBuilder.BuildModel()); }
private static XdbModel BuildModel() { var builder = new XdbModelBuilder("SUGCON2019Cortex.XConnect.Extension.Model", new XdbModelVersion(1, 5)); builder.ReferenceModel(CollectionModel.Model); builder.DefineEventType <ProductPurchasedOutcome>(true); builder.DefineFacet <Contact, ProductRecommendationFacet>(ProductRecommendationFacet.DefaultFacetKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { XdbModelBuilder modelBuilder = new XdbModelBuilder("PetModel", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Sitecore.XConnect.Contact, Pet>("PetInfo"); return(modelBuilder.BuildModel()); }
public static XdbModel CreateModel() { var builder = new XdbModelBuilder(typeof(AccountCollectionModel).FullName, new XdbModelVersion(1, 0)); builder.ReferenceModel(CollectionModel.Model); builder.DefineFacet <Contact, SportName>(SportName.DefaultKey); builder.DefineFacet <Contact, SportType>(SportType.DefaultKey); return(builder.BuildModel()); }
private static XdbModel BuildModel() { var modelBuilder = new XdbModelBuilder("GoogleApiModel", new XdbModelVersion(1, 0)); modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model); modelBuilder.DefineFacet <Contact, GoogleApiFacet>(GoogleApiFacet.FacetName); modelBuilder.DefineEventType <CustomEvent>(true); return(modelBuilder.BuildModel()); }
private static XdbModel InitModel() { var builder = new XdbModelBuilder("Movie", new XdbModelVersion(1, 0)); builder.ReferenceModel(CollectionModel.Model); builder.DefineEventType <MovieRentedOutcome>(true); builder.DefineFacet <Contact, MovieRecommendationFacet>(MovieRecommendationFacet.DefaultFacetName); return(builder.BuildModel()); }