Notifications
Announcements
I have a gallery feed that is pulling in items from a frequently added to list. Depending on tags in that list, some components in the gallery have different attributes. (different label/image sizes and so on)
I would like the first gallery item to always have certain attributes. How can I detect the first item in a gallery for this purpose?
@PJaeger You can get first item of gallery using:
First(Gallery1.AllItems)
Where Gallery1 is name of gallery control. For more information, check below link:
How to check for First or Last items of a Gallery
Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍
Best Regards,
Ganesh Sanap
Blog site
Could you show me how I might use that with an If statement?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268