Activities of "jfistelmann"

Hey,

if you use the Language Management you can search for strings and see the LocalizationResource they are coming from:

Does that help?

Hey,

Modules do not work in that way. A module in itself must contain everything it needs to perform all of it's use cases. Module A is an order module. Most likely, an order module without a customer is useless.

What you need to build is:

Module A - Orders - (Order, Customer, Tax....) Module B - Customers (Customer, Address, Contacts...)

Both modules have a Customer entity. And those entities are different

If you have that setup, the next step may be using a distributed event bus inside the consuming application to sync data between those two modules. You could implement it like described here: https://docs.abp.io/en/abp/latest/Distributed-Event-Bus#entity-synchronizer

Hey,

the docs module is not designed for that. It is meant to host documentation for everyone.

Has you can see here: https://github.com/abpframework/abp/blob/dev/modules/docs/src/Volo.Docs.Admin.Application.Contracts/Volo/Docs/Admin/DocsAdminPermissions.cs

There is no permission definition on a document level.

Also, it's not designed for multitenancy: https://github.com/abpframework/abp/tree/dev/modules/docs/src/Volo.Docs.Domain/Volo/Docs

Based on that information, you can either make a feature request here: https://github.com/abpframework/abp/issues OR: do something like this:

  1. Implement your own Application and UI Layer with your specific needs, with permission and multitenancy logic matching your needs. Note that you have to come up with a different solution for matching the data to a tenant as the Entities do not implement IMultiTenancy
  2. Override the default Application service implementations and (for example) just throw NotImplementedException's to prevent that someone gains access through the default logic

Hey,

I'll create some resources. Wanted to make a blog post on how to handle such cases along with source code.

Takes a bit of time, but I think that it would bring the best value.

hey hanntd,

that's not how things work. can you provide some information on your setup?

You said you're using blazor. I need to know:

  • ef or mongo db
  • dbms (postgres, ms sql etc)
  • tiered or not or microservice

so that i can use abp cli to create a repro.

Then I can create some resources on how to tackle the issues you are facing.

Suite: Add ability to manually specify a project's ABP Version

Problem: When using Directory.Build.Props like this

to unify the abp version inside the whole project

ABP suite is not able to detect on which version my app is running on.

Suggested solution Ability to manually specify the version somewhere.

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)

I understand, does this help? https://docs.abp.io/en/abp/latest/Distributed-Event-Bus

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)

there you go: https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities#creating-a-new-entity-with-its-own-database-table-collection

Sorry,

I've misread your question. Liangshiwei's answer fits better here:

This is not a good practice. Entities between modules should not have dependencies, modules should be independent.
Another way is redundant data in the module, like ABP did:、
•	https://github.com/abpframework/abp/tree/dev/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Users
•	https://github.com/abpframework/abp/blob/dev/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Blogs/BlogPost.cs#L32
Cms module has its own user entity, it uses distributed events to synchronize users from the identity module, and then you can use the navigation properties

Hey, as of today there is no component which you could use for that as the UI code is a page and therefore nothing that could be reused elsewhere.

So you would have to implement a component yourself.

Take a look at the documentation for information on what app services exist for you to interact with the file module.

Kind regards Jack

Showing 51 to 60 of 152 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11