<?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>topic Re: Lock/unlock a file in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3791#M1517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, note that the success action works only:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="color: #24292e; margin-bottom: 16px;"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #f6f8fa; border-top: 1px solid #c6cbd1;"&gt;&lt;TD style="border: 1px solid #dfe2e5; padding: 6px 13px;"&gt;Emitted when the action succeeds with the success string message. Applies to copy, move and delete actions.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;So it is not goign to work with the unlock or lock. This is the link to the documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-ng2-components/blob/afa298060a62b57c0fde1e5606f02f67d29b20a3/docs/content-services/content-action.component.md" title="https://github.com/Alfresco/alfresco-ng2-components/blob/afa298060a62b57c0fde1e5606f02f67d29b20a3/docs/content-services/content-action.component.md" rel="nofollow noopener noreferrer"&gt;alfresco-ng2-components/content-action.component.md at afa298060a62b57c0fde1e5606f02f67d29b20a3 · Alfresco/alfresco-ng2-…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is an error about the&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;permissionEvent&amp;nbsp;you can open a bug on the&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;GitHub repository explaining how to reproduce the problem&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 11:37:11 GMT</pubDate>
    <dc:creator>eugenio_romano</dc:creator>
    <dc:date>2018-05-22T11:37:11Z</dc:date>
    <item>
      <title>Lock/unlock a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3788#M1514</link>
      <description>Hi,I am using ADF 2.3.0 and ACS 5.2.1 and using built-in lock handler in content actions like below&amp;lt;content-action title="{{'DOCUMENT_LIST.ACTIONS.DOCUMENT.LOCK' | translate}}" [icon]="'lock'" [target]="'document'" [handler]="'lock'"&amp;gt; &amp;lt;/content-action&amp;gt;In Release Note 2.3.0, it is mention</description>
      <pubDate>Tue, 22 May 2018 06:40:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3788#M1514</guid>
      <dc:creator>anshu_kumar</dc:creator>
      <dc:date>2018-05-22T06:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lock/unlock a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3789#M1515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/alfresco/20745_May-22-2018 10-35-41.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you reopen the lock dialog and&amp;nbsp; click on the checkbox the file is unlock&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 09:36:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3789#M1515</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2018-05-22T09:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lock/unlock a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3790#M1516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugenio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is a handler available for lock/unlock functionality, I added few other properties and events of content actions to it.&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;content-action&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"{{'DOCUMENT_LIST.ACTIONS.DOCUMENT.LOCK' | translate}}"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; [&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;icon&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"'lock'"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; [&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;target&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"'document'"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; [&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;handler&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"'lock'"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; [&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;permission&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"'update'"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; [&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;disableWithNoPermission&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"true"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;permissionEvent&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"onLockActionPermissionError($event)"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;success&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"onLockActionSuccess($event)"&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;content-action&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The (permissionEvent) and (success) events does not seems to work. I added these so I could show a pop-up on permission failure and reload the document list respectively. Ideally, Lock action should be made available to the owner only. I am sure Alfresco has plans to enhance the feature in coming releases. In the meantime, we were looking for a workaround to work best for our client.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 11:10:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3790#M1516</guid>
      <dc:creator>anshu_kumar</dc:creator>
      <dc:date>2018-05-22T11:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lock/unlock a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3791#M1517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, note that the success action works only:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="color: #24292e; margin-bottom: 16px;"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #f6f8fa; border-top: 1px solid #c6cbd1;"&gt;&lt;TD style="border: 1px solid #dfe2e5; padding: 6px 13px;"&gt;Emitted when the action succeeds with the success string message. Applies to copy, move and delete actions.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;So it is not goign to work with the unlock or lock. This is the link to the documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-ng2-components/blob/afa298060a62b57c0fde1e5606f02f67d29b20a3/docs/content-services/content-action.component.md" title="https://github.com/Alfresco/alfresco-ng2-components/blob/afa298060a62b57c0fde1e5606f02f67d29b20a3/docs/content-services/content-action.component.md" rel="nofollow noopener noreferrer"&gt;alfresco-ng2-components/content-action.component.md at afa298060a62b57c0fde1e5606f02f67d29b20a3 · Alfresco/alfresco-ng2-…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is an error about the&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;permissionEvent&amp;nbsp;you can open a bug on the&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;GitHub repository explaining how to reproduce the problem&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 11:37:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/3791#M1517</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2018-05-22T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lock/unlock a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/487921#M39956</link>
      <description>&lt;P&gt;do you want to ask about the PDF file?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:41:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/487921#M39956</guid>
      <dc:creator>Lucabil</dc:creator>
      <dc:date>2025-03-12T07:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lock/unlock a file</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/487922#M39957</link>
      <description>&lt;P&gt;Do you want to ask about the PDF file? If you are asking about PDF files then I would suggest the best solution to lock and unlock your PDF file. You have to do it professionally or through a third party so that your PDF file gets unlocked quickly. I suggest you unlock the PDF file professionally. It is called the OSTtoPSTAPP PDF Unlocker tool It will unlock your PDF file in less time and will not change the size of the PDF file It will unlock many PDF files without any problem It will reset the password of your important PDF file It will filter many of your PDF files. this tool supports all Windows OS versions. such as 11, 10 , 8 , 8.1 , 7 , XP and Vista.&lt;/P&gt;&lt;P&gt;Visit here: &lt;A href="https://www.osttopstapp.com/pdf-unlocker.html" target="_blank"&gt;https://www.osttopstapp.com/pdf-unlocker.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:48:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lock-unlock-a-file/m-p/487922#M39957</guid>
      <dc:creator>Lucabil</dc:creator>
      <dc:date>2025-03-12T07:48:18Z</dc:date>
    </item>
  </channel>
</rss>

