Newbie Tip – may just save you time
GALLERY DATASOURCE – COLLECTION
Using a collection as a datasource to gallery has many advantages, as detailed by multiple blogs. It is suffice for me to say – the flexibility of a collection is a game changer.
Once you have a collection, updating the collection (for example by a patch) will update the gallery. Allowing fast responses for the user. Then using a save button, to save the collection to dataverse table (for example).
TIP
The values in the row of a gallery can be looked up in two main ways:-
Say there is a text control txtName with default of name. Also say a unique field of RecGuid
- LookUp(collection1, RecGuid = <guid>)
- LookUp(gallery1.AllItems, RecGuid = <guid>)
The difference is that the control txtName will be accessible in the latter.
for example
LookUp(gallery1.AllItems, RecGuid = <guid>) .txtName.Text
Recent Comments