This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Getting property 'data_type' and data-source

Amiram Deutsch - Monday, November 14, 2011 4:45 AM:

Hi,

Would somebody have a simple way of getting Items property attributes like label, data_type and data_source?

Didn't find anything in the documentation or elsewhere

Thanks,

Amiram



fli - Monday, November 14, 2011 11:34 AM:

Hi,

I got this from the API Reference

public string getPropertyAttribute( string propertyName, string attributeName, string defaultValue, string lang )

Christoffer



Amiram Deutsch - Monday, November 14, 2011 1:34 PM:

Thanks Christoffer.

I thought that would do the trick. I already tried that and got a null value.

Now I'm thinking that I used the wrong property name.

I'll try that again and let you know.

Thanks Again,

Amiram

 

 

 


 



aaasam - Tuesday, December 13, 2011 2:55 PM:

Christoffer,

I am amazed at your depth of knowledge and willingness to help users and coders in this forum.

Kudos to you!

-Scott



gkhn.topcu - Monday, December 12, 2011 3:21 AM:

I can't reach all attributes.Its allow me to get keyed_name and id. --> getPropertyAttribute('parts_model','keyed_name')