OriginalPostID-263396
Discussion posts and replies are publicly visible
Hi Shanmukha
I am creating a POC on Embedded interface referring to the docs:
https://docs.appian.com/suite/help/18.1/Embedded_Interfaces.html
My code is as follows:
<!DOCTYPE html> <html> <head> <title>Test Page </title> <!-- This script loads the Appian Web components; change it to your Appian server's domain --> <script src="https://exampledev.appiancloud.com/suite/tempo/ui/sail-client/embeddedBootstrap.nocache.js" id="appianEmbedded"></script> </head> <body> <b> This is test page</b> <!-- This custom HTML element specifies an Appian report to embed on the HTML page --> <appian-report reportUrlStub="CZA3Iw"></appian-report> </body> </html>
Here I just want to call a tempo report from my web page.
As per suggestions above, I have added the ip address of my machine in CORS. Also I have added myself in SAML group.
However, I am getting the error:
Failed to load resource: the server responded with a status of 401 ()
Test%20HTML.html:1 Failed to load exampledev.appiancloud.com/.../ping No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 401.
embeddedAuthUtility-ad522149e857770d25f3.cache.js:55 Failed to query server. Status Code: 0
request.onreadystatechange @ embeddedAuthUtility-ad522149e857770d25f3.cache.js:55
Any suggestions.