Hi, I still confuse to use Distributed events for my case:
Hi Abp Team,
Recently I have a problem with my own module that it cannot show the language, it run properly before and other modules are still ok for language loading.
Here my en.json file:
{
"culture": "en",
"texts": {
"SamplePageMessage": "A sample page for the SharedInformation module",
"Menu:SharedInformation": "Shared Information",
"Menu:GeographicalSubdivisions": "Geographical Subdivisions",
"Menu:Taxes": "Taxes",
"Menu:GeographicalSalesStructure": "Geographical Sales Structure",
"Menu:Others": "Others",
"Permission:Countries": "Countries",
"Permission:SharedInformation": "Shared Information",
"Permission:Create": "Create",
"Permission:Edit": "Edit",
"Permission:Delete": "Delete",
"Countries": "Countries",
"NewCountry": "New Country",
"Country": "Country",
"Menu:Countries": "Countries",
"SeeAdvancedFilters": "Advanced filters",
"DeleteConfirmationMessage": "Are you sure you want to delete this record?",
"SavingConfirmationMessage": "Your data has been modified. Do you wish to leave and lose the pending changes?",
"FGKDeletetionException": "The deleting record is already used in table: {0}!"
}
}
Hi, I'm sorry because I haven't ever used events bus before and I'm quite new to ABP Framework so I still confuse how to retrieve data from an entity in another modules so that I can join with the entity in the current module. Which and where I need to publish and subscribe? Thanks Dharma (Han Nguyen)
Thanks for your information but it will be helpful if you have a document guide step by step how I can do in ABP to use distributed events for my case. Thanks, Dharma (Han Nguyen)
Hi Jfistelmann,
Thanks for your information, I can merge two DbContext and do the join query well but having the issue we need to add DbSet for all AggregateRoot/Enties in GL Module although I just need one Aggregate is Account:
And the second issue I mentioned in the first post is still cannot resolve, mean I cannot do migration if the table having foreign key refer to the Id in the Account table.
Hi, I have an issue with Foreign Key when we use multiple modules. For example: I have 2 modules:
How can we handle for this case as our solution are separated to many modules and sometime we need to join or get data from other modules. Thanks Dharma (Han Nguyen)
Thanks, I forgot to add the mapping for the UI Layer, now it already worked.
Hi, I'm trying to map from CountryDto to CountryCreateDto but it threw the error: AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping. Although I already add Createmap for above mapping:
public SharedInformationApplicationAutoMapperProfile()
{
/* You can configure your AutoMapper mapping configuration here.
* Alternatively, you can split your mapping configurations
* into multiple profile classes for a better organization. */
CreateMap<Country, CountryDto>();
CreateMap<Country, CountryExcelDto>();
** CreateMap<CountryDto, CountryCreateDto>()
.ReverseMap();
CreateMap<CountryDto, CountryUpdateDto>()
.ReverseMap();**
I call the mapping here and threw the error: if (editModel != null && e.IsNew) { await CountriesAppService.CreateAsync(ObjectMapper.Map<CountryDto, CountryCreateDto>(editModel)); }
Thanks a lot for your support, I will try your code.