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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

List blob

(0) ShareShare
ReportReport
Posted on by 27

Hello,

 

I need to get the values which gets from list blob.

I want to get only the First name of the file

I have used split function split(body('Lists_blobs_(V2)')?['value']?['Name'],'.')?[1]

But Im getting error.

 

AnanyaDixith_0-1654609086097.png

 

Output of List blob

AnanyaDixith_2-1654609282579.png

I need to get only the name of the file without its extension.

 

Can anyone help me with this.

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @AnanyaDixith ,

     

    The return outputs of body('Lists_blobs_(V2)')?['value'] is an array.

    If you want to get first file's name , you should use this:

    split(body('Lists_blobs_(V2)')?['value']?[0]?['Name'],'.')?[0]

    If you want to get second file's name, please try this:

    split(body('Lists_blobs_(V2)')?['value']?[1]?['Name'],'.')?[0]

    If you want to get each file's name, you shoud use apply to each action to do a loop.

     

    Best Regards,

    Wearsky

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard