i am trying to use embedded interface to apply custom style to my page.
pls see the sample code below.
<head><script src="">appian.example.com/.../embeddedBootstrap.nocache.js" id="appianEmbedded"></script></head><body><appian-action processModelUuid=""></appian-action><appian-report reportUrlStub=""</appian-report><h1>Appian component</h1></body>
i am getting blank page.
Note: I have given process model uuid and reporturl and replaced my appian server domain name in script src.
how to resolve this issue? is there any samples available?
Discussion posts and replies are publicly visible
Did you check this?
docs.appian.com/.../Embedded_Interfaces.html
yes. i have followed the steps provided in the document.
yes. Getting "No 'Access-Control-Allow-Origin' header is present on the requested resource."
So you added your external domain here?
What about error message in the javascript console?
Access to XMLHttpRequest at 'abc.appian.community/.../ping from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.embeddedAuthUtility-f8c1b9f9530caaaf585a.cache.js:5 Failed to query server. Status Code: 0request.onreadystatechange @ embeddedAuthUtility-f8c1b9f9530caaaf585a.cache.js:5XMLHttpRequest.send (async)performInitialAuth @ embeddedAuthUtility-f8c1b9f9530caaaf585a.cache.js:5authListener @ embeddedBootstrap.nocache.js:1load (async)registerComponents @ embeddedBootstrap.nocache.js:1embeddedAuthUtility-f8c1b9f9530caaaf585a.cache.js:5 GET abc.appian.community/.../ping net::ERR_FAILED 401
It is working ..thanks:-)
First time, the task got loaded. Refreshed the page again , got the below error
This means that he task in that process has been submitted.
ok..thanks for the response
I can able to open report, actions, process model, recordview.
is it possible to open complete site in embedded interface?
What is the use case for embedding a site?
In the documentation you will find the list of supported objects.
i can able to open the supported objects mentioned in the document.
Usecase is like embedding a complete site in my web page and accessing it from here.
E.g i have opened a Readonly grid Page from web application..when i click on grid row it is navigating to appians detail view.