Display an HTML Document on Interface

Certified Senior Developer

Hello, 

I would like to display an HTML document in an Appian Interface. I don't want to download the document but instead I want to be able to just show it.

I've tried using a couple of components like "DocumentViewerField and WebContentField". However, both have problems.

WebContentField throws an error if the content is from the same domain

DocumentViewerField does not display the HTML

What is another way to do this?

Basically, my use case is to display the HTML document and be able to click on a button link to an external application.

Regards,

Le

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Yea Appian does not let us use the web content field to show things hosted inside of Appian. You are also correct in stating the doc viewer does not support HTML. 

    This may be going out on a limb a bit, but maybe you could create your html document then convert it to pdf. I don't know if the pdf would maintain the links. 

    Other than that the simplest route may be what mentioned. Just make a link in the appian UI. 

Reply
  • 0
    Certified Lead Developer

    Yea Appian does not let us use the web content field to show things hosted inside of Appian. You are also correct in stating the doc viewer does not support HTML. 

    This may be going out on a limb a bit, but maybe you could create your html document then convert it to pdf. I don't know if the pdf would maintain the links. 

    Other than that the simplest route may be what mentioned. Just make a link in the appian UI. 

Children
No Data