Hello,
I created a custom Fx button in the command bar, which navigates to the form of a different page with some values pre-filled, including a lookup field.
The formula I tried is :
Navigate(
Patch(Defaults(MyOtherPage),
{ Lookupfield: Self.Selected.Item }
)))
It works with any type of field except lookup, which is not pre-filled. I tried different ways, using With, using a lookup, etc, none of them seems to work.
It works if I use the formula : Navigate(Patch(MyOtherPage, Defaults(MyOtherPage), { ... }) but this is registering the record before navigating, and it is not what I'm looking for, I just want to pre-fill values without saving.
Any ideas?