Displaying detailed product details

I have a situation where I have landlords who are able to upload their properties, they are able to see their own properties on their profile, and tenants are then able to see a summarised version of all the landlords properties.

I now want to allow the tenants to click on the summarised version of the property and have it open the full version of the property, essentially the same view that the landlord has of their own properties.

Any ideas how I can go about this? I don’t even know where to start.

‘essentially the same view’ should always make you think about using a reuseable element. Make the property info panel a reuseable element and you can display it when the user clicks something. If there’s minor changes in the element like the landlord needing an edit button but the user not, then you can use a property on the reuseable element to conditionally show and hide it.

Thanks for the reply @georgecollier!

So that part I am comfortable with, the part that is tripping me up is that the tenant is now able to see hundreds of properties, and should be able to click on any on those properties to get more info. At the moment I cant figure out how to only display that selected properties data.

Hey @bertr4n :wave:

When you have the user click on a property, then you need to send the data somewhere. Either to a page, group, URL parameter or something else. Then you can access that data and display it to the user. Does that make sense? :blush:

1 Like

Thanks @J805.

Please have a look at these screenshots. I have followed your instructions to the best of my understanding and I still cannot get it it to work.

The “more” button should be clicked to take the user to the page where the full property details will be displayed. Here is the workflow of the button and the details of the repeating group.

So it looks like first, you need a data source for your repeating group to display your properties list.

Then on the full_property_display page, you need to display your property data by referencing ‘current page’s property’.

Does that make sense? :blush:

The repeating group that the user is seeing has a datasource which is “search for properties”. That allows the user to see all the properties that have been uploaded.

Then when I try to reference ‘current page’s property’ on the full_property_display page it gives me an error.

“Datasource should be list of properties, but right now it is a properties”

Oh, I see. So instead of a repeating group, right click and change the element to a group. Then it will just be one Property instead of expecting a list. Repeating groups are for lists. :blush:

1 Like

Thank you. Thank fixed it

1 Like

So glad that helped. :blush::raised_hands:

1 Like