Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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?
Hi David,
Use the
FullPath
property of theUpload Widget
instead of FileName, as the path parameter ofRenameFile
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