Form Designer read files using HTML Element Component

Hi, I’m new to the forms so not sure if this is in the right place or not, but with that said.
in Form Designer I’m using a HTML Element Component to read a text file. and display its contents using

<iframe src="/file://{{data.txtFile}}" width="100%" height="600"/>

and I want it to refresh on change,
however, this seems to hold the file open, I want it to update when the file is updated. So this element needs to only the file in read only mode then update when the file is updated. I feel like I’m missing something simple, but I can’t figure out how to make it work. any help would be greatly appreciated.
also it doesn’t have to be the HTML element Component, this is just what I thought would be best. if there is something better for this please let me know

1 Like

Hey @Zarvon1

What I suggest is to go with normal UiPath approach where you send data to html content for display & logic in the Do block for file update.

Thanks
#nK

1 Like

Thanks for the quick reply Nithinkrishna, any chance you could show me an example of how this would work, I don’t understand how this would function.

1 Like

Sure @Zarvon1

1 Like