cancel
Showing results for 
Search instead for 
Did you mean: 

Attributes not visible in custom method

Former Member
0 Kudos

Hi,

I have created a WD component wherein i have defined few attributes (in attribute tab). When i'm accessing these variables in a custom method in same view these are not visible there. When im including same variables in interface of this method it is not allowing me change values of these variables. However i'm not seeing anyway in interface to change these importing params to 'By reference' in fact i'm not sure if this would be solution of my problem. Please let me know if any body has any amswer.

Rgds

Sudhanshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi sudhanshu,

When you add Attributes in view or controller and you want to access those Attributes

Example:- you added an Attribute like this

mo_attr type char20.

if you want to access in Method then call like this it works

wd_this->mo_attr = 'SUDHANSHU'.

what i understood from your question.

if not this elaborate the question.

Regards

Madhukiran.

Former Member
0 Kudos

that is correct

im new in WD so missed it.

Thank you for your time !

Answers (0)