Hello Elisabeth,
Instead of using the CreateObjectExfunction followed by CreateVersion function, you can use the AddDocumentfunction. You will see that it ignores categories and attributes as stated inthe Remarks section of the documentation:
Remarks
The AddDocument function is a shortcut combining the CreateObjectEx andCreateVersion functions, specifically designed to add a document object only.This function does not provide attribute support. If you require attributefunctionality, use the CreateObjectExand CreateVersion or CreateVersionEx functions tocreate a Livelink document object.
I hope this helps.
Howard
---
Howard Pell
Senior Technical Educator Liaison, SpecialProjects
Open Text Corporation
www.opentext.com
Office: (519) 888-7111 Ext. 2203
Mobile (519) 574-2248
From: eLinkDiscussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com] Sent: 2009-Dec-11 7:02 AMTo: eLink RecipientSubject: not inherit thecategories to create a document within a folder that has categories
not inherit the categories to create a document within a folder that has categories
Posted by elisabeth.dominguez@atosorigin.com (Dominguez, Elisabeth) on 2009/12/11 07:00
Hello, I need someone help me please. I'm doing a load scripts livelink documentation through the API. I wonder how I can create a docuemento in a folder that has categories and that it would not inherit. I attached the code that I do, but inherits