We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to upload file by using a custom service instead of using asyncSettings path property

Thread ID:

Created:

Updated:

Platform:

Replies:

149143 Nov 15,2019 03:11 PM UTC Nov 19,2019 02:24 AM UTC Angular - EJ 2 1
loading
Tags: Uploader
Tuariq
Asked On November 15, 2019 03:11 PM UTC

Hi team,

I am using syncfusion uploader control. I am unable to figure out how to upload a file by calling a custom service instead of directly giving path in asyncSettings.
(as api will return some JSON in response body of upload which is needed)

Could you please help me in this?

Thanks
Tuariq

Sevvandhi Nagulan [Syncfusion]
Replied On November 19, 2019 02:24 AM UTC

Hi Tuariq, 

Greetings from Syncfusion support. 

We can give the custom service link to asyncSettings as mentioned below, 

  public path: Object = { 
        saveUrl: 'https://localhost:44379/Home/Save', 
        removeUrl: 'https://localhost:44379/Home/Remove' 
    }; 



Regards, 
Sevvandhi N 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon