web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Accessing link in mult...
Power Automate
Unanswered

Accessing link in multi dimensional array

(0) ShareShare
ReportReport
Posted on by
Apologies for the basic question but this is driving me mad.
 
I have uploaded files via form, and have the following array which has the file details stored within it.
 
 
[
    {
        "name": "Filename1.jpg",
        "link": "https://FILELINK",
        "id": "abcde",
        "type": null,
        "size": 652825,
        "referenceId": "abcde",
        "driveId": "abcde",
        "status": 1,
        "uploadSessionUrl": null
    },
    {
        "name": "Filename2.png",
        "link": "https://FILELINK",
        "id": "abcde",
        "type": null,
        "size": 20571,
        "referenceId": "abcde",
        "driveId": "abcde",
        "status": 1,
        "uploadSessionUrl": null
    }
]
 
 
 
I need to loop through the array and access each 'link' in turn and append to a string variable so that I end up with "link1,link2,link3" etc
 
I have tried accessing via "items('Apply_to_each')?['link']" but it is erroring.
 
Current flow;
 
Initialise an array variable (var_array)
Append above array to var_array
Apply to each based on var_array as input
(within apply to each append to string variable (var_string) items('Apply_to_each')?['link'] <- falls over here
 
Im sure its a basic error

'The template language expression 'items('Apply_to_each')?['link']' cannot be evaluated because property 'link' cannot be selected. Property selection is not supported on values of type 'String'
 
my input to the apply to each is definitely an array variable, so I dont really understand the error.
 
thank you
Categories:
I have the same question (0)

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard