"cleverplatform" की गतिविधियाँ

Hi - no - im not using one shared database for all tenants erik

I'm checking your demo application Acme.BookStore - in Acme.BookStore.Web -

  1. the modal is prepared as razor page Pages/Books/CreateModal with get / post method where is:

public async Task<IActionResult> OnPostAsync() { await _bookAppService.CreateAsync(ObjectMapper.Map<CreateBookViewModel, CreateUpdateBookDto>(Book)); return NoContent(); } 2. in index.js I see createModal.onResult method where is only grid refresh.

createModal.onResult(function () { dataTable.ajax.reload(); });

  1. I want to send created entity Id into onResult js method, but im not sure how to set it even I try it:
  • send json object from OnPostSAsync which looks: new JsonResult(new { CategoryId = item.Id } )
  • createModal.setResult and createModal is defined as global
  • but still I don't know how to access it, because when onPost method ended I need to set setResult property but not sure where

I expected to use "UnobtrusiveJavaScript" approach to return JSON from Post into onSuccess jabvascript method, but it is not fired, even I rewrite Ajax.BeginForm into .net COre version (per source: https://www.aspsnippets.com/Articles/AjaxBeginForm-OnSuccess-not-firing-in-ASPNet-MVC.aspx)

<form class="layui-form" asp-action="CategoryAdd" data-ajax-success="onSuccess" data-ajax="true" data-ajax-method="POST"></form> (per https://dotnetthoughts.net/jquery-unobtrusive-ajax-helpers-in-aspnet-core/)

thanks

works like charm! Thanks a lot

I have question about supporting these relationships from suite - currently i need to buid them manually and when I changing related entities code is re-wrote (im solving that by using partial classes). Would be really nice to have prepared these missing parts which reflect normal application developemnt I saw roadmap that these features will be maybe included in upcomming releases - have any rough idea when and if they will be included ? Erik

Hi Hakan, I found only info here https://docs.abp.io/en/commercial/latest/road-map; "More code generation / developer assistance features for the ABP Suite" - so I don't know what is hidden behind that backlog Item, and I meant that can be exactly to build there relationships generation.

Erik

Hi,

it is possible to regenerate abp.suite entities from existing abp solution project like reverse engineering ? I needed to move my project to another PC and I missed maybe few suite metadata on new PC.

What should I do when I want to have abp.suite solution to have reflected state of existing code ?

thanks Erik

H, thanks for answer. I know that this folder exists, but I need to know if there is any possible way how to re-generate it if not exists from application code.

when I use FileManagement module with Azure Blob storage I want to access to stored file in public container (images for reuse in eCommerce).

on Azure Blob in public container I see only blob guid url "https://xxxxx.blob.core.windows.net/images/host/a726787c-35b9-d554-eef0-3a00377a3195" and "application/octet-stream" content-type.

Is there any way how to overwrite it in application service to store instead Blob GUID, the filename with extension and correct content-type like: "https://xxxxx.blob.core.windows.net/images/host/image123.jpg" ?

thanks Erik

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:

  • ABP Framework version: v4.4.4
  • UI type: MVC
  • DB provider: EF Core
  • **Tiered (MVC) **: yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Thanks a lot - it works perfectly for me. Erik

I want to use existing File Management Module UI as a part Modal window with possible selection one File to store to parent entity. How catch frontend events or how add new actions methods to files grid. How access to File Management module and display on Modal window.

It is possible to do it with reusing existing parts? or should I build my own File Management frontend to support that rather.

thanks Erik

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:

  • ABP Framework version: v4.4.4
  • UI type: MVC
  • DB provider: EF Core
  • **Tiered (MVC) : yes
32 प्रविष्टियों में 11 से 20 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11