D2 Default values

dctmadi
dctmadi Member
edited July 29, 2014 in Documentum #1

Using D2 can you configure conditional default values?

For example

If property 1 is selected as "A" I want property 2 to be defaulted to "0"

If property 1 is selected as "B" I want property 2 to be defaulted to "1"

..

..

I know it is possible to assign static default values from creation matrix.

Comments

  • jsilver
    jsilver Member
    edited February 4, 2013 #2

    You may be able to do this in an Auto Naming configuration.

    See the tutorial on Auto Naming: https://community.emc.com/docs/DOC-21120

    Regards,

    Jerry

  • dctmadi
    dctmadi Member
    edited February 4, 2013 #3

    One problem I see with that approach is I have to create multiple contexts to apply different autonaming configurations of Property 2 for different values of Property 1, which will result in lots of contexts just for one property.

    Are default value templates applied after the properties are filled by the user?

    If so, is there any syntax to pull values from a taxonomy using the values filled for propert 1 dynamically?

  • Julien.Fontaine
    edited February 5, 2013 #4

    I will use a taxonomy to achieve this needs !

    The default value is assigned at import, creation time (using creation matrix) !

  • dctmadi
    dctmadi Member
    edited February 5, 2013 #5

    Can you explain a little more on how to use taxonomies for default values?

    I have used them for conditional value assistance, but not default values.

  • Julien.Fontaine
    edited February 6, 2013 #6

    You make a taxonomy with tow dictionnary.

    In one dictionary you have A and B and in the other one, you have 0 and 1. Then you create your taxonomy :

    A

    -- 0

    B

    -- 1

    You add this taxonomy in your two fields. Then if A is selected, 0 will be automatically set and in the same way for B. Does it make sens ?

  • dctmadi
    dctmadi Member
    edited February 6, 2013 #7

    Tried this approach,

    It is filtering the list to show only once value, but not defaulting it. User hs to explicity pick the value.

  • Julien.Fontaine
    edited February 7, 2013 #8

    Normally, if you have only one value, this value is displayed.

    Please confirm.

  • Julien.Fontaine
    edited February 9, 2013 #9

    Some news about your problem ?

  • dctmadi
    dctmadi Member
    edited February 13, 2013 #10

    Julien,

    The value is not getting auto-flled rather the dropdown lists gets filterd to one value and user has to selec the value explicity.

    FYI I am using D2 4.0 client if it makes any difference.

  • Shuang
    Shuang Member
    edited July 29, 2014 #11

    Hey Jerry,

    I am trying to achieve the following for documents:

    if attributeA=true, set default date to today for attributeB

    if attributeA=false, do not set any default date for attributeB

    Since it is not possible to do it in default value template, I was hoping to be able to do it with auto naming. So I set the auto naming template to "dd.MM.yy" and connect it to attributeA=true document context, but it turns out auto naming does not really work together with date attribute. The date is always set to NULLDATE. Could you please give some suggestions?

    Thanks

    Shuang