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

Question

Question

How to access and use LFDS trustee attributes?

asked on February 20, 2017 Show version history

Hello, 

Is it possible to use LFDS (v 10.2) profile information and custom trustee attributes in any of the other applications, e.g. Forms, Workflow, Server/Repository?

For instance, in Forms, I can access the current user's email, phone, and username of the current user right from the token dialog -- which I believe comes right from LFDS -- but I can't find any information on how to access additional profile information, Department, Supervisor, Display Name, etc. or any custom trustee attributes. The information is there, but I'm just not sure how to access it other than to query an external data source.

Also, when adding an LFDS user to a repository, none of the profile information or custom attributes transfer over, and I don't see any obvious way to export all of the attributes. Is there a streamlined way to approach this?

Thanks

Jesse 

6.8.0
0 0

Answer

APPROVED ANSWER
replied on November 10, 2024

Hi Ian, support working with Directory Server users and groups in existing workflow activities out of box now on Workflow 12. 

You can see other changes from: Laserfiche 12 Changelog

Get Laserfiche Workflow 12 package from: Laserfiche 12 - Downloads

 

0 0

Replies

replied on February 20, 2017

Can you provide a link to information related to LFDS APIs?

As to the use of LFDS profile and trustee attributes: really, any attribute that is available in either the LFDS profile or custom trustee attribute -- and especially when the users come in from the AD, and the profile information is synchronized so any changes made in the AD are reflected in the LFDS profile -- could be useful for user related operations in Forms and Workflow.

For example:

  • In Forms, Show X fields when supervisor/department/etc name is Y.
  • In Workflow, use LFDS profile information to lookup by email, phone, first/last name, etc.

This is all achievable via database lookup in both Forms and Workflow, so the workarounds are not outrageous, but if the information is in LFDS, why only limit us to email, phone, and username in Forms, and provide no connection in Workflow?

I understand the need to maintain the separation of components, but a simple solution (speaking of feature request) could be to provide an option in the repository to pull profile information from the LFDS profile and trustee attributes, and a corresponding option in LFDS to allow for such a retrieval, per user/group/server/etc. Then, allow Workflow use these trustee attributes to perform user tasks, with similar checks at the administrative level. 

Thanks for the explanation.

Jesse

0 0
replied on February 20, 2017

Unfortunately, we don't currently have documentation on the API. The dll to make calls into the API is LicenseManagerObjects.dll, and should be installed with LFDS and end applications.

I ask about use cases because it helps to understand specifically what missing functionality is most desired. The last thing we want is to pick some part of the feature to work on, only to discover it's a part no one wants!

Furthermore, in cases like this, the solution sounds simple (just pull the information!) but there are hidden complexities, such as what happens if you have repo-specific attributes set? How often do you sync it? etc., so knowing how people plan to use it is key.

0 0
replied on June 24, 2021

Has any of this changed? Either way, can the current information be added to the online help files about LFDS Trustee Attributes as currently there is no information about it.

0 0
replied on April 6, 2022

I have developed and successfully tested on my desktop in the script editor a Workflow script for adding a SAML user to LFDS, assigning a license, and adding the user to a group.    I did it using the Laserfiche SDK which includes the (sparse) documentation for LicenseManagerObjects.dll interfaces.

Now I am having problems implementing it so it runs within a workflow process.

I have added the library references to the Workflow Admin Console and can build the script on the workflow server and publish it.  When it runs I get this:

2022-04-06 2:07:08 PMSDK Script - Add UserCould not load file or assembly 'LicenseManagerObjects, Version=11.0.2102.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6' or one of its dependencies. The system cannot find the file specified.

I need a solution to this.

0 0
APPROVED ANSWER
replied on November 10, 2024

Hi Ian, support working with Directory Server users and groups in existing workflow activities out of box now on Workflow 12. 

You can see other changes from: Laserfiche 12 Changelog

Get Laserfiche Workflow 12 package from: Laserfiche 12 - Downloads

 

0 0
replied on February 20, 2017 Show version history

Hi Jesse,

At this time, the custom trustee attributes in LFDS are only accessible through the LFDS API, and as such should not be used in place of regular trustee attributes. Trustee attributes will remain defined per-repository, though the user can use their license across repositories.

Regarding the use of additional profile attributes: if you can elaborate on what you want to do here, I can bring the request to the attention of the appropriate team. Accessing additional user profile information through a product UI would be a feature request for that product.

 

0 1
replied on March 22, 2020

Hi Brianna,

Has this changed at all in recent versions of Forms? I am hoping to pull through the following information about a user from LFDS (user's profile) and use it in Forms processes:

- Department

- Supervisor

What I'm hoping to do is that when a user starts a form, and their display name pre-populates, then we can also pre-populate those two fields; and use it in the Forms process for routing and assigning tasks.

Obviously we could do that via lookup tables or other methods; but would be nice to just pull that info through from the LFDS profile like it does with display name and email address.

Thanks.

 

1 0
replied on March 23, 2020 Show version history

This has not changed, but I have forwarded the request to the Forms team.

Thank you for sharing the use case!

2 0
replied on March 23, 2020

Thanks Brianna yes

0 0
replied on September 26, 2021 Show version history

Hi Brianna,

Any update please on this? Will we be able to use LFDS attributes - in particular Department, and Supervisor - in future versions of LF Forms?

Alternatively is there any way to look this up from LFDS database tables? We have checked extensively, but these don't appear to be in the LFDS user tables.

Thanks,

Duncan

0 0
replied on September 26, 2021

Actually - second question; in LFDS 11+ - it looks like Supervisor has been removed, is that correct?

0 0
replied on September 27, 2021

Hey Duncan,

We've developed an API for Laserfiche to interface with the repository and workflow and it also includes the ability to interface with LFDS (create users, groups, get user lists and trustee attributes etc.).

If you want some more info, drop me an email (sheldon@noscotek.co.za) and I'll share the swagger file with you to see if this could be of use to you.

Cheers

0 0
replied on September 27, 2021

Hi Sheldon - hope you're going well mate!

Hey thanks that sounds fantastic - would be keen to check that out so will send you an email.

Much appreciated 👍

ps: Sorry about the rugby wink - good, tough 100th match though.

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

Sign in to reply to this post.