I have two tables named QWorkspace and QWorkspaceGroup. And there is a foreignkey link between these two tables. (QWorkSpace (Id) ->QWorkSpaceGroup (QWorkSpaceId)
I'm pulling a record from the table with the code below.
QWorkSpace qWorkSpace = await _qWorkSpaceRepository.FirstOrDefaultAsync(e => e.Id == input.QWorkSpaceId);
When I call the table as qWorkSpace.QWorkspaceGroup, it is null.
Thanks @ismcagdas
Hi, When you click on the activation link in the membership activation mail, you are directed to the login page without a confirmation message on the opened page.
on page src/account/email-activation/confirm-email-component.ts;
this.notify.success(this.l('YourEmailIsConfirmedMessage'), '', { onClose: () => { this._router.navigate(['account/login']); } });
Even though I removed the "this._router.navigate(['account/login']);" code, the redirect was not disabled.
I want redirection after the user sees the "Email address has been confirmed" message and clicks the "Okey" button.
Thank you for your help in advance.
Which page should I add the setTimeOut parameter to?
Thank you for your help @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, 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')
]);
}`
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'); }),
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);
}
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'); }),
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.