An obvious suggest maybe but have youtried passing 0 (zero) instead? In creeky old VB that is all the constantrepresents.
Phil
From:eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: 15 July 2009 14:03To: eLink RecipientSubject: 'ATTR_DATAVALUES' has notbeen declared
'ATTR_DATAVALUES' has not been declared
Posted by siyong.liu@siemens.com (Liu, Siyong) on 2009/07/15 08:59
I am trying to retrieve the values for the Livelink attribute 'Vendor'. I'm using JScript.NET to do the coding. The code is as follows: var status2:int = attributes.AttrGetValues(catVersion,"Vendor",ATTR_DATAVALUES,null,attrValue). However, I got an error msg: Variable 'ATTR_DATAVALUES' has not been declared. I tried replacing ATTR_DATAVALUES with LL_ATTR_DATAVALUES and I got the same error. I also tried using LAPI_ATTRIBUTES.ATTR_DATAVALUES and I got the error: Type 'com.opentext.api.LAPI_ATTRIBUTES' does not have such a static member. Does anyone have a clue what is wrong? Thanks!