Hello,
IN LAPI, when we create a document, attaching a category to it, does the attribute values of the category get stored in the audit table(dauditnew table).
When I run a LAPI program in java, the attribute values are not getting added to the dauditnew table. But when I do it manually thru livelink the dauditnew table has the attribute values.
I tried two different ways to upload a document in livelink, using LAPI.
1) Create the document and attach category to the document by calling a single LAPI function ( one shot ) .
doc.CreateObjectEx(volumeID, objectID, doc.OBJECTTYPE,
doc.DOCUMENTSUBTYPE, "logfile.txt", createInfo, objectInfo)
2) Create the document using one LAPI function. Attach category to the created document, using another LAPI function.
doc.CreateObjectEx(volumeID, objectID, doc.OBJECTTYPE,
doc.DOCUMENTSUBTYPE, "logfile.txt", createInfo, objectInfo)
doc.SetObjectAttributesEx(lobjectID, catVersion)
In both the above 2 cases attribute values are not getting added to the dauditnew table, but they are getting added to the llattrdata table .
Any idea , why attribute values are not getting stored in the daudit new table.
I appreciate any help in this matter.
Thanks,
Sunu
IN LAPI, when we create a document, attaching a category to it, does the attribute values of the category get stored in the audit table(dauditnew table).
When I run a LAPI program in java, the attribute values are not getting added to the dauditnew table. But when I do it manually thru livelink the dauditnew table has the attribute values.
I tried two different ways to upload a document in livelink, using LAPI.
1) Create the document and attach category to the document by calling a single LAPI function ( one shot ) .
doc.CreateObjectEx(volumeID, objectID, doc.OBJECTTYPE,
doc.DOCUMENTSUBTYPE, "logfile.txt", createInfo, objectInfo)
2) Create the document using one LAPI function. Attach category to the created document, using another LAPI function.
doc.CreateObjectEx(volumeID, objectID, doc.OBJECTTYPE,
doc.DOCUMENTSUBTYPE, "logfile.txt", createInfo, objectInfo)
doc.SetObjectAttributesEx(lobjectID, catVersion)
In both the above 2 cases attribute values are not getting added to the dauditnew table, but they are getting added to the llattrdata table .
Any idea , why attribute values are not getting stored in the daudit new table.
I appreciate any help in this matter.
Thanks,
Sunu