Skip to Content
1

How to add mime types like sound files to Lumira Designer Documents?

Jan 05 at 12:51 PM

175

avatar image

Dear community,

Did anyone already find a way to load files other than geojson,css,image,font,csv or svg into a Lumira Designer Document? Back in the day we could always alter the file type to "show all" on the file picker dialog and choose the desired file (e.g. mp3 etc.) anyways.

On Lumira 2.x the new built-in dialog refuses to upload/display any other file type. I was able to replicate the "old way" by changing my startup mode to local [legacy] but that will most probably cause problems once moving to BIP and make maintenance cumbersome since you cannot see the files. Unfortunately I couldn't test on BIP yet, because my test servers are not yet ready.

@reiner.hille-doering: Could you please shed some light on the question? Are there any plans to allow additional mime types? The community has SDK components like the audio component, which need to be able to consume file types other than specified above (*.wav, *.mp3 etc.).

Kind regards

Martin

10 |10000 characters needed characters left characters exceeded

Martin, not an answer, but a comment. It appears to me that certain functionality only works back in legacy mode - see https://answers.sap.com/questions/388904/howto-create-lumira-designer-template.html

I'll see if I can try something on BIP later

0

Hi Tammy,

I can live with that in local scenarios but I would really like to know about the server side of it. It would be nice if you could have a quick look into it.

Kind regards

Martin

0

Hi Martin - I am sorry for the delay on my side.

OK I can upload an MP4 file to the BI4.2 SP05 platform.

But I can't see it in the MIMES folder which makes me wonder if you can really use it

Does this help?

martinp.jpg (15.1 kB)
martinp2.jpg (8.9 kB)
0

Thank you very much for taking the time. So this is not straight forward at least. The next thing I will try is to check the applied mime type on CMC.

Your popup indicates the file is there so it is likely we can reference it copying paths ignoring the problematic file picker.

Thanks again for checking.

Kind regards

Martin

0

OK if you don't get this working - feel free to join this ASUG webcast later this month to ask this question "live" What's New in Lumira Designer 2.1?

0

Hi Martin,

On a side note, I’m curious to know what kind of real world scenarios you have come across that require embedding of audio files in a Lumira Designer application?

Regards,

Mustafa.

0

Hi Mustafa,

I developed the component due to demand by Alex Cruickshank. After that there were some further questions and enhancement ideas. You can have a look at the blog post here.

From my point of view playing sounds can make sense especially with dashboards that run on your browser for monitoring purposes for several hours for example. That way you can raise awareness of certain events like anomalies or a threshold that has been crossed.

Kind regards

Martin

0

I see your point in theory but I wonder how this would translate in practice? :) I expect triggering audio alerts based on anomalies or a threshold being crossed would require a reasonable amount of hard-coded scripting logic and rely on “near real-time” data sources.

0

You are probably right for most cases. I'd still say it is not ridiculously crazy to code some real time data gathering functions. Also there are custom timed script executions with the available Timer components.

0

Yes, agreed, I didn't mean to suggest it would be "ridiculously crazy" :) In any case, such components are fun for exploring the possibilities :)

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers