Hi Ninad,
You must have bound the "texts" property of the dropdown to some model node attribute. You can just get the elemnt at leadSelection of the model node and access the attribute.
If your context looks like this:
-Root
--ModelNode
---Text(bound to your dropdown)
then you can do
wdContext. nodeModelNode. getElementAt(wdContext.nodeModelNode.getLeadSelection()). getAttributeValue("Text");
Regards,
Satyajit.
Add a comment