cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Generate a copy and timestamp of excel sheet

Hi all,

 

Could you show me how to get an excel file on Sharepoint and create a copy and place back in a folder on Sharepoint and name it as file_ddmmyy ? This will be a scheduled occurance on every Friday at 18:00 

 

Thanks for the help!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hey Mate,

 

Sample Flow -

 

CFernandes_1-1610966583409.png

 

 

Formula used to create Filename-

 

concat(outputs('Get_file_properties')?['body/{Name}'],formatDateTime(utcNow(),'ddMMyy'))

 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

8 REPLIES 8
Memorable Member
Memorable Member

Please try something like this, please add dynamic values as required :

 

jinivthakkar_0-1610966429082.png

 

jinivthakkar_1-1610966464951.png

jinivthakkar_2-1610966503932.png

 

Hope this helps.

 

Super User III
Super User III

Hey Mate,

 

Sample Flow -

 

CFernandes_1-1610966583409.png

 

 

Formula used to create Filename-

 

concat(outputs('Get_file_properties')?['body/{Name}'],formatDateTime(utcNow(),'ddMMyy'))

 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Hi @CFernandes,

 

May I ask why you chose to have few more items as apposed to @jinivthakkar 's solution? 

@Sertan_CPH To be honest our solutions overlapped(we posted at approx the same time).

 

But that being said, I have not hardcoded values in my solution so you will see few extra steps. Its is a complete solution 😊

Many thanks for the answer. I just could select only one solution though 🙂

@Sertan_CPH I am glad my solutions worked\helped… 😊

Hi @CFernandes,

 

How could you write the code again so there is an underscore between the file name and the date? 

@Sertan_CPH 

 

Sure thing.

 

concat(outputs('Get_file_properties')?['body/{Name}'],'_',formatDateTime(utcNow(),'ddMMyy'))
 
The output will be 
Untitled.png
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (51,699)