12-08-2015 01:25 PM
Hello,
I have problems showing Attribute from MettaAssociation in java report in editable format. For example, let's say that I want to show in a Java Report the following variables (in editable format) – IT Manager, Process Manager, Quality Manager and etc.
I manage to make it work so it shows them in text format:
MegaObject appWithResp = person.getType().getCollection("Assigned Application").item(selected_application.getID()); if(appWithResp.getID() != null) { Text itMan = new Text(appWithResp.getProp("~tvhNy4cg)KD0[IT Manager]"), false); }
But when I can't make it be in editable format. Any ideas?
Solved! Go to Solution.
19-08-2015 04:24 PM - edited 19-08-2015 04:25 PM
Well here is the answer (hope it helps somebody else). Starting from the CP5 you can proceed by this way :
MegaObjectProperty itMan = new MegaObjectProperty((String) appWithResp.invokeFunction("getPath"),"~tvhNy4cg)KD0[IT Manager]", true);