open id 

HomeDatastructures

Help with Datastructure Issues

Value List (EnumDataType) Duplicates Messages in this topic - RSS

Kenatrex
Kenatrex
Posts: 25


10/14/2021
Kenatrex
Kenatrex
Posts: 25
I was going to set up a converter flow to dynamically format an object as a string with a value list of allowed format strings as input. It will not allow both 'MM/dd/yyyy' and 'MMddyyyy' because it is considering them as duplicates.


Is there any way to override the text in the brackets so that these are not considered duplicates?
edited by myles.koertje on 10/14/2021

0 link
Kenatrex
Kenatrex
Posts: 25


11/8/2021
Kenatrex
Kenatrex
Posts: 25
Hoping to follow up on this post. Any way of doing this?
0 link
Kenatrex
Kenatrex
Posts: 25


12/22/2021
Kenatrex
Kenatrex
Posts: 25
It looks like the issue is actually due to the Value property in the value list does not allow special characters.


Is there a workaround for this?
0 link
kshitij@decisions.com
kshitij@decisions.com
Administrator
Posts: 208


12/27/2021
kshitij@decisions.com
kshitij@decisions.com
Administrator
Posts: 208
Any enum value defined in the value list has to be a legal C# identifier. So only alphanumeric characters and an underscore are allowed.
For your use-case, you might be better off using a Database Structure. This would allow you to create a list of valid formats in the structure and use them as needed.
0 link






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software