I know "import com.boomi.execution.ExecutionUtil;" has methods to get dynamicProcessProperties. I am trying to figure out which class has methods to get DynamicDocumentProperties. Any suggestion would be appreciated.
Hi Goutham Katangur
All the document properties are available in dataContext, which is an Atom class. Documentation for these classes is not available to users.
Below is the code snippet to retrieve document properties:
Properties props = dataContext.getProperties(i); props.setProperty("document.dynamic.userdefined.MY PROPERTY","Value"); //setting the dyn doc prop props.getProperty("document.dynamic.userdefined.MY PROPERTY");//getting the dyn doc prop
Below are the few helpful links to know more about dataContext and accessing document properties.
Document propertiesaccess with scripting
Document propertyscripting names .
Let me know if you need more information.
Retrieving data ...