<?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>Help with web components</title><link>https://community.appian.com/discussions/f/integrations/37740/help-with-web-components</link><description>Hello, 
 I&amp;#39;m trying to figure out how to integrate an external web site with Appian. I have a JAVA war file that contains JavaScript files. The war was produced by another organization, and I expect to have occasional updates. I have the war hosted and</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/142372?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 03:20:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:202af86c-cc6d-4324-8846-4b19deb27f37</guid><dc:creator>vimalkumars</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/joeys0006"&gt;joeys987&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;As Yogi mentioned, you can generate an instance id(Eg:12045) of the form that is rendered and send that to the external site by passing it as an URL Parameter.&lt;/p&gt;
&lt;p&gt;Based on your response, it seems like you can do step 1 and 2.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can do step 3 by, one of the below&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Option 1: Using Local Variables Refresh:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Have a local variable which will refresh in appian for every 30 seconds, this local variable value should call the query to pull the data pushed to Appian using Step 2.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Option 2: Using Refresh Icon:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Have an Icon/button within the page, which upon clicked should call the query to pull the data pushed to Appian using Step 2. if value is returned you can update your interface as you want or else you can continue to show the refresh and wait for results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/142361?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 15:01:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:216d453e-08d0-4da6-98b5-441236bde9e3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This does not work in sites.&lt;/p&gt;
&lt;p&gt;Appian can display a XML string.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/142359?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 13:57:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:003de2b6-4b0e-4da7-ad7e-a216c16edaab</guid><dc:creator>joeys987</dc:creator><description>&lt;p&gt;I found this &lt;a href="/success/w/guide/3238/appian-to-appian-web-api-integration"&gt;site&lt;/a&gt; in the Appian documentation that states:&lt;br /&gt;&lt;br /&gt;&amp;quot;Instead of using a Document Download Link, you can configure a Web API in Appian which returns a document, either as an attachment or inline, and then call this Web API using a Safe Link. This will let users view, in the browser, any documents that the browser can render, rather than automatically downloading them.&amp;quot;&lt;br /&gt;&lt;br /&gt;We&amp;#39;re using Sites for our user interfacing forms. How does Safe Link display the document? Can Appian display an XML string? Can the doc be saved to the DB?&amp;nbsp; Safe Link doesn&amp;#39;t have a save option as far as I can tell.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141928?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 18:53:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b96cf9bc-76d9-436a-955a-dd8337d1448a</guid><dc:creator>joeys987</dc:creator><description>&lt;p&gt;Unfortunately, the tool we&amp;#39;re trying to integrate with is not a simple form. The tool has complicated logic/rules (that can change in new releases) and generates an XML string used by other apps for outgoing messages. The customer developed this tool, and it is used in other apps which allows for some consistency between their apps. We created a watered-down version as a temporary measure and it&amp;#39;s causing additional issues.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141861?ContentTypeID=1</link><pubDate>Sat, 19 Oct 2024 10:42:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9322b346-136b-40a4-8195-b13cf8777026</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;This seems like a lot of trouble just to save on the development (and potential changes) of a form.&lt;/p&gt;
&lt;p&gt;Have you considered replicating the form on your end, submit via API and display the response?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141798?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 13:55:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:94210648-3dee-497d-a23a-314fc916ff59</guid><dc:creator>joeys987</dc:creator><description>&lt;p&gt;I&amp;#39;m having a hard time understanding how step 3 would work. How does the Web API use the unique id to find the form that started the external site? Would the Web API invoke a Smart Service or Process Model? Does it save the XML to the DB and somehow the form gets refreshed to pull in the updated DB?&amp;nbsp; I&amp;#39;m very new to Appian and I&amp;#39;ve been using this&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/24.3/Designing_Web_APIs.html"&gt;Creating Web APIs - Appian 24.3&lt;/a&gt;&amp;nbsp;(and the other Web API tabs) to try and understand Web APIs. Are there any examples I can look at?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141789?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 11:41:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4bd449da-0781-490d-8be1-ca1797c6e7df</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;div data-olk-copy-source="MailCompose"&gt;The following might be helpful:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Create a link in Appian form to open the external page in a new tab. Pass some ID(ex. correlation_id, ) as a URL parameter.&lt;/li&gt;
&lt;li&gt;Once the user enters the required details and submits data in the external site, call Appian Web API to submit data(XML) back to Appian along with the ID passed in Step 1.&lt;/li&gt;
&lt;li&gt;Show the received XML to the user in Appian. Use the ID sent in step 1 for mapping request/response&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141782?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 08:14:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba8af462-52cd-4437-8901-78a6cbee7e3f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;When you add a URL parameter, you should be able to read that in your external web app.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://address.com/test.html?your_parameter=uniqueID"&gt;address.com/test.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141764?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 19:17:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:278d0c5e-fdfe-40c4-8432-c243a40bfa78</guid><dc:creator>joeys987</dc:creator><description>&lt;p&gt;These are docs I&amp;#39;ve been using for the web component. It doesn&amp;#39;t mention sending unique ids.&amp;nbsp;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/24.1/Web_Content_Component.html"&gt;Web Content Component - Appian 24.1&lt;/a&gt;&lt;br /&gt;The URL I&amp;#39;m using is something like https://address,com/test.html&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The test.html contains the logic for the button that launches the external website. How would I pass in a unique id?&amp;nbsp;&lt;br /&gt;How would the Web API on the Appian side know which form create the id?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141763?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 19:06:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a212f4b2-4d8c-43fb-a998-7db50963598f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not sure I fully understand this user interaction. Can you help me out?&lt;/p&gt;
&lt;p&gt;In that web component, you call some URL that could include a unique identifier as a parameter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141762?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 19:01:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b88ca1a4-16f5-4b04-8635-4a02e4347cd6</guid><dc:creator>joeys987</dc:creator><description>&lt;p&gt;Thanks for the quick reply. Once the Appian Web API receives the XML string from the external website, how would the XML be displayed on the form that called the external website? As far as I know, the Appian form does not have an id that can be sent to the external website. The form receives an id for the DB when the user submits the Appian form, but that would be too late to show the XML on the form. We&amp;#39;ll have multiple users working on the Appian app concurrently and we&amp;#39;ll have to send the correct XML to correct user and form.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with web components</title><link>https://community.appian.com/thread/141759?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 18:26:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b09fe763-3746-4e64-a8aa-0b72e8f6172d</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="141979" url="~/discussions/f/integrations/37740/help-with-web-components"]I also thought about setting up an Appian Web API for the external site to call and send the data, but I&amp;#39;m not sure how to tell the Web API which form the XML should go to.&amp;nbsp;[/quote]
&lt;p&gt;This sounds like a reasonable idea. Can you explain what you mean with&amp;nbsp;the following?&lt;/p&gt;
[quote userid="141979" url="~/discussions/f/integrations/37740/help-with-web-components"]tell the Web API which form the XML should go to[/quote]
&lt;p&gt;An API in Appian can just take any XML you throw at it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>