Open Closed

Problem upload to blob and saving detail screen #1509


User avatar
0
rick@i-pulse.nl created

Hello,

We have 3 problems which we described a sample project.

  1. Upload to blob is not working
  2. After saving a detail screen (not popup), we cannot redirect to another page (for example index or detail)
  3. After saving a detail screen, we cannot show an alert message Please download our WeTransfer link with the sample project to see what happens: https://we.tl/t-lErtqI0FmM . Then see Menu:FileUpload -> Files.Upload to blob is not working

Upload to blob is not working We have used the posts of ABP and Bartvanhoey (https://githubmemory.com/repo/bartvanhoey/AbpFileUploadToAzureStorage) for inspiration for the implementation of the upload to blob. All registrations are working well but when we try to upload we got an exception. See:

2 & 3) After saving Title is clear I think. See:


4 Answer(s)
  • User Avatar
    0
    cotur created

    Hi

    File upload and the BLOB Storing is different.

    Your given examples are not inspectable. The problem may be anywhere.

    Also, you can use streams directly instead of byte array, please check: https://docs.abp.io/en/abp/latest/Application-Services#working-with-streams

  • User Avatar
    0
    rick@i-pulse.nl created

    Hi,

    Can you tell me more about the redirect & alert question? We have an edit screen (not in popup) and need to inform the user about the actions.

  • User Avatar
    0
    cotur created

    Actually I don't know what is the Alerts object?

    There is no Alerts in ABP MVC Razor Pages. That is exist in JavaScript.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38