cancel
Showing results for 
Search instead for 
Did you mean: 

How to get lock information in .net-client?

Maik_
Champ in-the-making
Champ in-the-making

Hello,

Im working with .Net client and I need to get lock information from a document. Im requesting that info with an operation:

operation = client.Operation("Repository.Query")
                                .SetParameter("query", "SELECT * FROM PartItem WHERE item:PartName = '" + name + "'")
                                .SetSchemas(new string[] { "*" })
                                .AddHeader("X-NXDocumentProperties", "*")
                                .AddHeader("fetch.document", "lock");

The search works great, but there is no info about lock. In the properties list there is nothing about lock. type an image title

I try to make similar query with postman and the response has the lock info.

What is the way to retrieve lock info with .net-client?

Thank you!

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.