<?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>Documents Image upload issue</title><link>https://community.appian.com/discussions/f/appian-community-edition/35374/documents-image-upload-issue</link><description>Hi All, 
 I am going through Appian Developer course, where I am trying to work on 
 Design Record Types: Model and Configure Your Data 
 
 while following below steps 
 
 Follow the steps below to format the Image column. 
 1. Under Columns, click Image</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137559?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 18:00:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7031b700-dce5-4346-b1a4-e5f708148122</guid><dc:creator>lakshmipramodchakravarthyv0584</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mudits1812"&gt;Mudit_Sharma&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;I am using the CE provided in current Appian community . I don&amp;#39;t know whether it is new or old.&lt;/p&gt;
&lt;p&gt;I have re-verified the document folder. Where I have provided an image in the document.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also , I have followed the link, which is the exact issue i am facing right now.&lt;/p&gt;
&lt;p&gt;So, as per the steps provided from community helper. which I have already followed.&lt;/p&gt;
&lt;p&gt;At the end, It is the issue of accessing (related to rights on the folder).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As of now, It is in the view state. Still I am unable to access it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137557?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 17:11:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7f931a3-67ac-4dd2-a9f4-444edf50910a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yeah, well ... the error message is pretty clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137555?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 16:33:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65cc25b2-d07b-4e61-aa99-c03bc03031e2</guid><dc:creator>HemanthKomaravolu</dc:creator><description>&lt;p&gt;I am also facing the same error at the same place with the latest Community Edition given by Appian. I&amp;#39;ve gone through the steps mentioned in the advised link but there is no use.&lt;/p&gt;
&lt;p&gt;Predominently there are 2 kinds of issues are coming up.&lt;br /&gt;Type 1: &lt;br /&gt;Expression evaluation error at function a!imageField [line 5]: The image at index 1 in an image gallery component [label=""] has an invalid value for &amp;quot;document&amp;quot;. &amp;quot;document&amp;quot; must not be null.&lt;/p&gt;
&lt;p&gt;Type 2:&lt;br /&gt;Expression evaluation error at function a!gridColumn [line 5]: A grid component [label="null"] has an invalid value for &amp;quot;columns&amp;quot;. A grid column [label="Image"] has encountered an error. &lt;br /&gt;Expression evaluation error at function a!imageField [line 8]: User Does Not Have Rights to Perform this Operation&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;my doubt is if we have missed out an other steps? something like missed to add vehicle related images to our recordType while creating recordType? or any other folders to be created? do we need to create any default record for exception handling? if so how to create a default record?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137553?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 16:18:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4cca6811-ec8c-4427-ab0c-ac909282f82b</guid><dc:creator>Mudit_Sharma</dc:creator><description>&lt;p&gt;This means the actual error is sorted out, but you&amp;#39;re facing issues in accessing the image.&amp;nbsp;&lt;br /&gt;I am not sure which environment you&amp;#39;re using ( the old CE or the beta environment).&lt;br /&gt;You can check whether you have access to document and folder or not.&lt;br /&gt;&lt;br /&gt;Additionally, similar issue can also be referred by the following link:&lt;br /&gt;&lt;a href="/discussions/f/new-to-appian/34579/step-by-step-5---format-the-image-column"&gt;https://community.appian.com/discussions/f/new-to-appian/34579/step-by-step-5---format-the-image-column&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137552?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 15:51:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:138ae52c-5450-4a4a-be88-63af222c00e3</guid><dc:creator>lakshmipramodchakravarthyv0584</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mudits1812"&gt;Mudit_Sharma&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Thanks for the reply , I have used the same code provided by you and made changes in&amp;nbsp;record type. I see a new error popped up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Error Evaluating UI Expression&lt;br /&gt;Expression evaluation error at function a!gridField_23r3 [line 51]: A grid component [label="null"] has an invalid value for &amp;quot;columns&amp;quot;. &lt;br /&gt;A grid column [label="Image"] has encountered an error. Expression evaluation error at function a!gridColumn [line 58]: A grid component [label="null"] has an invalid value &lt;br /&gt;for &amp;quot;columns&amp;quot;. A grid column [label="Image"] &lt;br /&gt; has encountered an error. Expression evaluation error at function a!imageField [line 61]: User Does Not Have Rights to Perform this Operation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137550?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 15:23:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:639f25fd-77b5-421a-ac65-ea1152f238f1</guid><dc:creator>Mudit_Sharma</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/lakshmipramodchakravarthyv0584"&gt;lakshmipramodchakravarthyv0584&lt;/a&gt;&amp;nbsp;&lt;br /&gt;There are few points to be highlighted-&amp;nbsp;&lt;br /&gt;1. If () function expects 3 parameters, you have just provided 2.&amp;nbsp;&lt;br /&gt;2. The images will not be shown directly the way you have shown inside a grid column.&amp;nbsp;&lt;br /&gt;3. If you are directly putting the code in document image, then you can only copy the subset of the code which I have mentioned.&amp;nbsp; (only the if() function part)&lt;br /&gt;The below code applies for entire grid column.&lt;br /&gt;&lt;br /&gt;Just for your reference- try replacing the code the way I have written, it will work.&amp;nbsp;&lt;br /&gt;Note- Remember to change the record type AA vehicle with your own record type as used.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!gridColumn(
        label: &amp;quot;Image&amp;quot;,
        helpTooltip: &amp;quot;Test images may not represent the actual vehicle&amp;quot;,
        value: a!imageField(
          images: a!documentImage(
            document: if(
            /*Replace with your record type*/
              isnull(
                fv!row[&amp;#39;recordType!{99b0bb09-e2c0-4f75-a70b-26f247e2d095}AA Vehicle.fields.{c7d0b689-e98f-4cb7-8477-6c63943b30a0}image&amp;#39;]
              ),
              a!EXAMPLE_DOCUMENT_IMAGE(),
              /*Replace with your record type*/
              fv!row[&amp;#39;recordType!{99b0bb09-e2c0-4f75-a70b-26f247e2d095}AA Vehicle.fields.{c7d0b689-e98f-4cb7-8477-6c63943b30a0}image&amp;#39;]
            )
          ),
          size: &amp;quot;SMALL&amp;quot;
        ),
        align: &amp;quot;CENTER&amp;quot;
      ),&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137549?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 15:20:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97977b74-2225-4a6d-8e6e-53ce7bddd5c5</guid><dc:creator>lakshmipramodchakravarthyv0584</dc:creator><description>&lt;p&gt;Thanks &lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;, As suggested by you , I corrected the code with auto filling, the syntax error in the code is not raising again .&lt;/p&gt;
&lt;p&gt;&amp;nbsp;While testing it I see another error:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/67/pastedimage1720019738416v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="FieldLayout---label_above"&gt;&lt;span id="a308f65eadafa060ebd38d096bbac8b6" class="FieldLayout---field_label FieldLayout---inMessageLayout FieldLayout---error"&gt;Error Evaluating UI Expression&lt;/span&gt;&lt;/div&gt;
&lt;div class="FieldLayout---input_below"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;p class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p" data-testid="ParagraphText-paragraph"&gt;Expression evaluation error at function a!gridField_23r3 [line 51]: A grid component [label="null"] has an invalid value for &amp;quot;columns&amp;quot;. A grid column [label="Image"] has encountered an error. Expression evaluation error at function a!gridColumn [line 58]: Invalid number of parameters, function &amp;#39;if&amp;#39; a minimum of 3 parameters (condition,true,false), passed 2.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137548?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 15:16:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac6ca9fc-47ee-46bc-a3bf-1268f0f115b6</guid><dc:creator>lakshmipramodchakravarthyv0584</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/67/pastedimage1720019606501v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hi &lt;a href="/members/mudits1812"&gt;Mudit_Sharma&lt;/a&gt;&amp;nbsp;, as suggested by you I have kept entire code in a!gridColumn(), Still I face the issue as below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/67/pastedimage1720019738416v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For better understanding of the error, I am pasting the error below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="FieldLayout---label_above"&gt;&lt;span id="a308f65eadafa060ebd38d096bbac8b6" class="FieldLayout---field_label FieldLayout---inMessageLayout FieldLayout---error"&gt;Error Evaluating UI Expression&lt;/span&gt;&lt;/div&gt;
&lt;div class="FieldLayout---input_below"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;p class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p" data-testid="ParagraphText-paragraph"&gt;Expression evaluation error at function a!gridField_23r3 [line 51]: A grid component [label="null"] has an invalid value for &amp;quot;columns&amp;quot;. A grid column [label="Image"] has encountered an error. Expression evaluation error at function a!gridColumn [line 58]: Invalid number of parameters, function &amp;#39;if&amp;#39; a minimum of 3 parameters (condition,true,false), passed 2.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137512?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 05:58:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0140f86e-8ea9-4a58-810f-f9f6526e47a2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is the pasted code the exact code as in the editor? &amp;quot;recordType!WSA Vehicle&amp;quot; just as a string is not correct. Try to type the whole name of your record after the &amp;quot;!&amp;quot; and Appian will auto-complete it.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/24.2/reference-records.html"&gt;https://docs.appian.com/suite/help/24.2/reference-records.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137507?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 05:38:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d1fc69f-ba20-4984-8000-d6dcedd05f4a</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;As mentioned by &lt;a href="/members/mudits1812"&gt;Mudit_Sharma&lt;/a&gt;&amp;nbsp;,&amp;nbsp;fv!row needs to be used inside a!gridField (grid). The fv!row points to data of the current row.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents Image upload issue</title><link>https://community.appian.com/thread/137505?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 05:16:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a2f3ea3-081f-4878-a50b-747fcd52873e</guid><dc:creator>Mudit_Sharma</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/lakshmipramodchakravarthyv0584"&gt;lakshmipramodchakravarthyv0584&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;br /&gt;The code snippet looks okay to me. However, can you try putting here entire code which is there inside&amp;nbsp;a!gridColumn(), may be that can help have a better look.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>