Navigating from Flex repeater to a view/page with parameters

I have a flex repeater that displays equipment to navigate to, the navigation works but the parameters from the flex repeater are not making it to the view.

view = '/entry'
params = {
	'id':1
}
	
	system.perspective.navigate(view, params)

The view has parameter id, the flex repeater is passing id (based on prints), but I never see the id parameter in the view update to the passed in value.

Do I need to pass the params in a urlParam or something similar?

Try:

system.perspective.navigate(view=view, params=params)

Without using keywords, you were passing your view as a page, and your params as a URL.

oh man, i cant believe it was that easy. Sometimes you stare at something so long you need a second set of eyes to see it, thank you!

1 Like