Issues calling local server content with a!webContentField()

Certified Lead Developer

I currently have a standalone Appian instance hosted on AWS running on 18.1 HF A. I was trying to use the new a!webContentField() component to embed HTML files stored on the same server as my install, and received the error:

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!webContentField: A web content field [label=“”] has an invalid value for “source”. Source may not be an Appian user interface. Received: https://[SERVER_AND_PORT]/demo.

As soon as I changed the URL to AWS' public name instead of the SERVER_AND_PORT name, I was able to load the file successfully.

 

Calling HTML file using SERVER_AND_PORT: www.screencast.com/.../oZrit8Htlu4

Calling HTML file using AWS public DNS name: https://www.screencast.com/t/OyHoGtarEP

 

It seems that Appian sees that its base URL is being sourced, and is assuming that the content is its own. I think it may be a common use case to host content locally that can be embedded into interfaces to enhance functionality. Am I missing something, or does this component just not yet support locally hosted content?

 

Thanks in advance!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data