Perspective EmbeddedView failes to load view from URL parameter

Hi all, I cannot manage to have the following project run correctly: one of my views (MeterView) has an EmbeddedView whose path property is dinamically bound to a parameter coming from the URL (e.g. /meters/temperature should load my MeterView, loading the Temperature view in the EmbeddedView component - the URL in the Page Configuration is defined as /meters/:sensor and sensor is a param of the MeterView). I use a MenuTree to load my views, hard-coding the URLs in the target property. The behavior is as follows:

  • click an item in the MenuTree: the MeterView loads, showing the View not Found scaring message
  • if I press F5 in the browser and force a reload of the URL which was set by the MenuTree item, the MeterView loads as expected with the correct sensor view.

I tried to add time.sleep(..) here and there, thinking that as soon as the main view is shown, URL parameters are not parsed/ready yet, but with no success.
Any idea?

Thanks in advance

Ignition version: 8.1.31

Try to change to loading mode of the embedded view to after parent or whatever it's called.

Thanks @pascal.fragnoud . I'm quite sure I did it already, but next week I'll be by the customer and I'll give it a try.
Regards

Could you show the binding in place on the view path of the Embedded View?

Hi, I finally found the solution: the hard coded target URL is a concatenation of text fields coming from a database query, which I execute to build the MenuTree dinamically. I had to trim() those text fields to get the target property running - even if those text fields have no spaces around them.