<?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>getting invalid user exception when there was two users selected in picker user and showing as read only in UI as text</title><link>https://community.appian.com/discussions/f/user-interface/40520/getting-invalid-user-exception-when-there-was-two-users-selected-in-picker-user-and-showing-as-read-only-in-ui-as-text</link><description>Hi 
 In Ui there was user picker field if i choose more than one (max selection is 3 ) and submit request after that in read only the selected users we are showing in summary dashboard there user want first name and last name to be displayed instead user</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: getting invalid user exception when there was two users selected in picker user and showing as read only in UI as text</title><link>https://community.appian.com/thread/154989?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2026 13:28:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2dddf38-b068-425c-9452-bb1a1becfb38</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Seems like there is an invalid username in your list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting invalid user exception when there was two users selected in picker user and showing as read only in UI as text</title><link>https://community.appian.com/thread/154986?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2026 12:23:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40e4cc98-43db-4e09-9ce2-200eef80fa2f</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&amp;nbsp;for read-only display, richTextDisplayField is the better practice.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!richTextDisplayField(
  label: &amp;quot;Requested On Behalf:&amp;quot;,
  labelPosition: &amp;quot;ADJACENT&amp;quot;,
  value: joinarray(
    a!forEach(
      items: a!defaultValue(ri!MDSRequest.requestedonBehalf, {}),
      expression: if(
        a!isNullOrEmpty(fv!item),
        {},
        user(fv!item, &amp;quot;firstName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(fv!item, &amp;quot;lastName&amp;quot;)
      )
    ),
    &amp;quot;, &amp;quot;
  ),
  showWhen: a!isNotNullOrEmpty(ri!MDSRequest.requestedonBehalf)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>