You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Hello all,

When I’m trying to create the users by using the “Directory User Form Binder”, I’m now facing  the problem of adding its belonging organization at the same time of creation. And I’m sure that the organization is already created before.

I’ve checked the tutorial of the “Directory User Form Binder” it mentions in detail about the creation of the user itself, but about the part of “EMPLOYEE DETAIL”, there is no further explanation.

And here is the problem in details:

Version: Joget enterprise V3

Context: In the process, we get the information of the clients.  Then, before inviting them to do further activities, the administrator creates the user in application studio with its organization automatically.

Method: Directory User Form Binder, which is a form store binder that helps to store the form elements to the user directory.

This is user registration form. To use the “Directory User Form Binder”, I’ve embedded it as a sub-form in another form.

I’m able to assign the user to groups. The id of the “Organization ID” is organizationId that maps the setting in the field mapping part shown below



And I’ve also check the User model  (shown below) where the “organization” seems to belong to the “employments” field.

But here comes the core question, how could I map the organization to the User model where it only has “employments” field?


I do appreciate if you could give me some advice about this or any other ways to create users in application studio automatically .

Best wishes,

Jianan

  • No labels