Skip to main content
Answer

Optimize the behavior of the previewer for text files

  • October 25, 2024
  • 3 replies
  • 55 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.

This topic has been closed for replies.

3 replies

Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • Answer
  • October 30, 2024

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
  • Author
  • Superhero
  • October 30, 2024

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+10

Hi @Harm Horstman,

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