Can i use a mobile server action in a web app?

Can i use a mobile server action in a web app?

  

There is a utility I found on the forge to resize images while retaining aspect ratio (I need to set images to a max height while keeping the same ration on the width to the original image) - I was wondering if I could simply use this the way it is or if I need to use similar logic and build in in a web platform.  Thanks

Hi Andrew, 

Yes, you can! Just set your Server Action as public, and reference it from your web app.

Either way you can try to reuse logic from other components that are designed for we apps.

Here are some examples:

https://www.outsystems.com/forge/component/2/imagetoolbox/

https://www.outsystems.com/forge/component/902/cropper/

Hi Andrew,

Yes, you can use mobile server action in web app. For resize image, Joao already provide you example link.  


Thanks,

Rajat Agrawal