<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Testing Embedded Interface</title><link>https://community.appian.com/discussions/f/user-interface/9775/testing-embedded-interface</link><description>We were looking to begin studying this function. As you may know you can use a text editor such as brackets or notepad ++ to create a html page and then view the results in a browser. Can you embed the appian script in this and view in the browser? If</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/59369?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 01:37:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d5184b7d-2481-4270-9aa0-8b8b55074c5a</guid><dc:creator>hemantha0001</dc:creator><description>&lt;br /&gt;
&lt;br /&gt;
Were you able to resolve this issue?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/57078?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 08:39:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6fd0e9ce-c5c0-45d1-863d-17348637ae0e</guid><dc:creator>komalc3</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/raghavendrar0001"&gt;Shanmukha&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; In Appian CORS I have given the IP address.&lt;br /&gt; &lt;br /&gt; Below are the issues observed in all the browsers:&lt;br /&gt; &lt;br /&gt; 1. IE Issue -&lt;br /&gt; &lt;br /&gt; SCRIPT1028: Expected identifier, string or number&lt;br /&gt; &lt;br /&gt; File: embeddedBootstrap.nocache.js, Line: 1, Column: 6595&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; 2. Chrome Issue&lt;br /&gt; &lt;br /&gt; embeddedAuthUtility-0d63ded74113090d0384.cache.js:55 GET &lt;a href="https://exampledev.appiancloud.com/suite/cors/ping?cv=2"&gt;exampledev.appiancloud.com/.../ping&lt;/a&gt; 401 ()&lt;br /&gt; performInitialAuth @ embeddedAuthUtility-0d63ded74113090d0384.cache.js:55&lt;br /&gt; authListener @ embeddedBootstrap.nocache.js:1&lt;br /&gt; load (async)&lt;br /&gt; registerComponents @ embeddedBootstrap.nocache.js:1&lt;br /&gt; Test%20HTML.html:1 Failed to load &lt;a href="https://exampledev.appiancloud.com/suite/cors/ping?cv=2:"&gt;exampledev.appiancloud.com/.../ping&lt;/a&gt; No &amp;#39;Access-Control-Allow-Origin&amp;#39; header is present on the requested resource. Origin &amp;#39;null&amp;#39; is therefore not allowed access. The response had HTTP status code 401.&lt;br /&gt; embeddedAuthUtility-0d63ded74113090d0384.cache.js:55 Failed to query server. Status Code: 0&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; 3. Firefox issue&lt;br /&gt; &lt;br /&gt; The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.&lt;br /&gt; Test%20HTML.html&lt;br /&gt; Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at &lt;a href="https://exampledev.appiancloud.com/suite/cors/ping?cv=2"&gt;exampledev.appiancloud.com/.../ping&lt;/a&gt;. (Reason: CORS header &amp;lsquo;Access-Control-Allow-Origin&amp;rsquo; missing).&lt;br /&gt; Failed to query server. Status Code: 0&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; Any suggestions...&lt;br /&gt; &lt;br /&gt; Thanx in advance!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/57040?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 12:04:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f73e13ea-ff20-4797-868b-a75236b553ea</guid><dc:creator>Shanmukha</dc:creator><description>&lt;p&gt;Hi Komal,&lt;br /&gt; &lt;br /&gt; What is the value that you have given in the Appian CORS is it ip address or the localhost? Did you test it&amp;nbsp;the same in all browsers?&amp;nbsp;and please let me know what you see in each browser so that we can&amp;nbsp;corner the issue sometimes it may be problem with browser as well&lt;br /&gt;&amp;nbsp;&lt;br /&gt; Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/57038?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 11:20:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:523a25db-ee88-40eb-bdc2-31443d71ff9b</guid><dc:creator>komalc3</dc:creator><description>Hi &lt;a href="/members/raghavendrar0001"&gt;Shanmukha&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
I am getting the below error now:&lt;br /&gt;
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at &lt;a href="https://exampledev.appiancloud.com/suite/cors/ping?cv=2"&gt;exampledev.appiancloud.com/.../ping&lt;/a&gt;. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)&lt;br /&gt;
&lt;br /&gt;
Please suggest.&lt;br /&gt;
&lt;br /&gt;
Thanx in advance!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56837?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 09:25:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3117abfc-22f2-40b3-9a4b-dff5d6fc6112</guid><dc:creator>komalc3</dc:creator><description>Thanx &lt;a href="/members/raghavendrar0001"&gt;Shanmukha&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Will try this out and let you know!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56828?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 05:50:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4fefe383-b470-49d8-8620-03f9e228cd42</guid><dc:creator>Shanmukha</dc:creator><description>Hi Komal,&lt;br /&gt;
&lt;br /&gt;
I thought I have replied you on your last comment. Could you please put this html in the java web application and run it from there and let me know what you see on the screen?&lt;br /&gt;
&lt;br /&gt;
Thanks Raghavendra (Shanmukha) Reddy&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56768?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 09:03:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8fd02a5f-e931-4dcf-87aa-00b820c38774</guid><dc:creator>komalc3</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/raghavendrar0001"&gt;Shanmukha&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am creating a POC on Embedded interface referring to the docs:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/18.1/Embedded_Interfaces.html"&gt;https://docs.appian.com/suite/help/18.1/Embedded_Interfaces.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My code is as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="html"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
  &amp;lt;head&amp;gt;
  &amp;lt;title&amp;gt;Test Page &amp;lt;/title&amp;gt;
    &amp;lt;!-- This script loads the Appian Web components; change it to your Appian server&amp;#39;s domain --&amp;gt;
    &amp;lt;script src=&amp;quot;https://exampledev.appiancloud.com/suite/tempo/ui/sail-client/embeddedBootstrap.nocache.js&amp;quot; id=&amp;quot;appianEmbedded&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
  &amp;lt;b&amp;gt; This is test page&amp;lt;/b&amp;gt;
    &amp;lt;!-- This custom HTML element specifies an Appian report to embed on the HTML page --&amp;gt;
    &amp;lt;appian-report reportUrlStub=&amp;quot;CZA3Iw&amp;quot;&amp;gt;&amp;lt;/appian-report&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here I just want to call a tempo report from my web page.&lt;/p&gt;
&lt;p&gt;As per suggestions above, I have added the ip address of my machine in CORS. Also I have added myself in SAML group.&lt;/p&gt;
&lt;p&gt;However, I am getting the error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Failed to load resource: the server responded with a status of 401 ()&lt;/p&gt;
&lt;p&gt;Test%20HTML.html:1 Failed to load &lt;a href="https://exampledev.appiancloud.com/suite/cors/ping?cv=2:"&gt;exampledev.appiancloud.com/.../ping&lt;/a&gt; No &amp;#39;Access-Control-Allow-Origin&amp;#39; header is present on the requested resource. Origin &amp;#39;null&amp;#39; is therefore not allowed access. The response had HTTP status code 401.&lt;/p&gt;
&lt;p&gt;embeddedAuthUtility-ad522149e857770d25f3.cache.js:55 Failed to query server. Status Code: 0&lt;/p&gt;
&lt;p&gt;request.onreadystatechange @ embeddedAuthUtility-ad522149e857770d25f3.cache.js:55&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any suggestions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56754?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 07:00:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:35b3a861-1738-4157-9c2f-4e6a973373ba</guid><dc:creator>Shanmukha</dc:creator><description>Hi Komal,&lt;br /&gt;
Could you please elaborate what is your exact requirement and what have you done so far?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Raghavendra (Shanmukha) Reddy&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56751?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 06:39:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ffebae2-2f04-43cb-b944-77023b6d5886</guid><dc:creator>komalc3</dc:creator><description>Hi &lt;a href="/members/raghavendrar0001"&gt;Shanmukha&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
I was trying to test a sample Embedded example and wanted to run the HTML code to check how it works? Basically need to demo the Embedded functionality before actually embed to our web application. Is there any way to do it?&lt;br /&gt;
&lt;br /&gt;
I tried configuring my local IP Address / system IP address in COR but no luck. We are on cloud and trying to run the HTML page via browser within organization network.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56750?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 06:22:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3a44827-5162-458f-a094-fc05ba07bf28</guid><dc:creator>Shanmukha</dc:creator><description>Hi Mike,&lt;br /&gt;
&lt;br /&gt;
It is better to write static page and hosted it in any server then it will pick up the localhost/IP then we can configure them in the cors in admin console so that way it will work. it is sometimes difficult to run the html in the browser where the IP will generated dynamically. We have done this type of functionality by hosting the static html page in the local Apache. either way it is only for testing then it is fine. For the bigger context we usually use embed in other web application like Java then it is better to host it in the server.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/56740?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 04:29:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cd176100-d2cb-4e31-bccd-68de9f5f999e</guid><dc:creator>komalc3</dc:creator><description>Hi &lt;a href="/members/mikec"&gt;mikec&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
I am also attempting the same thing.&lt;br /&gt;
Can you elaborate what do you mean by IP address that is generated when text editor is loaded.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/43214?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 17:28:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1651cb7a-2b65-40e6-a8c0-2f30c869a5ef</guid><dc:creator>mikec</dc:creator><description>Actually i was able to get it to work!  I just took the IP address that is generated when I load the text editor page, added it in the Embedded Interfaces Cors Origin and it displayed the task.  So one step down.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/43211?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 11:32:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:babd63f6-353c-4161-8125-cd70c913fcdd</guid><dc:creator>mikec</dc:creator><description>So question for you.  I am attempting to do what i said above.  I am using text editor brackets.  It connects to Chrome.  I built a simple page added my appian cloud domain .js and then added in the body &amp;lt;appian-task taskid=&amp;quot;268452465&amp;quot;/&amp;gt; which is a valid open task assigned to me.  Nothing opened in the page.  I looked at the developer tool console and saw this error message:  &lt;br /&gt;&lt;br /&gt;Failed to load resource: the server responded with a status of 401 (Unauthorized)     cors&lt;br /&gt;&lt;br /&gt;Since Im new at this would appreciate any assistance:-)&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/43210?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 11:16:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a9372b3-4128-4a30-9903-c79d33cdfe5d</guid><dc:creator>mikec</dc:creator><description>yep thanks!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing Embedded Interface</title><link>https://community.appian.com/thread/43118?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 17:58:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b7c5225-8718-41bc-8785-fa2cc555d518</guid><dc:creator>PhilB</dc:creator><description>I&amp;#39;ve not actually tested it but I don&amp;#39;t see why that shouldn&amp;#39;t work; as long as you have an active Appian session it should function, as far as I know. If it doesn&amp;#39;t, it&amp;#39;s fairly easy to host a static page on a server, either through IIS or Apache, for example.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>