When I try the file as above, the user information is incorrect because the tenantId value is not gone.
What is your product version? v10.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core
Hello, I want to enable tenant subdomain in front-end. But I don't want to use subdomain on API side. I tried the following way, it gave error:
appsettings.json
"App": { "ServerRootAddress": "http://api.domain.com/", "ClientRootAddress": "http://{TENANCY_NAME}.domain.com/", "CorsOrigins": "http://*.domain.com,http://api.domain.com/" }
Can you help me with this?
Thank you for answer @ismcagdas
What is your product version? v10.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core
Hi, What do I need to do on the Angular and API side to disable the chat feature? Thanks for your help in advance.
Sorry, I missed a parameter.It was fixed by doing the following.
new AppMenuItem('QTranslations', 'Pages.QTranslations', 'flaticon-list-1', '/app/main/qTranslate', undefined, undefined, undefined, null, () => { return this._featureCheckerService.isEnabled('App.MultiLanguageSupportFeature'); }),
While trying to use BulkInsert methods I get the following error.
ERROR_005: The monthly trial period is expired. You can extend your trial by downloading the latest version at the beginning of every month. More information can be found here: https://entityframework-extensions.net/trial
It looks like you have been providing us a trial library in solution. What is the solution to this situation? Or am I doing something wrong to use BulkInsert
Here is my code; private void EntityBulkCopyQAppViewFieldLayout(IEnumerable<QAppViewFieldLayout> sourceAppViewFieldLayouts) { Z.EntityFramework.Extensions.EntityFrameworkManager.ContextFactory = DbContext => DbContext;
var targetDtos = sourceAppViewFieldLayouts.Select(e => ObjectMapper.Map<CreateOrEditQAppViewFieldLayoutDto>(e)).ToList();
targetDtos.ForEach(e => e.QAppViewId = (int)_IdCatalog[typeof(QAppView)][e.QAppViewId]);
targetDtos.Where(e => e.QAppFieldId > 0)
.ToList()
.ForEach(e => e.QAppFieldId = (int)_IdCatalog[typeof(QAppField)][e.QAppFieldId]);
targetDtos.ForEach(e => e.Id = null);
var targetEntities = targetDtos.Select(e => ObjectMapper.Map<QAppViewFieldLayout>(e)).ToList();
DbContext.BulkInsert(targetEntities);
}
Hi @ismcagdas,
I tried as follows, but users without features can also see this menu. Where am I doing wrong?
new AppMenuItem('QTranslations', 'Pages.QTranslations', 'flaticon-list-1', '/app/main/qTranslate', undefined, undefined, undefined, () => { return this._featureCheckerService.isEnabled('App.MultiLanguageSupportFeature'); }),
What is your product version? v10.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core
Hi, I want some menus to be hidden if there is no related feature in the edition that the tenant is included in.If you could help with this situation, I would greatly appreciate it.
`getMenu(): AppMenu { return new AppMenu('MainMenu', 'MainMenu', [ new AppMenuItem('Dashboard', 'Pages.Administration.Host.Dashboard', 'flaticon-line-graph', '/app/admin/hostDashboard'), new AppMenuItem('Dashboard', 'Pages.Tenant.Dashboard', 'flaticon-line-graph', '/app/main/dashboard'), ...... new AppMenuItem('QTranslations', 'Pages.QTranslations', 'flaticon-list-1', '/app/main/qTranslate') //here, new AppMenuItem('Tenants', 'Pages.Tenants', 'flaticon-list-3', '/app/admin/tenants'), new AppMenuItem('Editions', 'Pages.Editions', 'flaticon-app', '/app/admin/editions'),
new AppMenuItem('Administration', '', 'flaticon-interface-8', '', [], [
new AppMenuItem('OrganizationUnits', 'Pages.Administration.OrganizationUnits', 'flaticon-map', '/app/admin/organization-units'),
new AppMenuItem('Roles', 'Pages.Administration.Roles', 'flaticon-suitcase', '/app/admin/roles'),
new AppMenuItem('Users', 'Pages.Administration.Users', 'flaticon-users', '/app/admin/users'),
new AppMenuItem('Languages', 'Pages.Administration.Languages', 'flaticon-tabs', '/app/admin/languages', ['/app/admin/languages/{name}/texts']),
new AppMenuItem('AuditLogs', 'Pages.Administration.AuditLogs', 'flaticon-folder-1', '/app/admin/auditLogs'),
new AppMenuItem('Maintenance', 'Pages.Administration.Host.Maintenance', 'flaticon-lock', '/app/admin/maintenance'),
new AppMenuItem('Subscription', 'Pages.Administration.Tenant.SubscriptionManagement', 'flaticon-refresh', '/app/admin/subscription-management'),
new AppMenuItem('VisualSettings', 'Pages.Administration.UiCustomization', 'flaticon-medical', '/app/admin/ui-customization'),
new AppMenuItem('WebhookSubscriptions', 'Pages.Administration.Host.Settings', 'flaticon2-world', '/app/admin/webhook-subscriptions'),
new AppMenuItem('DynamicProperties', 'Pages.Administration.Host.Settings', 'flaticon-interface-8', '/app/admin/dynamic-property'),
new AppMenuItem('Settings', 'Pages.Administration.Host.Settings', 'flaticon-settings', '/app/admin/hostSettings'),
new AppMenuItem('Settings', 'Pages.Administration.Tenant.Settings', 'flaticon-settings', '/app/admin/tenantSettings')
]),
new AppMenuItem('DemoUiComponents', 'Pages.DemoUiComponents', 'flaticon-shapes', '/app/admin/demo-ui-components')
]);
}`
Thank you for your help @ismcagdas
Which page should I add the setTimeOut parameter to?