cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to upload file with Office 365 upload file action?

Jump to solution

hi

I used Office 365 upload file action to upload file from a document library to another document library but, the destination file is damaged

O365upload.png

the original file size is 235Kb and the destination file size is 1Kb

please help me with this error

Labels: (1)
0 Kudos
Reply
7 Replies
Workflow Hero

Re: how to upload file with Office 365 upload file action?

Jump to solution

maybe try changing the follwing

- SharePoint Online URL could just be tenant URL not current Site URL, unless this work flow is running in your root site I guess.

- File to Upload could just be {workflow content:current item}

What do you mean file is damaged? what results do you get from the output variables?

Reply
Not applicable

Re: how to upload file with Office 365 upload file action?

Jump to solution

file uploaded is corrupt, size is 1Kb but, original size is 230Kb

0 Kudos
Reply
Workflow Hero

Re: how to upload file with Office 365 upload file action?

Jump to solution

so you got it working? or still having issues?

0 Kudos
Reply
Workflow Hero

Re: how to upload file with Office 365 upload file action?

Jump to solution

Hi Mauricio,

If you select "Content" as "File to upload" parameter, it will actually use your input as the uploaded file content.

inline1.png

In my example here, it will upload the content as HTML.

If you would like to upload an existing file from your site, you can use the "Existing SharePoint Content" option instead. Make sure you include the file extension in the "File name" parameter as well.

Regards,

Azam

Reply
Not applicable

Re: how to upload file with Office 365 upload file action?

Jump to solution

Thanks Azam Alias

0 Kudos
Reply
Workflow Hero

Re: how to upload file with Office 365 upload file action?

Jump to solution

I have a library called '1234 - ABC', when i enter that in the folder path Nintex strips the dash and I get the following error message:

The list '1234  ABC' does not exist in web site

How do I add the dash character as Nintex appears to use the library name, and not the library path?

0 Kudos
Reply
Workflow Hero

Re: how to upload file with Office 365 upload file action?

Jump to solution

Another question - when using any variable, the workflow errors saying that '1234 ABC' doesn't exist. However, when I hard code the text it copies the file successfully.

After some testing the below works

- Hard coding the value to '1234 ABC'

- Using the value from an initiation form variable

Tried the following which doesn't work

- Using a variable with value of '1234 ABC'

- Using an item property value with value of '1234 ABC'

- Using a variable with value from an initiation form variable

Pretty sure this is a bug. Any ideas?

0 Kudos
Reply