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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

rename file after upload

davidcor
1-Visitor

rename file after upload

I'm trying to rename a file (for consistency) after uploading to a FileRepository be calling the FileRename service after UploadComplete. I am trying to pass the FileName property of the upload widget to the path parameter of the FileRename service. However, I get an error in the app log saying "no path specified." 

Is there a way to pass the name of the uploaded file to the renamefile service?

3 REPLIES 3
Aanjan
12-Amethyst
(To:davidcor)

Hi David,

Use the

FullPath

property of the

Upload Widget

instead of FileName, as the path parameter of

RenameFile

would expect to get a path input.



I tried that as well and still get the same error. It appears to be a permissions error.  It works fine if I am logged into the mashup as an administrator.



Still looking for an answer to this issue. Any help is appreciated



Announcements


Top Tags