<?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>How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/discussions/f/user-interface/11204/how-can-we-add-page-break-as-a-sail-component</link><description>Our requirement is to display page breaks after each section in the form when we initiate the Print Preview. 
 We need a feature something similar to the following in HTML. Is there any way we can create a custom component which can leverage this feature</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49376?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 17:38:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b16bad46-5dfd-4a55-b1aa-a269253039d1</guid><dc:creator>codys</dc:creator><description>It doesn&amp;#39;t make sense to duplicate the entire UI design in a custom HTML template, which has to be developed and maintained, and runs risk of becoming out of sync with the SAIL form. What you can do is write a generic utility that receive a SAIL interface as an input, parses the structure and converts it to HTML. We did this for one use case. However be warned that when we upgraded from 16.3 to 17.1 (I think) Appian changed the SAIL structure and our rules broke backwards compatibility with our parsing logic. We solved backwards compatibility by creating an intermediate custom Dictionary structure that can then be mapped either into a SAIL form or an HTML form. The Dictionary structure was something like:&lt;br /&gt;
&lt;br /&gt;
{{label: &amp;quot;Section 1 Header&amp;quot;, list: {&amp;quot;Section 1 Item 1&amp;quot;, &amp;quot;Section 1 Item 2&amp;quot;}}, {label: &amp;quot;Section 2 Header&amp;quot;, list: ...}}&lt;br /&gt;
&lt;br /&gt;
We were fortunate our use case required a very simple structure that was nothing but sections with bullet lists under each section header. For more complex forms you would have a more complex structure and more complex parsing rules. But once established you would then be able to inject line breaks and print any arbitrary SAIL form the way you want. Whether this effort is justified depends on how important the line breaks are to the client.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49372?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 17:00:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a44bdd4-59a0-46bb-824c-845672710050</guid><dc:creator>davids0001</dc:creator><description>char(12) should be the form feed control character Unicode, which may serve as a page break&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49298?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 21:57:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ef93301-e5f8-40c1-b23b-93c5c1e9efaa</guid><dc:creator>aloks0189</dc:creator><description>No, you can&amp;#39;t plugin a HTML Template into a SAIL, the only thing which you can do is, you can create a similar template in HTML and fill the data submitted from form into html, dynamically.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49284?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 14:52:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:761510f9-b1ac-4dd6-aa54-cac9bc90b2d1</guid><dc:creator>siddardhas</dc:creator><description>Thanks Jamal. My understanding is that embedded interface is at ACTION/RECORDs/TASK level. Can we use that for one particular related action at a record level? Please advise. Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49283?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 14:49:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:caa8f3ea-c7b5-467f-a3af-d50ebc968370</guid><dc:creator>siddardhas</dc:creator><description>This Alok. For this I have to redesign the entire SAIL form to HTML template which is too much effort. Can we just plugin a HTML template component into our existing SAIL form?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49203?ContentTypeID=1</link><pubDate>Sun, 08 Oct 2017 02:55:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fdcb0394-0d54-4ca7-b25a-9b0322520d13</guid><dc:creator>aloks0189</dc:creator><description>Hi &lt;a href="/members/siddardhas"&gt;siddardhas&lt;/a&gt; I believe you can go for HTML Template feature, where you can have some parameter defined for dynamic content, let&amp;#39;s say ###body###, so you can directly form the html code using your expression and send that as a value to you html template, parameter which you have defined for dynamic body.&lt;br /&gt;
&lt;br /&gt;
This will allow you to achieve your requirement in an easiest way.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49201?ContentTypeID=1</link><pubDate>Sat, 07 Oct 2017 20:42:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a797b4a0-0370-4225-b612-442ca2b1de28</guid><dc:creator>vijayd</dc:creator><description>This is not possible in SAIL&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we add Page Break as a SAIL component?</title><link>https://community.appian.com/thread/49198?ContentTypeID=1</link><pubDate>Sat, 07 Oct 2017 11:13:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a243c435-5f6b-425d-bab4-02f6e00442df</guid><dc:creator>Jamal Case</dc:creator><description>I don&amp;#39;t think you can achieve this requirement in sail. You may need to use an external embedded interface.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>