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.
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.
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?
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.
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.
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.