hi,
I am trying to use upload Files function. this is one of the step in my process. I have a final summary screen, which shows the files uploaded and they should appear as document upload link.
I used a!submitUploaded files in the next button, which actually goes to fIle Upload Screen to the summary screen.
It works fine , when I tested the interface. But shows an error in site.
An error occurred while executing a save: Expression evaluation error: a!submitUploadedFiles() cannot be evaluated in this environment.
Target folder is not Document or Folder but marked as Folder.
Also, editor access permissions has been given to the Users for this folder.
Discussion posts and replies are publicly visible
It is because you can't use that function within an interface that is plugged as a UIT in a process.
I was unclear, because in the OP they say they're trying this on a Site. However if it's actually being invoked in a User Input Task or Process Start Form, you're correct that it won't work. I think the error message you get if you try that, though, is a bit more specific than the one described in the OP (though maybe not).
kowsalyavijayan said:this is one of the step in my process
Because of this line of OP, I am assuming they are using it in a UIT
Hi harish,
I am not using any process models here , just step by step screens where the user will have to file in details and upload files, there is one last screen where the user will review all the details he filed including the file uploaded ( download and view the file ). I am trying to save the files , when the user clicks the "NEXT" button in the file upload screen,
I am not sure what is OP and UIT, I am new to Appian
OP means Original Poster (who posted the question) and UIT is User Input Task.
Quick QUestion - Where is this screen plugged and how is the user accessing it?
User is accessing the Screen through Site.
No tasks or process models . Just an interface configured in site
kowsalyavijayan said:Just an interface configured in site
Well i'm otherwise out of ideas other than making sure your security settings are all aligned (user account(s), folders, etc). On the current version of Appian this should be a supported use case. I guess maybe you could try testing on a simpler interface, one with just a file upload field and a button/link that only fires the "submit uploaded files" control when clicked, and see if it gives you the same error.