<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Manage attachment button visibility in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165602#M822528</link>
    <description>&lt;P&gt;Hi Laszlo,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you also please hit like and mark answer as helpful since you were able to achieve your requirement. Thanks in advance.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Jan 2017 14:12:32 GMT</pubDate>
    <dc:creator>Ankur Bawiskar</dc:creator>
    <dc:date>2017-01-12T14:12:32Z</dc:date>
    <item>
      <title>Manage attachment button visibility</title>
      <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165600#M822526</link>
      <description>&lt;P&gt;Hello, I`m a bit lost may yu can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom table, record producers create the data.&lt;/P&gt;&lt;P&gt;End user with no roles can use the record producer, add attachment to the form and submit it. Attachment then is visible on the ticket also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We grant read role to the custom table with Access Control &amp;nbsp; script to end user current.opened_by == gs.getUserID() || current.caller_id == gs.getUserID() to make sure they can read only all the fields.&lt;/P&gt;&lt;P&gt;If attachement on the ticket end user can see Manage attachment text link, also download that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem: &lt;BR /&gt;&lt;STRONG&gt;No Paper Click icon&lt;/STRONG&gt; for end user and no "Add" option when they see the Manage attachment popup window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to grant rights with Access Control to sys_attachment table, even more to our custom table, but no success. Also client script did not help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function onLoad() {&lt;/P&gt;&lt;P&gt; &amp;nbsp; g_form.enableAttachments()&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So could you advise me how can I make sure on custom table, end user without role:&lt;/P&gt;&lt;P&gt;Can see the Paper clip icon&lt;BR /&gt;Can add attachments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 13:38:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165600#M822526</guid>
      <dc:creator>laszlobolya</dc:creator>
      <dc:date>2017-01-12T13:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Manage attachment button visibility</title>
      <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165601#M822527</link>
      <description>&lt;P&gt;Hi Laszlo,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The paper clip icon will be shown only when user has write access to your table. Also the Add button will be shown if user has write access to the table&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Try to create a write acl on table and give end user's role to the acl and try opening the record again.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2017 13:59:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165601#M822527</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2017-01-12T13:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Manage attachment button visibility</title>
      <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165602#M822528</link>
      <description>&lt;P&gt;Hi Laszlo,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you also please hit like and mark answer as helpful since you were able to achieve your requirement. Thanks in advance.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:12:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165602#M822528</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2017-01-12T14:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Manage attachment button visibility</title>
      <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165603#M822529</link>
      <description>&lt;P&gt;Yeah, thanks for the confirmation! I &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I was using wrong script on ACL.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here is a good one:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Write on custom table&lt;BR /&gt;empty roles row&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;current.requested_for == gs.getUserID() || current.opened_by == gs.getUserID() || current.watch_list.indexOf(gs.getUserID()) &amp;gt; -1;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;With that user without roles can add attachment to that record. Though also now the other fields are editable, but I hope I can manage those with more ACL &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="218_996_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:16:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165603#M822529</guid>
      <dc:creator>laszlobolya</dc:creator>
      <dc:date>2017-01-12T14:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Manage attachment button visibility</title>
      <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165604#M822530</link>
      <description>&lt;P&gt;sure &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="8_40_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:19:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2165604#M822530</guid>
      <dc:creator>laszlobolya</dc:creator>
      <dc:date>2017-01-12T14:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Manage attachment button visibility</title>
      <link>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2745877#M1058241</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/265966"&gt;@Ankur Bawiskar&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We are having same issue on SOW workspace which we have created but on that workspace the attachment icon is not visible.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 13:37:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/manage-attachment-button-visibility/m-p/2745877#M1058241</guid>
      <dc:creator>anonymous13</dc:creator>
      <dc:date>2023-11-28T13:37:36Z</dc:date>
    </item>
  </channel>
</rss>

