Setting Default Selected Value

I have an entity in Data Service (Customers) where one of the fields is a ChoiceSet of Countries.

I can save the selected value no problem when creating a new entity record, but when displaying the form with previously saved data, I want the dropdown to select the saved value, “Germany” for example.

I know how to do this in a MultiSelect Dropdown, but just can’t wrap my head around it in a normal, single-selection Dropdown.

Anyone?

Cheers,
Jeppe

Hi

Have you considered doing a lookup to the dataservice upon pageload, if the record exists then assign the value to a variable and use the extended property as the default selected value in the dropdown activity.

But ofcourse you need to have some sort of input, unless it’s always the latest created data record in dataservice.

Or am I misunderstanding the issue?

@jjes ,

Try it;

This does not at all address my issue.

Hi Michael,

I do have an app variable of type but I had hoped there would be a declarative way to do it. But I’ll try your idea until i (maybe) find another way :slight_smile:

Thanks,
Jeppe