cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KickingApps
Level 8

Photo collection - Collect distinct for each series

Greetings,

 

I am collecting all photos from a SP library OnStart.  When initializing the collection, I add a column to split the name(s) of the photos.  

ClearCollect(
    colPhotos2,
    AddColumns(
        Photos2, "ddName", First(Split(Name, "-").Result
)))

So, if the name of a photo in the library is:

2018_US1-Montana-Glacier10

The added column in the collection will be:

2018_US1

 

Say I have 10 photos for 2018_US1-Montana-Glacier# and 9 for 2017_BC1_Banff and another 15 for 2018_JP1_Tokyo# -- how can I collect only the first photo for every series?  Too complicate matters and really put a challenge out there, I would ideally like to collect the first photo in every series that is landscape layout rather than portrait.  At this time, there is nothing in my SP library to identify a photo as landscape/portrait.image.png

1 REPLY 1
KickingApps
Level 8

Re: Photo collection - Collect distinct for each series

Looking for a solution still on this one.  I would like to collect the first photo for each 'series' within a group.

 

I

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (5,142)