I am using the VCO SDK with orchestrator 5.1.0 build 2725. I am needing to access the Presentation Properties. In particular I am looking for the Default value for each presentation item. I use my workflow to retreive my a presentation object. From it I retreive the input parameters but for every input parameter the properties attribute is null. Should this be populated with the property values for the presentation item?
Here is a piece of code I am using to try to look at the properties:
private static void checkPresentation(Workflow wf) {
PresentationService ps = new PresentationService(session);
Presentation pres = ps.getPresentation(wf);
com.vmware.o11n.sdk.rest.client.stubs.Presentation.InputParameters ip = pres
.getInputParameters();
List<Parameter> parmList = ip.getParameter();
for (Parameter parm : parmList) {
com.vmware.o11n.sdk.rest.client.stubs.Properties parmProperties = parm
.getProperties();
if (parmProperties != null) {
List<KeyValuePair> propList = parmProperties.getProperty();
for (KeyValuePair aProp : propList) {
System.out.println("Input Parameters Key: "
+ aProp.getKey());
}
}
}
}