Hi everyone, I am trying to embed Appian records into a webpage but I am facing with some problems:
1) is there a way to bypass the CORS? The embedded element is not showing and I keep having this error "No 'Access-Control-Allow-Origin' header is present on the requested resource".
2) the first page for my Appian site is a login page, why does the embedded interface automatically convert this into an iframe? How can I remove the iframe and let it stay on the webpage itself?
Please advise, thanks!
Try these steps below its on IIS
1. Selcect the application on system tray / IIS server and open the config file. (Path : C:\Users\XXXXX\Documents\Visual Studio 2015\Projects\<projectname>\.vs\config\applicationhost.config) and insert below code under httpprotocol
<httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*"/> <add name="Access-Control-Allow-Headers" value="Accept, X-Access-Token, X-Application-Name, X-Request-Sent-Time"/> <add name="Access-Control-Allow-Methods" value="GET, POST, OPTIONS"/> <add name="Access-Control-Allow-Credentials" value="true"/>
We are using embedded interfaces for accessing Appian forms in external site(Public). Can we authorize the request making to Appian every time with a single user instead of asking the user to login?
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.