Hello,
I hope somebody can help me with my problem. We are now on NW04s and now we can make use of the fact that we don't need the ACF component anymore if you use the "native" version of the interactive form. I am playing around with it and i can't get the solution how to fill a drop-down list in my IF. In the ActiveX version a used a SAP Help drop-down list and use this piece of code to populate my drop-down list:
// Setup contents of a drop down list dynamically
IWDAttributeInfo subtypeInfo =
wdContext.nodePDFdata().getNodeInfo().getAttribute("Subtype");
ISimpleTypeModifiable subtypeType =
subtypeInfo.getModifiableSimpleType();
IModifiableSimpleValueSet subtypeValueset =
subtypeType.getSVServices().getModifiableSimpleValueSet();
//Loop over alle gevonden verlofsoorten
for (int i = 0; i < noVerlofsoorten; i++) {
thisVerlofEl =
wdContext.nodeOutputESSSubtype().nodeSubtytab().getSubtytabElementAt(i);
subtypeValueset.put(thisVerlofEl.getSubty(),thisVerlofEl.getSubtytext());
}
When i use this piece of code within the native variant of my interactive form, it's not working.
I hope somebody can tell me how to solve this problem or where i can find some documentation.
Kind regards,
Maarten.