Skip to Content
avatar image
Former Member

Regarding Attribute type

Hi

I am Declaring a Context attribute value of type Say "Name" as String.

Is it possible that can i retrieve the data type of the "Name" at Run Time.

If Possible please How to achieve that...

Thanks In Advance...

Regards

Chandran S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 23, 2007 at 06:54 AM

    Hi

    Yes you can get the datatype of the Attribute

    using

    IWDAttributeInfo info = wdContext.node<nodename>().getNodeInfo().getAttribute( "<Name of the attribute>");

    String str = info.getgetDataType().getName();

    Regards

    Abhimanyu L

    Add comment
    10|10000 characters needed characters exceeded