This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Put a default value list value based on the current users

Hi!
I've search all over the community but did not find the answer.

Here's the context :

I have an Object named Employee, for who I know his Office and his name.
Each M-files users is automaticaly created from this list.

When a user creates a new object named Assignement using a specific class, this class has also a property named Office.
By default, I would like to put the Employee's office as the default value. But the value could be modified if it's not the correct one for the user.

Automatic value of the property definition does not allow the user to change the value while he is creating the object.

So I'm not sure how to do this?

Thanks for your help!
Parents
  • No problem. For the benefit of Stephane, just to confirm, on my 'Persons' object (this could be called Employee or whatever) I have 'Department' as a metadata property so when we create a new user (done using the User Synchronisation configuration accelerator), we then have to add the Employee's Department to their Person Object.

    The screenshot I posted then adds the department to a new document object automatically, which helps users to group documents in Views etc.

    Screenshot below shows how I have the property setup to pull through the department:



    Hope this helps
Reply
  • No problem. For the benefit of Stephane, just to confirm, on my 'Persons' object (this could be called Employee or whatever) I have 'Department' as a metadata property so when we create a new user (done using the User Synchronisation configuration accelerator), we then have to add the Employee's Department to their Person Object.

    The screenshot I posted then adds the department to a new document object automatically, which helps users to group documents in Views etc.

    Screenshot below shows how I have the property setup to pull through the department:



    Hope this helps
Children
No Data