Skip to main content
Solved

Optimize the behavior of the previewer for text files

  • October 25, 2024
  • 3 replies
  • 50 views

Harm Horstman
Superhero
Forum|alt.badge.img+21

We need a simple solution to show text files in the preview better than below.

In dark mode the back ground color should be white or the text colors inverted.

And is there any possibility to wrap the contents of a text file in the previewer?
 


Any suggestions?

Best answer by Erik Brink

What about a task with the text in a parameter, where the parameter is masked as a Read-only input control on the domain?

 


As an alternative, ​you could create a html page which reads the text from Indicium. This way you can ​style the text in the preview using native HTML and CSS.​​​​​ You could bind the previewer to a url column having the Primary Key value in the query string of the URL.

View original
This topic has been closed for comments

Erik Brink
Moderator
Forum|alt.badge.img+5

What about a task with the text in a parameter, where the parameter is masked as a Read-only input control on the domain?

 


As an alternative, ​you could create a html page which reads the text from Indicium. This way you can ​style the text in the preview using native HTML and CSS.​​​​​ You could bind the previewer to a url column having the Primary Key value in the query string of the URL.


Harm Horstman
Superhero
Forum|alt.badge.img+21

Hi Erik,

Thanks for your suggestions, I will give that a try soon and let you know the outcome.

 

 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @Harm Horstman,

Do you have already have any results to share with us? 😀


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings