How can I create a custom mapping that accepts MultipartFile? | cyrus | 2015-04-16 11:56 |
Status: Closed | ||
Thanks kevin. Unfortunately the /convertXLSToJSON location isn't being mapped by the controller. Just to make sure, I renamed the class to "ConvertAction" and tried "/convert", but that isn't working either. I get a 404 on both. >>>>>>>>>>> @RequiresPermissionClass(InsertPermission.class) public class ConvertAction extends ApiAction { @Override public Object execute(Object o, BindException errors) throws Exception { JSONObject full_jo = null; Map<String, MultipartFile> files = getFileMap(); try { full_jo = new JSONObject(); ... >>>>>>>>>> Sorry I'm new to LabKey and am not exactly sure how these routes are getting set up. If you have any further advice, I would appreciate it. Cyrus |
||