LAPI and UI - Adding Category to doc
Below is a description of my problem.When I add a document named audit.xml and attach a category (any category, here my category name is PTDI_DEV -13 attributes) to it, thru livelink UI, below is the result that I get from the database(dauditnew table)select auditstr,valuekey,value1,value2 from llw.dauditnew where dataid=821468I see all the values that I added to all my category attributes in the dauditnew table with the auditstr as 'AttrChange'.AUDITSTR,VALUEKEY,VALUE1,VALUE2AddVersion,audit.xml,1,Create,,Enterprise:audit.xml,audit.xmlCategoryAdded,310128,'PTDI_DEV',audit.xmlAttrChange,PTDI_DEV[1].BOX #[1],,'11'AttrChange,PTDI_DEV[1].BU#[1],,'005'AttrChange,PTDI_DEV[1].FEIN[1],,'94-1648752'AttrChange,PTDI_DEV[1].COMPANY NAME[1],,'ROBERT HALF INTERNATIONAL INC.'AttrChange,PTDI_DEV[1].EIN/ACCT #[1],,'11'AttrChange,PTDI_DEV[1].TAX TYPE[1],,'940'AttrChange,PTDI_DEV[1].TAX YEAR[1],,'****'AttrChange,PTDI_DEV[1].DOC DATE[1],,D/2008/1/6:0:0:0AttrChange,PTDI_DEV[1].DOC TYPE[1],,'DEPOSIT CYCLE'AttrChange,PTDI_DEV[1].STATE[1],,'AL'AttrChange,PTDI_DEV[1].FREQUENCY[1],,'QUARTERLY'AttrChange,PTDI_DEV[1].QUARTER[1],,'11'AttrChange,PTDI_DEV[1].PURPOSE[1],,'11'If I perform the same set of operation thru my LAPI program, I mean add a document and attach category with values to it, I see only two records going into the dauditnew table. The attribute values with the auditstr='AttrChange' as you see above is not there in the dauditnew table . But upon completion of the LAPI program, in livelink UI the document 'logfile.txt' is available in livelink with all the attribute values added to the category.select auditstr,valuekey,value1,value2 from llw.dauditnew where dataid= 821844AUDITSTR,VALUEKEY,VALUE1,VALUE2AddVersion,logfile.txt,1,Create,,Enterprise:logfile.txt,logfile.txtIs this the way LAPI would behave ideally. Or what would be wrong in what I am doing in my LAPI code.Is there a way to get the attribute values into dauditnew table thru LAPI.Looking forward for a replyThanks,Sunu