<cite>tteoh: </cite>
<cite>tteoh: </cite> <cite>alper: </cite> you can read customData from JavaScript.
eg:
abp.nav.menus.MainMenu.customData
Thanks for your reply. But I'm getting undefined value when I using abp.nav.menus.MainMenu.customData in console.log. After, I using abp.nav.menus.MainMenu in console.log, then I discover abp.nav.menus.MainMenu has not customData property. I have one question hopefully you can give me an answer. MenuItemDefinition customData property whether can pass the value to $stateParams??
<cite>tteoh: </cite>
<cite>alper: </cite> you can read customData from JavaScript. eg:
abp.nav.menus.MainMenu.customData
Thanks for your reply. But I'm getting undefined value when I using abp.nav.menus.MainMenu.customData in console.log. After, I using abp.nav.menus.MainMenu in console.log, then I discover abp.nav.menus.MainMenu has not customData property. I have one question hopefully you can give me an answer. MenuItemDefinition whether can pass value to $stateParams??
<cite>alper: </cite> you can read customData from JavaScript. eg:
abp.nav.menus.MainMenu.customData
Thanks for your reply. But I'm getting undefined value when I using abp.nav.menus.MainMenu.customData in console.log. After, I using abp.nav.menus.MainMenu in console.log, then I discover abp.nav.menus.MainMenu has not customData property.
@ismcagdas,
Ya, I'm using Angularjs.
Thanks for your ans :D
<cite>ismcagdas: </cite> Hi @velu,
We don't have a suggestion for any reporting tool. Maybe someone who has an experience with reporting tools can offer you one.
Hi,
May consider this: <a class="postlink" href="https://jsreport.net/">https://jsreport.net/</a> as part of Abp framework?
/Tommy
<cite>michelmk2: </cite> That depends, what kind of reports are you talking about? We often use SSRS for all kinds of reports (Invoices, documents, some simple graphs, etc.)!
Hi, you want to try out: <a class="postlink" href="https://jsreport.net/">https://jsreport.net/</a>
Thanks, /Tommy
<cite>aaron: </cite> Domain service methods are not conventional unit of work methods.
Alternatively, you can use [UnitOfWork] attribute for:
- All public or public virtual methods for classes those are used over interface (Like an application service used over service interface).
- All public virtual methods for self injected classes (Like MVC Controllers and Web API Controllers).
- All protected virtual methods.
Hi Aaron,
Based on the link you provided.... it states the below:
"You can inject and use IUnitOfWorkManager as shown here (Some base classes have already UnitOfWorkManager injected by default: MVC Controllers, application services, <span style="color:#FF0000">domain services</span>...). Thus, you can create more limited scope unit of works. In this approach, you should call Complete method manually. If you don't call, transaction is rolled back and changes are not saved."
I interpret it as Domain Services is injected with UoW by default. Thank you for further clarification.
/Tommy
<cite>aaron: </cite> Begin a UnitOfWork:
using (var uow = UnitOfWorkManager.Begin()) { var users = _userManager.Users.ToList(); uow.Complete(); }
Hi Aaron,
Could you explain why an explicit UoW is required?
Thanks. /Tommy
<cite>alper: </cite> Write all your logic to Application Service. Whenever you need to use the same logic in different places like in different application services you should you a domain service to share the code.
Hi Alper,
Write all your logic to Application Service. Whenever you need to use the same logic in different places like in different application services you should you a domain service to share the code.[/quote]
Would it be a good practice to write the logics as Private functions within the Application Service, while keeping the actual AppService functions focusing on DTOs operations. Later stage, the same logics to be shared with other AppService, then a these Private functions can be easily ported to Domain Service.
Personally, I prefer to have logics implemented at Domain layer; however, it is extra overhead if logics are only used by a single AppService.
Are my perspectives above correct?
Thanks. /Tommy
<cite>aaron: </cite> Hi Tommy, can you try Abp.EntityFramework v2.3.0?
Hi aaron,
Able to update now.
What should I do in order to get the exception? Follow the stackoverflow approach?
Thanks. /Tommy