cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Add variable to attachment file name

Jump to solution

Hey there,

I am wondering if there is a way to add variable to the attachment file name before storing the file in a SharePoint online list?

The scenario I have is we have a photo competition and I want add the title value to the attachment name to make it easier for our communications team to link the photo to the specific title.

I've attached my screenshot to give a reference of what I am trying to achieve. 

I am hoping I can achieve something like "Title - file name.jpeg".

 

This will make linking that file name to the title all that much easier.

 

Definitely would appreciate the help on this team.

Nintex form.png

 

Labels: (1)
0 Kudos
Reply
4 Replies
Highlighted
Community Manager Community Manager
Community Manager

Re: Add variable to attachment file name

Jump to solution

@XenoIcon I have done some testing within NWC and it looks like currently this is not possible with how form files are stored in Blog storage. 

 

At first I thought we could potentially update the name within the collection that holds the variable that is created by the form by using RegEx:

Screen Shot 2020-03-16 at 7.13.40 AM.png

Screen Shot 2020-03-16 at 7.14.05 AM.png

 

And while I was able to update the name in the collection, because this just acts as a 'reference' to the file in Blog storage (not the file itself), the workflow instance failed:

Screen Shot 2020-03-16 at 7.15.14 AM.png

 

I have created a UserVoice post for this functionality here and added a couple votes for the idea to help it get started: https://nintex.uservoice.com/forums/430063-5-nintex-workflow-cloud/suggestions/39948154-update-file-... Feel free to add your own votes to the idea to raise its visibility to the product team.

 

 

 

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Add variable to attachment file name

Jump to solution

Hey @butlerj,

thank you so much for putting effort into this, and trying to get a reasonable solution for me! I have put some votes in myself and share with colleagues to gain some momentum.

For now, I've created another column in SharePoint to capture the file name and have it next to the title to make it easier for our Comms team to identify.

 

I just had one more question...and let me know if I should make a thread in the Office 365 area, is this same process possible in Nintex for Office 365?

0 Kudos
Reply
Highlighted
Community Manager Community Manager
Community Manager

Re: Add variable to attachment file name

Jump to solution

@XenoIcon Did some hunting on this and it looks like the only way to do this within O365 is via a web service call (related StackExchange thread), they just do not seem to make it easy to interact with list item attachments :\

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Add variable to attachment file name

Jump to solution

Oh wow, that's some effort but handy to know!

I have a requirement for it within Office 365 as well, so I am going to give this a crack soon!! Thanks for your time on this and fingers crossed this solution is integrated into Nintex (O365 and WFC) in the not too distant future!

Reply