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 Apps / Rename attachment on a...
Power Apps
Unanswered

Rename attachment on a selected item gallery. The attachment is stored on sharepoint list

(0) ShareShare
ReportReport
Posted on by 566

I want to rename an attachment on a selected item gallery. This attachment is stored on a sharepoint list.

I managed to get the filename of the attachment but did not managed to rename this attachment.

Here is the code:

 

First(galListData.Selected.'Pièces jointes').DisplayName

 

Please help me.

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

    Hi @Sormick ,

     

    Let's say the item only has 1 attachment, I made a sample for you.

    vxiaochenmsft_0-1702520914240.png

    vxiaochenmsft_1-1702520931810.png

     

    Best Regards,

    Wearsky

  • Sormick Profile Picture
    566 on at

    Thank you so much. I managed to create the flow but did not managed to launch it via my power app.

    I tried this:

     

    'Powerapps-Rename-Attachment'.Run(txtTitle.Text;Label2.Text)

     

    txtTitle is my new filename and Label2 is my ItemID

    Sorry i am a beginner. Did i forgot something?

  • v-xiaochen-msft Profile Picture
    on at

    Hi @Sormick ,

     

    I have no idea. Please provide flow running history screenshot.

     

    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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard