Pass Entity when opening page from a button click

I want to open a page when I click “Show a page” and then select page that I want to open then it appears error at the bottom that “An object of type should be passed to  the page,but no object is available.
1 answers

If you want to create a new object and then open the page use the Create Object button instead.

If you want to pass an existing object, then the button must be placed in a data view or a listview where this object is available.