Hello everyone,
I used this post to customize some list forms: https://powerapps.microsoft.com/en-us/blog/separate-custom-forms/
I also used a custom dropdown that sets the value to a text field, however, whenever I edit a list item, the dropdown resets to the default value. Does anyone have experience with this type of thing?
Solved! Go to Solution.
Hi @JMAFO ,
Could you please share a bit more about the issue within your custom form?
Could you please show more details about the custom Dropdown that you mentioned?
I assume that you added a column in your SP list to store the custom Dropdown selected value, is it true? I suppose that you want the custom Dropdown to display the stored value within your SP list rather than reset to default value, is it true?
I have made a test on my side, please take a try with the following workaround:
Set the Default property of the custom Dropdown to following:
If( SharePointForm1.Mode = FormMode.Edit,
SharePointIntegration.Selected.ColumnName )
Note: The ColumnName represents the Column in your SP list, which used to store the custom Dropdown selected value.
If the custom Dropdown is a ComboBox control, please take a try with the following workaround:
Set the DefaultSelectedItems property of the ComboBox to following:
If( SharePointForm1.Mode = FormMode.Edit, LookUp('The formula/data source you typed within the Items property of the ComboBox control', DisplayColumn = SharePointIntegration.Selected.ColumnName) )
Note: The DisplayColumn represents the column you displayed within your custom ComboBox control.
Best regards,
Hi @JMAFO ,
Could you please share a bit more about the issue within your custom form?
Could you please show more details about the custom Dropdown that you mentioned?
I assume that you added a column in your SP list to store the custom Dropdown selected value, is it true? I suppose that you want the custom Dropdown to display the stored value within your SP list rather than reset to default value, is it true?
I have made a test on my side, please take a try with the following workaround:
Set the Default property of the custom Dropdown to following:
If( SharePointForm1.Mode = FormMode.Edit,
SharePointIntegration.Selected.ColumnName )
Note: The ColumnName represents the Column in your SP list, which used to store the custom Dropdown selected value.
If the custom Dropdown is a ComboBox control, please take a try with the following workaround:
Set the DefaultSelectedItems property of the ComboBox to following:
If( SharePointForm1.Mode = FormMode.Edit, LookUp('The formula/data source you typed within the Items property of the ComboBox control', DisplayColumn = SharePointIntegration.Selected.ColumnName) )
Note: The DisplayColumn represents the column you displayed within your custom ComboBox control.
Best regards,
User | Count |
---|---|
137 | |
127 | |
74 | |
71 | |
70 |
User | Count |
---|---|
209 | |
200 | |
64 | |
63 | |
54 |