Freedom UI: PageParameters not available and HandleViewModelLoadRequest not triggered in nested modals

In Freedom UI, when opening a modal page from another modal page, I’m observing the following behavior:

  • pageParameters are not auto-mapped into the target page’s ViewModel
  • <strong>HandleViewModelLoadRequest</strong> is not triggered at all
  • Because of this, the passed parameters are not accessible in the target modal

However:

  • The same page works correctly when opened from a section or main page
  • In that case, pageParameters are available and HandleViewModelLoadRequest is triggered as expected

My questions:

  1. Is this behavior expected / by design for modal → modal navigation in Freedom UI?
  2. Does modal → modal navigation follow a different ViewModel lifecycle?
  3. What is the recommended way to pass and initialize parameters in nested modals?
  4. Is manually reading from request.$context the only supported approach here?

Any clarification or best-practice guidance would be very helpful.
Thanks in advance

Like 1

Like

0 comments
Show all comments