xlsx upload, download

0
제목과 같은 내용을 연습중인데, 현재 앱에 MarketPlace를 통해 ExcelImporter 모듈을 통해 엑셀의 업로드와 다운로드를 이용하고 싶은데 해당 로직을 한번 설명해주실 분이 필요합니다.   버튼 생성 후 OverView페이지에서 템플릿 생성 후 마이크로 플로우를 호출하면 아래와 같은 오류가 노출됩니다.    Windows An error has occurred while handling the request. [User 'demo_administrator'with session id '"74762dd9-XXX(X-XXXX-XXXX-XXXXXXXX73b6` and roles 'Administrator'] com.mendix.webui.WebUIException: Exception while executing runtime operation at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:72) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: Cannot create excel, because the inputobject isn't CertManageModule.Certification Retrieved: XLSReport.CustomExcel at XLSReport.GenerateReport (JavaAction : 'GenerateExcelDoc') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:83) subclass of configured. Expect: Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: Cannot create excel, because the inputobject isn't a subclass of configured. Expect: CertManageModule.Certification Retrieved: XLSReport.CustomExcel at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:108) ot Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: Cannot create excel, because the inputobject isn't XLSReport.CustomExcel at com.mendix.util.classloading.RunnerS.withContextClassLoader(Runner.scala:23) subclass of configured. Expect: CertManageModule.Certification Retrieved: Caused by: com.mendix.core.CoreException: Cannot create excel, because the inputobject isn't subclass of configured. Expect: CertManageModule.Certification Retrieved: XLSReport.CustomExcel at xlsreport.actions.GenerateExcelDoc.executeAction(GenerateExcelDoc.java:70) at xlsreport.actions.GenerateExcelDoc.executeAction(GenerateExcelDoc.java:30) at.com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerlmpl.doCall(CoreActionHandlerlmpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerlmpl.call(CoreActionHandlerlmpl.scala:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:57) at com.mendix.basis.actionmanagement.ActionManager.Sanonfun$executeSync$2(ActionManager.scala:104) at com, mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103) at com.mendix.basis.actionmanagement.UserActionCallBuilderlmpl.execute(UserActionCallBuilderlmpl.scala:57) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:35) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:11) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:38) at.com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfunSexecute$1(MicroflowObject.scala:31) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:28) at com.mendix.modules.microflowengine.microflow.impl.Microflowlmpl.executeAfterBreakinglfNecessary(Microflowlmpl.scala:176) at com.mendix.modules.microflowengine.microflow.impl.Microflowlmpl.executeAction(Microflowlmpl.scala:116) at com.mendix.systemwideinterfaces.core.UserAction.execute/UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerlmpl.doCall(CoreActionHandlerlmpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerlmpl.call(CoreActionHandlerlmpl.scala:48) at com. mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:57) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104) E  Ln7.Col1 100% Windows (CRLF) UTF-8 GA 11:16 2024-05-30  CXP- Template ov CXP (Main line ('m wind_
asked
2 answers
0

Hi Lee, your input object is wrong

Check the below forum where the developer faced the same issue as you 

https://community.mendix.com/link/space/app-development/questions/133890

Actually, you have to pass your entity which is generalized with filedocument as an input object to your email template

answered
0

ExcelImport과정에서 아래와같이 시작되는 오류를 접하게 되었습니다.

 

com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MenxdixRuntimeException: ...

Document could not be imported, because: Can't open workbook - unsupported file type: UNKNOWN at com.mendix.basis.actionmanagement AftionManager.executeSync(ActionManager.scala:108)

 

이라는 오류를 접했습니다. 다른곳에 찾아봐도 해결방법이 없는데 어떤점이 문제일까요?

answered