Bineesh

Setting up value type using AF SDK

Discussion created by Bineesh on Nov 23, 2011
Latest reply on Dec 7, 2011 by Bineesh

Hi,

 

I have created a UI to input attributes to an element template using C#.

 

I have set the following properties

 
AFAttributeTemplate hqAttrTempl1 = hqElemTemplate.AttributeTemplates.Add(strattrb1); 
hqAttrTempl1.Description = strattrdesc;

hqAttrTempl1.DataReferencePlugIn = hqsystem.DataReferencePlugIns[strattrdataref];

hqAttrTempl1.DefaultUOM = hqsystem.UOMDatabase.UOMs[strattrdefaultUOM];

 Now I have to set the ValueType coming from front end.

 

Could you please provide a sample code;

 

Thanks,

 

Bineesh

Outcomes