Hi,
Subject: Issue with File Handling using new File Type in Create and Edit Modals (ABP Suite v8.3.1) MVC Razor Page
I’ve identified an issue related to file handling in the application while using ABP Suite v8.3.1. I followed the standard process by creating two properties—one for string and one for File—without making any manual changes to the generated code. Here are the specific issues:
File Submission: When a user selects a file for the first time on create modal, the file is saved as expected. However, if the user cancels the submit action on the modal, the file is not deleted.
File Deletion on Edit: In the edit modal, when a user clicks the delete button, it allows the user to select a new file, but the previously uploaded file is not deleted from the system.
I’m not sure if this is the correct place to report such issues, as I couldn’t find a dedicated section for ABP Suite bugs and fixes.
Hi Maliming,
Thank you for your response.
I understand the need for variables and expressions in the templates, which is a key reason for using text templates—to create dynamic documents (contracts, annex, invoices, etc.) that automatically pull data from the application. Additionally, they allow end-users to customize documents according to their needs.
We are aware that parts within {{ }} come from the application and should not be modified. For example:
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec laoreet,
dolor vel condimentum lobortis, lectus justo vehicula libero, ac suscipit quam lorem nec lacus.
{{model.organization_name}}, lorem ipsum:
</p>
However, our current text template becomes difficult to modify for documents that are several pages long—often 5, 6, or even more pages. I understand that implementing an HTML editor for text templates may not be a simple task, but it would significantly enhance working with these documents and provide additional flexibility for end-users.
We would appreciate it if you could consider this suggestion and explore the possibility of implementing such an improvement.
Thanks
HTML editor for Text Templates to enable end-users to easily edit text templates without requiring HTML knowledge. Example: HTML Editor Example
Ok, great thanks.
Ok, this is great for us it works.
If it's not a problem to tell me, we set the default language to Serbian, as you can see in the first picture, but always when we log in for the first time, it is English.
Thanks.
Hi,
It seems we didn't understand each other well, sorry maybe I didn't explain well, this command abp translate -c sr -r en compares sr.json and en.json and I already translated it, it made this, everything matches:
{ "ReferenceCulture": "en", "TargetCulture": "sr", "Resources": [] }
I need a translation into Serbian, by default teat comes from Abp, and when we update Abp you add new texts. These values do not exist in en.json
For example, in Language Texts under Resource Name, they have options AbpAccount, AbpAuditLogging and others. How should we translate these?
Sorry, please correct me if I misunderstood something
Hi,
I noticed, if this can help, that the AbpLanguageTexts table is empty when we create a new tenant, when i manually insert (backup/restore) data from the host table (using dbeaver), then the translation works. Maybe we should somehow seed this table when we create the tenant? We create the tenant through abp, and we choose that it is a separate database.
Thanks.
We need help related to translation into Serbian. Specifically, the translation of ABP, not localization. Localization is fine.
Since there is currently no default Serbian translation, we have translated ABP using Languages and Language Texts, and it works fine for the host.
We have a problem when creating a new tenant, the translation does not appear.
How can we solve this?
Thank you.
Hi,
We decided for now, to leave it as it is at the moment. If in the future there is a need to customize the Text Templates module, I will write for InlineContent page code.
Thanks.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
Hi abp team.
Have you explored the possibility of integrating a feature like this HTML5 Editor into text templates?
We are currently using Word templates with bookmarks for generating contracts, annexes, and other related documents. We are considering transitioning to text templates, but we believe that end user modifications through HTML might present some complexities.
Or could you provide us with recommendations or guidelines on how we might implement this ourselves?
Thanks.