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

Metadata card configuration: Inserting properties based on value list

Is it possible to configure the metadata card so, that when user chooses certain value from value list, spesific set of properties appear into metadata card?
For example user chooses supplier instead of customer, supplier bank account information would appear. And vice versa when user chooses customer, the bank account information does not appear.
I have gone through the metadata card configuration material and I couldn't find anything regarding this.
If this is possible, could someone post an example code.

Thanks.
Parents
  • Thanks. I am testing my version now with no luck.
    Should the property appear to the metadata card when you have chosen the value in the value list?

    Here is my code:

    Rule condition
    {
    "Properties":{
    "PropertyDefs.ChannelLetterProfile": "{326E9E03-BD0F-4E76-942E-B1626BE4DA29}"
    }
    }


    Rule behaviour
    {
    "Properties":{
    "PropertyDefs.StockMaterial":{
    "IsAdditional": true,
    "IsRequired": true
    }
    }
    }


    I have value list ChannelLetterProfile which have several different profiles to choose from. When you select the value Profile00 (GUID), you should see a property StockMaterial.
    If you select for example Profile3, then you should see properties StockMaterialFront and StockMaterialBack but not the StockMaterial.

    There is code only for the Profile00 which you should see above.
Reply
  • Thanks. I am testing my version now with no luck.
    Should the property appear to the metadata card when you have chosen the value in the value list?

    Here is my code:

    Rule condition
    {
    "Properties":{
    "PropertyDefs.ChannelLetterProfile": "{326E9E03-BD0F-4E76-942E-B1626BE4DA29}"
    }
    }


    Rule behaviour
    {
    "Properties":{
    "PropertyDefs.StockMaterial":{
    "IsAdditional": true,
    "IsRequired": true
    }
    }
    }


    I have value list ChannelLetterProfile which have several different profiles to choose from. When you select the value Profile00 (GUID), you should see a property StockMaterial.
    If you select for example Profile3, then you should see properties StockMaterialFront and StockMaterialBack but not the StockMaterial.

    There is code only for the Profile00 which you should see above.
Children
No Data