You are viewing limited content. For full access, please sign in.

Question

Question

How to add, edit, and delete Link Properties using SDK

SDK
asked on April 17, 2023

Within the Laserfiche Client, Laserfiche entry metadata Links have support for managing a list of Link Properties. I do not see access to Link Properties within the Laserfiche RepositoryAccess SDK version 10.4. Is this supported, and is there sample code to demonstrate how to add, edit, and delete Link Properties? If it is not supported, will such support be added in the future?

0 0

Answer

SELECTED ANSWER
replied on April 17, 2023

I don't have a full code sample for you, but the functions you want to look at are EntryLink.GetProperties(), which takes the ID of an entry link and a session and returns a Dictionary<string, string> with the names and values of the properties, and EntryLink.SetProperties(), which takes the ID of an entry link and an IDictionary<string, string> of properties to add or update and an IList<string> of the names of properties to remove, (as well as a session).

I don't remember when exactly these were added, but I believe they were present in RA 10.4.

1 0
replied on April 18, 2023

Yes, those look exactly like the methods I was looking for, thank you very much.

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.