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 / changing filenames in ...
Power Automate
Answered

changing filenames in Sharepoint with metadata and version number

(0) ShareShare
ReportReport
Posted on by 762

Hello Community,

I'm looking for a way to rename a document in SharePoint using Metadata columns and version number,
I've built a flow where I can get the Metadata columns, but when I try to include the version number it does not display as actual version due to the file extension. instead of showing the version number as 0.1 it shows as 01

ClaireAllen_0-1707314731306.png


Does anyone have any suggestions how to get the actual version number to display.
I've tried adding a calculated column, but that did not work
I'm using a HTTP request to rename the document which is working as expected, I've used a compose for the Version Number and trying to get the outputs from that in the HTTP request

ClaireAllen_1-1707314908278.png


Does anyone have any suggestions please.
Thank you!
Claire



Categories:
I have the same question (0)
  • SimBon Profile Picture
    16 on at

    Hi @ClaireAllen , I think the problem is the dot '.', I saw here that @jinivthakkar in a similar case suggests as a workaround to pass the filename with extension.

  • ClaireAllen Profile Picture
    762 on at

    @SimBon 
    Thank you for the replay and information, I have tried using with and without extension, and it will still not pick it up, and the link you provided, I am not able to get this to work for any type of document I want to rename to include the version number.

     

    Kind regards

    Claire

  • Verified answer
    ClaireAllen Profile Picture
    762 on at

    I managed to resolve the issue that works for me, so I thought I'd share what I did

    I added a space in the send an HTTP request after the outputs and put another dot, so when the workflow runs it adds the correct version number.
    Does what I need it to do, and this was just adding a compose with the dynamic content of the version number and using the output in the HTTP request.

    ClaireAllen_0-1708349788564.png

    Screenshot 2024-02-19 132304.png

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard