Hello Experts, I have consumed Java Action (https://docs.mendix.com/howto/logic-business-rules/extending-your-application-with-custom-java) Successfully. Now my requirement is : upload the document (.txt) file and pass it to the java action recieve the document (.txt) file in java and write a java code to read the txt file return the string recieve the string in mendix MF and show in a popup. While writing a code for this in Java i’m getting error. Can anyone please give me the suggestion to achieve this requirement. Answers are much apprecited!
asked
Aneesh Narayanan
1 answers
1
You could use the java action StringFromFile from CommunityCommons module. It takes file document as input and returns text content of the file document as a string.