Skip to main content
Nintex Community Menu Bar
Solved

Rename the uploaded file from the starting form to one of the variables and save it to SharePoint

  • April 2, 2024
  • 7 replies
  • 202 views
  • Translate

Forum|alt.badge.img+1

Hi all, can you please help me sort out my issue, I have been looking everywhere and I can't find a solution.
At the start event form, I set the file upload, this file will always have a different name (depending on the user) I wonder if there is a way to rename it to one of the variables and save it on the SharePoint folder.

Best answer by Chris_Ben

Hi, yes this is possible.  You have to first save the file to SharePoint and then after it has been saved, you can rename it to the name you specified in the start form.  Here’s the workflow outline to do this - NB the get item from collection is used to retrieve the first file from the upload control because the control can accept multiple files.

 

 

View original
Did this topic help you find an answer to your question?

Deon
Forum|alt.badge.img+10
  • Rookie
  • April 2, 2024

Hello @fbartosz , you mention “Start Event Form” which sounds like you are referring to Nintex Automation Cloud.

This was posted under “Nintex Automation”, which is now the new name for K2 Five.

 

Can you please confirm if this question is related to K2 Five, now knows as “Nintex Automation” or Nintex Automation Cloud, the product previously known as “Nintex Workflow Cloud” ?

Translate

Forum|alt.badge.img+1

Sorry you are correct I rereferred to Nintex Automation Cloud.  I will delete that question and raise it one more Time in correct group. Thank you for your answer :)

Translate

Forum|alt.badge.img+1

​@Deon  can you please close this thread, I can't ask that question under NAC if this one still exists. 

Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • April 10, 2024

Hi @fbartosz 

I have moved this question to the NAC forum so there’s no need to re-post it. 

Translate

Forum|alt.badge.img+1
  • Rookie
  • April 10, 2024

Thank you for your reply, unfortunately, people will be able to upload the file with various names so I am not sure how I will be able to target it after I save it on share point folder.

Translate

Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • April 10, 2024

Hi, yes this is possible.  You have to first save the file to SharePoint and then after it has been saved, you can rename it to the name you specified in the start form.  Here’s the workflow outline to do this - NB the get item from collection is used to retrieve the first file from the upload control because the control can accept multiple files.

 

 

Translate

Forum|alt.badge.img+4
  • Rookie
  • April 14, 2025
Chris_Ben wrote:

Hi, yes this is possible.  You have to first save the file to SharePoint and then after it has been saved, you can rename it to the name you specified in the start form.  Here’s the workflow outline to do this - NB the get item from collection is used to retrieve the first file from the upload control because the control can accept multiple files.

 

 

Hi Ben,

I am trying to do something similar and have created logic for a date-time stamp logic for the file, and I am able to rename the file. After renaming, it places the date-time stamp after the extension and creates something like as attached. I created a regular expression to take the extension out and then add it again, but is this the only possible way, or am I missing something? Can you please help.
 

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings