Skip to main content
rameshp575128
November 3, 2023
Question

a!webcomponent()

  • November 3, 2023
  • 3 replies
  • 0 views

Hi all,

I have a use case I have build a webpage using HTML and JS and I am calling it using a Web-API from Appian interface which will be triggered by a safelink.
But whenever the user clicks the safe link the page is re-directing to the Web page, but i want to show it inside the Interface , i tried using webcomponent object but it's error saying internal appian urls cannot be used in webcomponent.
Is there any alternate way to achieve this.

Thanks in Advance.

    3 replies

    stefanhelzle0001
    Brainy
    November 3, 2023

    Appian actively denies loading HTML from a Appian web API on the same system.

    What kind of "web page" is that?

    rameshp575128
    November 3, 2023

    I have created a chatbot using HTML and JS  as we cannot use any available chatbots/api's and I have saved entire code  as a rule and I called that rule in a webapi, so whenever we hit that webapi ,it return the code and load the Chat-bot, now I want to show this bot inside appian SAIL using webcontent() but as it was Appian url, it's throwing the above error.

    stefanhelzle0001
    Brainy
    November 3, 2023

    This does not work. I suggest to build a component plugin. Then your custom code and the Appian UI can even interact.

    If you don't need this interaction, host your chatbot somewhere else. Then the embedding will work.