Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Drop Down List (DDL) problem with specifying item values

Level 4
Level 4

I have a DDL with around 40 entries that have got specific values associated with them. As they are a list of sites with different priorities their values are all either 1, 2, or 3. So this means that there are multiple sites with the same value.

When I am selecting a site, say the 4th on the list, it will choose the first site in the list with the same value and not the one that I have selected.

Should this happen?

Does anyone know of a solution for this problem?

I can put in a workaround where I give them all individual values 1-40 and put my priority according to the how high they are ranked (so 1 is the top 10 sites, 2 is the 11th to 25th, etc.) but this would be harder for someone else to maintain in the future.

Many thanks,

0 Replies
Level 10
Level 10
Yes it should happen. Each site needs a unique value. You could use the site name and then grab the associated value when you need it rather than using the associated value all of the time. To get the site value use FormattedValue for the associated value use rawValue.
Level 4
Level 4
OK, thank you Paul.

Workaround becomes the solution then 🙂