public virtual async Task <Status> BootDataApps(ApplicationDeveloperClient appDev)
        {
            if (!State.NewEnterpriseAPIKey.IsNullOrEmpty() && !State.EnvironmentLookup.IsNullOrEmpty())
            {
                var resp = await appDev.ConfigureNapkinIDEForDataApps(State.NewEnterpriseAPIKey, State.Host);

                return(resp.Status);
            }
            else
            {
                return(Status.GeneralError.Clone("Boot not properly configured."));
            }
        }
コード例 #2
0
        public virtual async Task AddDefaultDataAppsLCUs(ApplicationDeveloperClient appDev, ApplicationManagerClient appMgr, string entApiKey, string host)
        {
            var nideConfigured = await appDev.ConfigureNapkinIDEForDataApps(entApiKey, host);

            if (nideConfigured.Status)
            {
                await LoadActivities(appMgr, entApiKey);

                await LoadSideBarSections(appMgr, entApiKey);

                await LoadSecionActions(appMgr, entApiKey);

                await LoadLCUs(appMgr, entApiKey);
            }
        }