Multiple reference selectors pointing to the same attribute not working
1
I have 3 reference selectors (drop downs) that are pointing to the same attribute. The reason for this is that I want to configure different Selectable Objects & Constraint depending on the value of an enum attribute. It all works ok for the first object I edit. I then have a "Save & add new" button & microflow that copies several attributes (including the referenced attribute) to a new object and show this in the same page. When I click this "Save & add new" button, then change the enum value and set the reference selector to a value, it changes for a second, then goes blank. There are no errors, just doesn't let me select. I then removed all but one of the reference selectors and this behaviour doesn't happen. I turned on trace for a bunch of modules and can't seem to find any clues as to why this is happen. 1. Anyone seen this before? 2. Any suggestions for debugging this or what module to set to Trace? 3. Any alternative approaches to the UI concept?
asked
Chris Rowland
2 answers
1
A solution/work around could be to have only one reference selector and use a microflow to select the selectable objects.
In that case you can have one single microflow that handles selecting your objects based on the different enum values.
answered
Jacob Boer
0
Great idea, thanks Jacob. Seems obvious now :-)
Haven't tried yet but see no reason for this not to solve my problem.