Object passing to target page

I have created a page and added action button to show a page  and the destination page contains data view of an entity.. when i try run it locally it is showing error as  The target page contains a data view that needs an object of type Travel, which is not passed.Property 'Page' of action button 'actionButton1'Page 'Page'MyFirstModule
1 answers

The page (opening with show page) expects an object of type Travel.

If you have an overview page of all the travel objects and you want a detail page containing one travel object the object should be passed from the overview, this is done automatically if the action button is "Open page". But theoverview needs to show travel objects, not something else.

See also the documentation: https://docs.mendix.com/refguide/opening-pages