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

AutoFill Feature not Working Properly

Former Member
Former Member
Hello everyone,

I have an object which has 5 classes. I added the same properties in two of these classes, but when I tried to select the related class to fill out other properties, it does not work. Our agency confirmed that auto fill is not working for the classes which are under the same object.

I don't want to separate the classes and make each of them objects because I will have to change many created object.

Is there any solution to get this work?

Thanks!
  • Unfortunately, I did not understand exactly what the issue is. Could you explain your configuration in more detail?

    Mika
  • Former Member
    Former Member
    I am sorry. I did not give details. Here is our configuration.

    A (Object Type)

    B (Class)
    AA (Property)
    AB (Property)
    AC (Property-a list of related objects of class C)
    AD (Property)

    C (Class)
    AE (Property)
    AF (Property)
    AG (Property)
    AD (Property)

    So, when AC is selected, the AD property should be filled automatically because it is the same property of C class. But, that is not the case. We figured out that it only works for classes that are under different object types. So, if I had a set up like this:

    A (Object Type)

    B (Class)
    AA (Property)
    AB (Property)
    AC (Property-a list of related objects of class C)
    AD (Property)

    D (Object Type)
    C (Class)
    AE (Property)
    AF (Property)
    AG (Property)
    AD (Property)

    Then, when AC is selected, the AD property is filled automatically with no problem.

    Hope this makes sense right now.
  • Former Member
    Former Member
    I can give example from real life. :)

    We have quite typical set:

    Object type - OrgUnit, class OrgUnit
    Object type - Employee, class Employee - includes properties Name or Title (Employee name), OrgUnit (from OrgUnits)
    Object type - Position, class Position - includes properties Name or Title (JobTitle) and Job code.
    Object type - Document, class Employee agreement - includes properties Name (from Employees), OrgUnit (from OrgUnits), Position (from Positions), Job code (text).

    When we create new Employee agreement, we choose Name. Autofill fills OrgUnit. Then we choose Position, and I'd like the Job code to be automatically filled up. But it is not. I don't know, should it (we can survive without this).

    p.s. I don't know is it exactly the same problem that speech_free described.
  • Text fields are not, by default, autofilled like this. I think it is possible through some registry editing. From a quick search on the forum, I found a post linking to this PDF document

    Also note that, from a quick read of the PDF, it's client-machine specific. So if you want to turn this on for everyone, you'll either have to amend everyone's registry, and push it out through computer policies.
  • Former Member
    Former Member
    Hi Vineta,

    I think it is not the same problem because you have four different object types. AutoFill should work fine with classes in different object types.

    You may need to edit registry to enable auto fill for all types of properties. I added the registry file content. You just need to change the version of your M-Files and the vault name according to yours. Then, create a reg file with notepad, then just double click.

    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Motive\M-Files[b]11.3.4330.134[/b]\Client\Common[b]VaultName[/b]\AutoFillingOfProperties]
    "AutoFillLookupsOnly"=dword:00000000
    "AskForConfirmation"=dword:00000000
    "Enabled"=dword:00000001

    Hope this will solve your problem.

  • I am sorry. I did not give details. Here is our configuration.

    A (Object Type)

    B (Class)
    AA (Property)
    AB (Property)
    AC (Property-a list of related objects of class C)
    AD (Property)

    C (Class)
    AE (Property)
    AF (Property)
    AG (Property)
    AD (Property)

    So, when AC is selected, the AD property should be filled automatically because it is the same property of C class. But, that is not the case. We figured out that it only works for classes that are under different object types. So, if I had a set up like this:

    A (Object Type)

    B (Class)
    AA (Property)
    AB (Property)
    AC (Property-a list of related objects of class C)
    AD (Property)

    D (Object Type)
    C (Class)
    AE (Property)
    AF (Property)
    AG (Property)
    AD (Property)

    Then, when AC is selected, the AD property is filled automatically with no problem.

    Hope this makes sense right now.


    Thanks for the description. I have reported the issue to our system (ID 138739). You may want to contact our support and describe this use case and the harm it causes in more details so that they can elevate the priority of the bug fix. Please refer to this issue ID in your support ticket.

    Mika
  • Former Member
    Former Member
    Thank you Mika. I will do.
  • Former Member
    Former Member
    Do we get a prize for finding the bugs in the system? :P

  • Do we get a prize for finding the bugs in the system? :P

    It's not a bug, it's a "feature" ;)
  • Former Member
    Former Member
    Come on ppickering! What kind of a feature that does not make things easy for users. ;D

    I want my prize! 8) :P