<?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>Reusing existing interface in different interface</title><link>https://community.appian.com/discussions/f/rules/17107/reusing-existing-interface-in-different-interface</link><description>Hello All, 
 I have a interface which contains form layout and i want to reuse only the contents of this interface as i can not use the forma layout in the new interface, please help me how to reuse the interface in newer interface.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Reusing existing interface in different interface</title><link>https://community.appian.com/thread/67465?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 13:28:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a40e964d-91c4-43bc-bea9-39efb83babe6</guid><dc:creator>gopalk0002</dc:creator><description>&lt;p&gt;Thanks Stewart, i got this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reusing existing interface in different interface</title><link>https://community.appian.com/thread/67462?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:52:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5706f9bd-aa02-4e66-8737-da08f50ce837</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Yes. Something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!formLayout(
  contents: rule!XXX_IF_contents(
    textField1: ri!textField1,
    textField2: ri!textField2,
    textField3: ri!textField3,
    dropDownValue: ri!droDownValue
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can then re-use the rule!XXX_IF_contents() in the other form you mention.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reusing existing interface in different interface</title><link>https://community.appian.com/thread/67461?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:45:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c45983ba-b0d1-4047-94af-a8dbd6cdc9e2</guid><dc:creator>gopalk0002</dc:creator><description>&lt;p&gt;Hi Stewart, Thanks for replying, I have some text fields and one dropdown fields in contents that i would use in new interface, so are you saying to create new interface that should contain only text fields and drop down field?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reusing existing interface in different interface</title><link>https://community.appian.com/thread/67460?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:26:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38dd8c66-b2a8-43f3-aa56-844c3706b433</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;I guess it depends on how much of the Form Layout you need to re-use. In your original layout you could encapsulate everything that is contained in the &amp;#39;contents&amp;#39; attribute in its own rule. You could then re-use this. What would be missing would be the values of the other attributes:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;label&lt;/span&gt;&lt;span&gt;, instructions&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;&amp;nbsp;buttons&lt;/span&gt;&lt;span&gt;, validations&lt;/span&gt;&lt;span&gt;, validationGroup&lt;/span&gt;&lt;span&gt;, skipAutoFocus&lt;/span&gt;&lt;span&gt;, showWhen&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>