Hi all
Have an urgent and very enigmatic issue:
- On a screen alpha I have a datatable connected to a Sharepoint list 0 and a button "Edit". OnSelect on button has "Set(varSelectedItem, datatable.Selected)".
- On a screen beta I have a number (e.g. 5) of dropdown lists controls each inside custom card on an edit form which is connected to the list 0. Items property for each of the dropdown list is different and pulls data from different Sharepoint lists.
- Default property of each of drop down lists is set as varSelectedItem.<appropriate field name the same as in the list 0>. Concequently, since the variable contains record from the same list 0 which is actually filled using the edit form default values correspond possible choices.
Problem:
- Go to screen alpha, select record in data table, press the button, go to the screen beta
- Part of dropdown lists get default values filled in, part - not (e.g. 3 of 5 have default value)
- Go back to screen alpha, select the same or another record in the data table, press the button, go to the screen beta.
- Some of the fields which have not had default value now have it. But not all - e.g. 4 of 5 have default value.
- Go back to screen alpha, select the same or another record in the data table, press the button, go to the screen beta.
- Now all dropdown list have default values.
Initially I thought that variable is not assigned fully (or whatever else), But I've created a label where text is varSelectedItem.<appropriate field name> of one of dropdown lists which do not have default values in step 2 - and label shows expected text normally.
Thx in advance for any help!
UPDATE: workaround - putting 3 ResetForm on visible on the beta screen.
UPDATE2: even better workaround - 2 timer controls with autostart and consequent ResetForm with 1 sec interval.

Report
All responses (
Answers (