<?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/"><channel><title>KB-1405 Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1405 Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout</link><pubDate>Mon, 23 Jul 2018 14:23:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 7/23/2018 2:23:53 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing an&amp;nbsp;&lt;code&gt;a!fileUploadField_17r1&lt;/code&gt; component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-11/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to &lt;code&gt;.uploadedDocumentName&lt;/code&gt; following an &lt;code&gt;a!fileUploadField_17r1&lt;/code&gt; SAIL component. This reference is unsupported and was deprecated in Appian 17.1&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Using the dot notation with the &lt;code&gt;a!fileUploadField&lt;/code&gt; component is not documented. Therefore, Appian support does not recommend it. Validations concerning the name, size and file type of an uploaded file can instead be done using the validations built in to the current version of the &lt;code&gt;a!fileUploadField&lt;/code&gt; component. For more information, see the &amp;quot;validations&amp;quot; section of the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/File_Upload_Component.html" target="_blank"&gt;File Upload Field documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that in order to use this functionality, backwards compatible&amp;nbsp;&lt;code&gt;a!fileUploadField_17r1&lt;/code&gt;&amp;nbsp;components must be updated to the current&amp;nbsp;&lt;code&gt;a!fileUploadField&lt;/code&gt;&amp;nbsp;SAIL component.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This&amp;nbsp;article applies to Appian 17.1 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL, application design&lt;/div&gt;
</description></item><item><title>KB-1405 Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/7</link><pubDate>Wed, 27 Sep 2017 12:19:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Nick Vigilante on 9/27/2017 12:19:27 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing an&amp;nbsp;&lt;code&gt;a!fileUploadField_17r1&lt;/code&gt; component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-11/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to &lt;code&gt;.uploadedDocumentName&lt;/code&gt; following an &lt;code&gt;a!fileUploadField_17r1&lt;/code&gt; SAIL component. This reference is unsupported and was deprecated in Appian 17.1&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Using the dot notation with the &lt;code&gt;a!fileUploadField&lt;/code&gt; component is not documented. Therefore, Appian support does not recommend it. Validations concerning the name, size and file type of an uploaded file can instead be done using the validations built in to the current version of the &lt;code&gt;a!fileUploadField&lt;/code&gt; component. For more information, see the &amp;quot;validations&amp;quot; section of the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/File_Upload_Component.html" target="_blank"&gt;File Upload Field documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that in order to use this functionality, backwards compatible&amp;nbsp;&lt;code&gt;a!fileUploadField_17r1&lt;/code&gt;&amp;nbsp;components must be updated to the current&amp;nbsp;&lt;code&gt;a!fileUploadField&lt;/code&gt;&amp;nbsp;SAIL component.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This&amp;nbsp;article applies to Appian 17.1 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-1405 Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/6</link><pubDate>Wed, 27 Sep 2017 08:19:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Nick Vigilante on 9/27/2017 8:19:27 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing an&amp;nbsp;&lt;code&gt;a!fileUploadField_17r1&lt;/code&gt; component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to &lt;code&gt;.uploadedDocumentName&lt;/code&gt; following an &lt;code&gt;a!fileUploadField_17r1&lt;/code&gt; SAIL component. This reference is unsupported and was deprecated in Appian 17.1&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Using the dot notation with the &lt;code&gt;a!fileUploadField&lt;/code&gt; component is not documented. Therefore, Appian support does not recommend it. Validations concerning the name, size and file type of an uploaded file can instead be done using the validations built in to the current version of the &lt;code&gt;a!fileUploadField&lt;/code&gt; component. For more information, see the &amp;quot;validations&amp;quot; section of the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/17.2/File_Upload_Component.html" target="_blank"&gt;File Upload Field documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that in order to use this functionality, backwards compatible&amp;nbsp;&lt;code&gt;a!fileUploadField_17r1&lt;/code&gt;&amp;nbsp;components must be updated to the current&amp;nbsp;&lt;code&gt;a!fileUploadField&lt;/code&gt;&amp;nbsp;SAIL component.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This&amp;nbsp;article applies to Appian 17.1 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/5</link><pubDate>Thu, 14 Sep 2017 13:19:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Jussi Lundstedt</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Jussi Lundstedt on 9/14/2017 1:19:34 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing an&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt; component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.uploadedDocumentName&lt;/span&gt; following an &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt; SAIL component. This reference is unsupported and was deprecated in Appian 17.1&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Using the dot notation with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField&lt;/span&gt; component is not documented. Therefore, Appian support does not recommend it. Validations concerning the name, size and file type of an uploaded file can instead be done using the validations built in to the current version of the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField&lt;/span&gt; component. For more information, see the &amp;quot;validations&amp;quot; section of the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/17.2/File_Upload_Component.html" target="_blank"&gt;File Upload Field documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that in order to use this functionality, backwards compatible&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt;&amp;nbsp;components must be updated to the current&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField&lt;/span&gt;&amp;nbsp;SAIL component.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This&amp;nbsp;article applies to Appian 17.1 and later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/1</link><pubDate>Thu, 24 Aug 2017 19:53:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Jussi Lundstedt</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Jussi Lundstedt on 8/24/2017 7:53:51 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing a fileUploadField_17r1 component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;09:25:08,880 INFO [stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to .uploadedDocumentName following an a!fileUploadField_17r1 component. This reference was deprecated in Appian 17.1 and has been replaced with .contents.name.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Replace all references to .uploadedDocumentName with .contents.name in the SAIL code. Additionally, you may access the file extension and file size properties of the uploaded file by using .contents.extension and .contents.size respectively.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This error affects Appian 17.1 and later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/4</link><pubDate>Thu, 24 Aug 2017 16:19:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Jussi Lundstedt</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Jussi Lundstedt on 8/24/2017 4:19:19 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing an&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt; component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.uploadedDocumentName&lt;/span&gt; following an &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt; SAIL component. This reference was deprecated in Appian 17.1 and has been replaced with &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.name&lt;/span&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Replace all references to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.uploadedDocumentName&lt;/span&gt; with &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.name&lt;/span&gt; in the SAIL code. Additionally, you may access the file extension and file size properties of the uploaded file by using &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.extension&lt;/span&gt; and &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.size&lt;/span&gt; respectively.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This&amp;nbsp;article applies to Appian 17.1 and later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/3</link><pubDate>Thu, 24 Aug 2017 15:58:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Jussi Lundstedt</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Jussi Lundstedt on 8/24/2017 3:58:24 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing an&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt; component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.uploadedDocumentName&lt;/span&gt; following an &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!fileUploadField_17r1&lt;/span&gt; SAIL component. This reference was deprecated in Appian 17.1 and has been replaced with &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.name&lt;/span&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Replace all references to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.uploadedDocumentName&lt;/span&gt; with &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.name&lt;/span&gt; in the SAIL code. Additionally, you may access the file extension and file size properties of the uploaded file by using &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.extension&lt;/span&gt; and &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.size&lt;/span&gt; respectively.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This error affects Appian 17.1 and later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX Cannot index property 'uploadedDocumentName' of type Text into type FieldLayout</title><link>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout/revision/2</link><pubDate>Thu, 24 Aug 2017 15:57:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f152380a-5103-4d9e-a102-38dd1150fb8d</guid><dc:creator>Jussi Lundstedt</dc:creator><comments>https://community.appian.com/support/w/kb/667/kb-1405-cannot-index-property-uploadeddocumentname-of-type-text-into-type-fieldlayout#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Jussi Lundstedt on 8/24/2017 3:57:18 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When&amp;nbsp;opening an interface containing a fileUploadField_17r1 component, the following error is thrown:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG"&gt;&lt;img src="/resized-image/__size/529x240/__key/communityserver-wikis-components-files/00-00-00-00-13/FieldLayout_5F00_error.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The application server log may also show this as:&lt;/p&gt;
&lt;pre&gt;09:25:08,880 INFO &amp;nbsp;[stdout] (ajp-/0.0.0.0:8009-1) Caused by: java.lang.IllegalArgumentException: Invalid index: Cannot index property &amp;#39;uploadedDocumentName&amp;#39; of type Text into type FieldLayout&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is caused by a deprecated reference to .uploadedDocumentName following an a!fileUploadField_17r1 SAIL component. This reference was deprecated in Appian 17.1 and has been replaced with .contents.name.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Replace all references to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.uploadedDocumentName&lt;/span&gt; with &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.name&lt;/span&gt; in the SAIL code. Additionally, you may access the file extension and file size properties of the uploaded file by using &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.extension&lt;/span&gt; and &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;.contents.size&lt;/span&gt; respectively.&lt;/p&gt;
&lt;h2&gt;Affected versions&lt;/h2&gt;
&lt;p&gt;This error affects Appian 17.1 and later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item></channel></rss>