At the end of this part there is a link that is broken
https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Developing-Step-By-Step-Angular-Creating-PhoneBook-Component
I'm using the API version: v8.9.2.0 | Client: v8.9.2.0 [20200713]
Locally it works correctly I can debug and everything, the problem is only when I publish on iis
Abp.AbpException: Unknown filter name: MayHaveTenant. Be sure this filter is registered before. at Abp.Domain.Uow.UnitOfWorkBase.GetFilterIndex(String filterName) at Abp.Domain.Uow.UnitOfWorkBase.SetFilterParameter(String filterName, String parameterName, Object value) at Abp.Domain.Uow.UnitOfWorkBase.SetTenantId(Nullable`1 tenantId, Boolean switchMustHaveTenantEnableDisable) at Abp.Domain.Uow.UnitOfWorkBase.Begin(UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkManager.Begin(UnitOfWorkOptions options) at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.BackgroundJobStoreProxy.GetWaitingJobs(Int32 maxResultCount) at Abp.BackgroundJobs.BackgroundJobManager.DoWork() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Threading.BackgroundWorkers.PeriodicBackgroundWorkerBase.Timer_Elapsed(Object sender, EventArgs e)
I need to make a call to a function that executes an insert (ADO) in another database at the application level. But when I put it, it is giving a rollback and it shows an error on the screen. But when I comment the line that calls this method it works again... :roll:
<a class="postlink" href="https://imgur.com/a/BkqYQ">https://imgur.com/a/BkqYQ</a>
I would like to allow some permissions under tenancies only if the tenancy has a feature. How about the best way to implement it?
For example: Tenancy 'A' has the feature 'Phonebook'. Tenancy 'B' has not the feature 'Phonebook'
So, just the admin of tenancy 'A' is able to see the permission 'Phonebook'
Tks
I can not put sub-items on the front site menu (FrontEndNavigationProvider). I'm putting the same name all the items, this leaves all selected. I need only the parent item and the selected item be selected be marked
.AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Solução")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Guarda Móveis"),
url: "/self-storage/guarda-moveis")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Guarda Documentos"),
url: "/self-storage/guarda-documentos")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Guarda Estoque"),
url: "/self-storage/guarda-estoque-para-empresas")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Guarda Volumes"),
url: "/self-storage/guarda-volumes")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Depósito Privativo"),
url: "/self-storage/deposito-privativo")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Galpões Modulares"),
url: "/self-storage/galpoes-modulares")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Guarda Volumes"),
url: "/self-storage/guarde-objetos-reformas-ampliacoes")
).AddItem(new MenuItemDefinition(
"Frontend.Solucao",
new FixedLocalizableString("Guarda Volumes 2"),
url: "/self-storage/startups-pme")
))
Url must use the following format <a class="postlink" href="http://www.domain.com/my-url-slug-here">www.domain.com/my-url-slug-here</a> .I have created the database and all data in the application structor. But in Web MVC I do not know how to implement.
Even with all the fields filled keeps popping validation error
CSHTML Code
---------- START ----------------- @using Test.Noticias <div> <form name="noticiaCreateOrEditForm" role="form" novalidate class="form-validation"> <div class="modal-header"> <h4 class="modal-title"> <span ng-if="vm.noticia.id">@L("EditNoticia"): {{vm.noticia.titulo}}</span> <span ng-if="!vm.noticia.id">@L("CreateNewNoticia")</span> </h4> </div> <div class="modal-body"> <div class="form-group form-md-line-input form-md-floating-label no-hint"> <input class="form-control" type="text" name="NoticiaTitulo" ng-class="{'edited':vm.noticia.titulo}" ng-model="vm.noticia.titulo" required maxlength="@Noticia.MaxTituloLength"> <label>@L("Titulo")</label> </div> <div class="form-group form-md-line-input form-md-floating-label no-hint"> <input class="form-control" type="text" name="NoticiaDescricao" ng-class="{'edited':vm.noticia.descricao}" ng-model="vm.noticia.descricao" required /> <label>@L("Descricao")</label> </div> @enviarPush@ <div class="md-checkbox"> <input id="Setting_AllowSelfRegistration" class="md-check" type="checkbox" name="AllowSelfRegistration" ng-model="vm.noticia.enviarPush"> <label for="Setting_AllowSelfRegistration"> <span class="inc"></span> <span class="check"></span> <span class="box"></span> @L("EnviarNotificacaoPush") </label> </div> <div ng-show="vm.noticia.enviarPush" class="form-group form-md-line-input form-md-floating-label no-hint"> <input class="form-control" type="text" name="TituloPush" ng-class="{'edited':vm.noticia.tituloPush}" ng-model="vm.noticia.tituloPush" /> <label>@L("TituloPush")</label> </div> <div ng-show="vm.noticia.enviarPush" class="form-group form-md-line-input form-md-floating-label no-hint"> <input class="form-control" type="text" name="DescricaoPush" ng-class="{'edited':vm.noticia.descricaoPush}" ng-model="vm.noticia.descricaoPush" /> <label>@L("DescricaoPush")</label> </div> <div class="form-group form-md-line-input form-md-floating-label no-hint"> <input class="form-control" type="text" name="Texto" ng-class="{'edited':vm.noticia.texto}" ng-model="vm.noticia.texto" /> <label>@L("Texto")</label> </div> </div> <div class="modal-footer"> <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button> <button type="submit" button-busy="vm.saving" busy-text="@L("SavingWithThreeDot")" class="btn btn-primary blue" ng-click="vm.save()" ng-disabled="noticiaCreateOrEditForm.$invalid"><i class="fa fa-save"></i> <span>@L("Save")</span></button> </div> </form> </div> ------------END------------------
Class Dto --------- START -------------- using System.ComponentModel.DataAnnotations;
namespace Test.Noticias.Dto { public class CreateNoticiaInput { public virtual int? Id { get; set; } public virtual int TenantId { get; set; }
[Required]
[MaxLength(Noticia.MaxTituloLength)]
public virtual string Titulo { get; set; }
[Required]
[MaxLength(Noticia.MaxDescricaoLength)]
public virtual string Descricao { get; set; }
[Required]
public virtual string Texto { get; set; }
[MaxLength(Noticia.MaxTituloPushLength)]
public virtual string TituloPush { get; set; }
[MaxLength(Noticia.MaxDescricaoPushLength)]
public virtual string DescricaoPush { get; set; }
public bool EnviarPush { get; set; }
}
}
---------END-----------
I need a html editor, which is the best option? There is this implemented in official thema <a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_4/components_editors.html">http://keenthemes.com/preview/metronic/ ... itors.html</a>
Does anyone know any better :?: