Hi-
I have an old LAPI app that I have not yet converted to Webservices. What I need to do, is to somehow assign a category to an object. Just the category, no attributes assigned. Is this possible? Below is the category definition that I am passing to CreateObjectEx:
{A<1,?,data=A<1,?,ID=1,Values={A<1,?,2=A<1,?,ID=2,Values={?}>>}>,catID=A<1,?,ID=154865,DisplayName=CatOnly,version=1,type=0>,definition=A<1,?,Required=false,DisplayName=CatOnly,ValueTemplate=A<1,?,ID=1,Values={A<1,?,2=A<1,?,ID=2,Values={?}>>}>,Children={A<1,?,Required=false,DisplayName=Text,Length=32,DisplayLen=32,Type=-1,NumRows=1,ID=2,RegionName=Attr_154865_2,MaxRows=1,Search=true,FixedRows=true>},Type=-18,NumRows=1,ID=1,MaxRows=1,NextID=3,FixedRows=true,Name=CatOnly>>}
Note that there is an attribute defined with the category (above info object from FetchCategoryVersion). My code works fine if I set an attribute value, just wondering what I am doing wrong.
Thanks!
Kevin