cancel
Showing results for 
Search instead for 
Did you mean: 

To create calculated context attribute on runtime

siarhei_pisarenka3
Active Contributor
0 Kudos

Hello everybody

Are there any way to create calculated context attribute dynamically on runtime? I have a table with columns which are created dynamically with set of related context attributes. Now I'd like to make the attributes as calculated to increase a performance. How can I do this?

Thanx

Sergei

Accepted Solutions (1)

Accepted Solutions (1)

former_member182294
Active Contributor
0 Kudos

Hi,

You can dynamically assign calculated property but its not possible to generate the getter and seeter methods dynamically. So you need to predefine setter and getter methods.By using the method

<b>setCalculatedAttributeAccessor(IWDCalculatedAttributeAccessor)</b> you can specify the predefined calculated accessor for the attribute.

Regards

Abhilash

Message was edited by:

Abhilash gampa

Answers (2)

Answers (2)

Former Member
0 Kudos

Please check this

Regards, Anilkumar

Former Member
0 Kudos

Hi,

You can make use of setCalculatedAttributeAccssor() API on IWDAttributeInfo.

Regards, Anilkumar

Message was edited by:

Anilkumar Vippagunta

Message was edited by:

Anilkumar Vippagunta