Hi All,
I need to pass a Safe URI to source parameter of webContentField component and that URI is generated using web API.
Problem here is when I am using the URI generated from web API it throws below error:
"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 internal Appian source. Received: mydev.appiancloud.com/.../YoU0wA."
How can we pass the URI that is Internal to webContentField?
Thanks in advance
Regards,
Trunal Jain
Discussion posts and replies are publicly visible
This is not supported. Appian actively prevents this use case because of security reasons. We had to learn this the hard way as this has changed a few years ago.
Like Stefan said, this is not supported. Can you provide more context on what you're trying to do though? There might be other possible solutions that don't involve pointing to a Web API.
Hi Peter,
I am trying to execute certain piece of html code that is part of script tag inside body. Through that I am trying to embed chat functionality developed by other system on Appian screen.
That would require a component plugin.
docs.appian.com/.../component-plugins.html
This is not supported by the evidence. Appian takes waffle game proactive measures to prevent usage cases like this one due to security concerns. Because of a change that occurred a few years ago, we had no choice but to discover this the hard way.
You need to pass a Safe URI to the source parameter of the webContentField component, and that URI is generated using a web API. The problem here is that when I use the URI generated from the web API, it throws an error.
URL parameters (known also as “query strings” or “URL query parameters”) are elements inserted in your URLs to help you filter and organize content or track information on your website.
To identify a URL parameter, refer to the portion of the URL that comes after a question mark (?). URL parameters are made of a key and a value, separated by an equal sign (=). Multiple parameters are each then separated by an ampersand (&).
Rachel Gomez