Hi, Suppose that we have sybsystem for accounting system like StoreSubSystem, SaleSubSystem, AccountingSubSystem and .... How can we have multiple angular layout application and menus for each subsystem. (I use Apb + EntityFramework + AngularJs)
Hi, How can I add extra filed to abpSession . for example I want to force user to select (current fiscal year) in login page and store it in session .
Hi, What is best way for use localization in html templateUrl file ?
Hi, I try to change System.Threading.Thread.CurrentThread in project startup
public class Startup
{
public void Configuration(IAppBuilder app)
{
// Enable the application to use a cookie to store information for the signed in user
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
LoginPath = new PathString("/Account/Login")
});
// Use a cookie to temporarily store information about a user logging in with a third party login provider
app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);
System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("fa-IR");
}
}
but it does not work. also I set this in AbpModule's Preinitialize class.
public override void PreInitialize()
{
//Add/remove languages for your application
Configuration.Localization.Languages.Add(new LanguageInfo("fa-IR", "فارسی", "famfamfam-flag-ir", true));
Configuration.Localization.Languages.Add(new LanguageInfo("en", "English", "famfamfam-flag-england", false));
Configuration.Localization.Sources.Extensions.Add(
new LocalizationSourceExtensionInfo("AbpWeb",
new XmlFileLocalizationDictionaryProvider(
HttpContext.Current.Server.MapPath("~/Localization/AbpWebExtensions")
)
)
);
but it did not work and lang attribute in html tag is en
Hi, Do you suggest Abp (EF+AngularJS) for internet store?
Hi. How I can view hierarchy data with tree view in abp project with AngularJs like Zero project? Do you have any sample code?
Hi, after update to Version=0.7.3.0 I received this error ERROR 2015-11-09 08:46:34,251 [6 ] .Mvc.Controllers.AbpHandleErrorAttribute - System.TypeLoadException: Could not load type 'Abp.Json.JsonHelper' from assembly 'Abp, Version=0.7.3.0, Culture=neutral, PublicKeyToken=null'. at Abp.Web.Navigation.NavigationScriptManager.AppendMenu(StringBuilder sb, UserMenu menu) at Abp.Web.Navigation.NavigationScriptManager.<GetScriptAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)..... How can I resolve this problem?
Hi Every thing work correctly when I use "context.Manager.MainMenu" like this
context.Manager.MainMenu.AddItem(baseTable)
but when I add item to "context.Manager.Menus"
var md = new MenuDefinition("um", new LocalizableString("Persons", ISDConsts.LocalizationSourceName));
context.Manager.Menus.Add(new System.Collections.Generic.KeyValuePair<string, MenuDefinition>("test", md));
then "abp.nav" in java script file is null
Hi, Suppose we have entities like this
public class DocHeader : Entity
{
public int Id { get; set; }
public string Name { get; set; }
public virtual ICollection<DocDetail> DocDetails { get; set; }
}
public class DocDetail
{
public int Id { get; set; }
public byte Type { get; set; }
public int DocHeaderId { get; set; }
public int Value { get; set; }
[ForeignKey("DocHeaderId")]
public virtual DocHeader DocHeader { get; set; }
}
we have specific validation in Update method in DocHeaderApplicationService and want to validate based on details for current docheader. for example 1- value summaries in doc detail not to be grater than 30 2- user cant select detail with same [type] in DocHeader
how can I do this: 1- validate detail (this is not [◦Validating data transfer objects] this is [Validating Entity]) 2-passing validation erros to client 3-Where I place validation ? DomainService or in ApplicationService
Hi. I Have an middle entity for [many to many ] relationship. how can I do this job with inheritance from Abp.Domain.Entities.Entity?