Hi Reemali,
did you find a solution of your problem inbetween?
I faced the same several times and unfortunatly the only way out was to use Datagrid. But Datagrid2 would bring a lot of advantages.
Thank you for your answer.
See this solution, Reemali. I ran into the same problem as you and found this answer while working through how to do this without the reference set tool. Pretty intuitive...
https://community.mendix.com/link/space/user-experience/questions/111457
TL:DR
Create a (pop up) page with a data view of the object.
Within the data view set a List view of the selectable entity (You can add selection restrictions in the configuration of the list view).
Have the ‘On click’ action of the list view be a microflow.
Set up the microflow to with input parameters Object of the Dataview and Selected Object . You can configure the on click action to pass on these objects to the microflow.
Set up the microflow to change the association of the main object to the newly selected object and then close page.
Hi Reemail
Have you tried using Datagrid instead of Datagrid 2