<?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 How to get lock information in .net-client? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-lock-information-in-net-client/m-p/318740#M5741</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Im working with .Net client and I need to get lock information from a document.
Im requesting that info with an operation:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;operation = client.Operation("Repository.Query")
                                .SetParameter("query", "SELECT * FROM PartItem WHERE item:PartName = '" + name + "'")
                                .SetSchemas(new string[] { "*" })
                                .AddHeader("X-NXDocumentProperties", "*")
                                .AddHeader("fetch.document", "lock");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The search works great, but there is no info about lock. In the properties list there is nothing about lock.
&lt;span class="lia-inline-image-display-wrapper" image-alt="type an image title"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1967iA141C27F49CCDCF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="type an image title" alt="type an image title" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I try to make similar query with postman and the response has the lock info.&lt;/P&gt;
&lt;P&gt;What is the way to retrieve lock info with .net-client?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 12:32:52 GMT</pubDate>
    <dc:creator>Maik_</dc:creator>
    <dc:date>2023-04-11T12:32:52Z</dc:date>
    <item>
      <title>How to get lock information in .net-client?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-lock-information-in-net-client/m-p/318740#M5741</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Im working with .Net client and I need to get lock information from a document.
Im requesting that info with an operation:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;operation = client.Operation("Repository.Query")
                                .SetParameter("query", "SELECT * FROM PartItem WHERE item:PartName = '" + name + "'")
                                .SetSchemas(new string[] { "*" })
                                .AddHeader("X-NXDocumentProperties", "*")
                                .AddHeader("fetch.document", "lock");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The search works great, but there is no info about lock. In the properties list there is nothing about lock.
&lt;span class="lia-inline-image-display-wrapper" image-alt="type an image title"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1967iA141C27F49CCDCF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="type an image title" alt="type an image title" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I try to make similar query with postman and the response has the lock info.&lt;/P&gt;
&lt;P&gt;What is the way to retrieve lock info with .net-client?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 12:32:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-lock-information-in-net-client/m-p/318740#M5741</guid>
      <dc:creator>Maik_</dc:creator>
      <dc:date>2023-04-11T12:32:52Z</dc:date>
    </item>
  </channel>
</rss>

