512
Views
4
Comments
Solved
Showing the file name on screen (Reactive Web App)
Question

Hi,


I would like to show the name of the file that has been uploaded on the screen for a reactive webb app. I've seen how they do it for a traditional web app, but the upload widget on the reactive web app version doesnt have a filename property to use in any way.

Any ideas how to solve this ?

2021-08-12 11-00-27
Nordin Ahdi
 
MVP
Solution

Hi Jari,

In Reactive Web the upload widget has a Filename property for which you could set a Local Variable that holds that value.


You could then use that Filename Local Variable in an expression inside the Upload Widget to display the selected filename.

As you can see, it works at runtime:

Hope this helps.

Regards,

Nordin

2020-05-07 18-53-00
Rui Barradas
 
MVP

Hello Jari,

When you use the Upload widget, you have a property called File Name where you should define a variable. That variable holds the name of the file. You can define a local variable to hold this name and show it in the screen.


Let me know if you have any further questions.


Kind regards,

Rui Barradas

UserImage.jpg
Jacob Dekker

@Nordin thank you ! It works i only had to drag the local variable to the screen!

2021-08-12 11-00-27
Nordin Ahdi
 
MVP

You're welcome Jari! 

Indeed, that is one of many nice accelerators that come with the platform. :)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.