Does Appian Support AJAX Calls ? what sought of calls Appian Works on

Hi all,

 

Can Someone explain how appian works handling the calls the user made? 

 

Thanks 

JB

  Discussion posts and replies are publicly visible

  • Hi jagadeeshb,

    AFAIK, To render an Appian interface, the web component must load JavaScript from the Appian server and make AJAX calls back to it. If the external site and the Appian site are on different hosts, the web browser will block these requests by default due to the same-origin policy of web application security. This applies to differences not just in the top-level domain but anywhere in the host and port.

    The custom element makes the AJAX calls that load an Appian interface from the Appian server directly on to the non-Appian web page.
    Also please go through this link: docs.appian.com/.../SAIL_Performance.html

    Example: "Mashup" scenario, which requires Cross-Origin Resource Sharing (CORS). CORS is supported by all modern browsers. For security, it requires that the server respond with a header indicating that an AJAX request from a page served by a specific origin URL is allowed. To allow an origin to access resources on the Appian server, including your servlet plugin, add it to the list of allowed origins in the Embedded Interfaces page of the Administration Console.

    Thanks,
    ravalik
  • Thank you for the info ad Link .. it digs well into the core..