How to Get file path of attached file from file widget
hello i m new on bonitasoft . using community 6.3
i create one doc variable named input create on from with file widget Nd set data as this input variable .
on submit button clicked add one action
string variable takes value of input.getPath() but when run process it gives error : " error while submiting form"
what i mistaken ? pl any one help me .
thanks in advance . jalpa
Hello,
Could you give some more information please ? A fileWidget contains a DocumentValue object. You don't have a method "getPath()" on a DocumentValue. Second, you should save the file widget to a Document (it's not a variable, but a Document, configurable on the panel Document).
Second, could you check the log file (help > Log > Engine Log) to have the real technical error ? I assume you have something like "unknown method getPath()".