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 Platform Community / Forums / Power Automate / Parse file name to upd...
Power Automate
Unanswered

Parse file name to update library metadata from term store

(0) ShareShare
ReportReport
Posted on by 13

I need what seems to be a unique problem as I cannot find the answer anywhere.  I am trying to build a power automate workflow to automatically update SharePoint library metadata columns based on parsing the file name which has multiple underscores as the delimiter.  I have a naming convention which is as follows:

Classification_Organization_FileType_Name_Version_Date. 

So, the file name would look something like this:

UNC_NGB-J1_Memo_DutyAppointment_v2_20240320. 

Each of these elements except for the date has a term store, which creates a drop down list to manually pick from for data consistency when the file is uploaded. I am trying to make the library user friendly by auto-updating these metadata columns based on the elements in the file name.  Ultimately, I am trying to motivate my peeps to go through the effort of properly naming these files, which saves them time and effort by negating the need for them to manually assign the metadata directly in the library.

I am having a heck of a time trying to get this done.  Any help would be greatly appreciated.

Categories:
I have the same question (1)
  • AlexEncodian Profile Picture
    4,409 Moderator on at

    @Nils_Stansen 

    If you have the underscore delimiter, why can you just use the split() function on the split character?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 458

#2
Vish WR Profile Picture

Vish WR 345

#3
David_MA Profile Picture

David_MA 261 Super User 2026 Season 1

Last 30 days Overall leaderboard