ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Additional Overrides For Field of Type Media's Import Function

Open mjmatthiesen opened this issue 4 years ago • 2 comments

Good overrides to have:

Import(base64: Text, description, mime) Justification: Many APIs return data in a base64 string. Current solution: use base 64 convert FromBase64 to outstream. Copy to instream. Call ImportStream.

Import(url: Text, description, mime) Justification: You may have a url to the resource. Current solution: use http client et all to download image. Get instream. Call ImportStream.

This could all be a bit simpler, would be great. I'd write my own PR, but I don't think this is exposed, at least I didn't find it.

mjmatthiesen avatar Apr 01 '22 03:04 mjmatthiesen

Thanks for your suggestion. The import function for fields of type Media is a platform implementation. I've forwarded your request, but normally issues in this repo are either for open source or extensibility requests. As this is platform, it doesn't fall into any of these categories. But let's see :-)

JesperSchulz avatar Apr 21 '22 14:04 JesperSchulz

We will add the request to our backlog, but since workarounds do exist and we are very busy with other features, then I would not expect this to happen in the next release.

jensmpmsft avatar May 27 '22 10:05 jensmpmsft