Page 1 of 1

Picklist FOR (not 'with') element attribute

Posted: Wed Dec 01, 2021 4:56 am
by wbf
Is it possible to create a picklist for element in }ElementAttribute_dim?
For example, customer dim has string element attribute called 'gender', I want to control the input by allowing only 'F' or 'M'

Its like element attribute of element attribute. I've tried creating a static one. a new dimension was created with name '}ElementAttribute_ElementAttribute_dim' but the dropdown doesn't seem to appear. 8-)

Can't find any info online - the keyword 'picklist' and 'element attributes' yields only ways to 'create picklist with element attribute', not 'creating picklist for element attribute'.

Thanks in advance

Re: Picklist FOR (not 'with') element attribute

Posted: Wed Dec 01, 2021 7:47 am
by Wim Gielis
Not sure if an attributes cube supports picklists.
Have you tried a real picklists cube ?
Also, a regular cube instead of an attributes cube will do too. It might be a bit rework in your application but it will work fine.

Re: Picklist FOR (not 'with') element attribute

Posted: Wed Dec 01, 2021 8:08 am
by lotsaram
Picklists work in }ElementAttribute_ cubes.
You just need to create a picklist cube and define a rule for the picklist.

Re: Picklist FOR (not 'with') element attribute

Posted: Wed Dec 01, 2021 9:58 am
by wbf
Thank you guys,
It works just fine!