Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
LAPI_DOCUMENTS.CreateObjectEx() parameters description
Julia_Kuznetsov_(modususer1_-_(deleted))
There is no information on what parameters this method expects (other then the data types) in LAPI help.I can guess most of these parameters should be somewhat similar to LAPI_DOCUMENTS.CreateDocument() parameters, but there are 2 extra int param (p3 & p4) for CreateObjectEx that don't have any matching param in AddDocument().Please HELP!
Find more posts tagged with
Comments
Richard_Boyne_(boyne_(Delete)_891609)
From the online LAPI documentation For CreateaObjectEx:...Java Method Declarationpublic int CreateObjectEx( int parentVolID, int parentID, int objType, int objSubType, String name, LLVALUE createInfo, LLValue objectInfo )...Input Parameterssession - the session handle as returned by the SessionAllocEx function. parentVolID - the volume ID of the parent of the new object. parentID - the object ID of the parent of the new object; to add an object at the root level of the Enterprise Workspace, obtain the object ID using the AccessEnterpriseWS function; to add an object at the root level of your Personal Workspace, obtain the object ID using the AccessPersonalWS function. objType - the type of object to create, specified by OBJECTTYPE. objSubType - the subType of the object to create, specified by one of the Object Type Constants. name the name of the new object; must be unique under the specified parent object. createInfo - a value object of type Assoc, created using the Value API, containing the creation information for the object; the createInfo Assoc can contain the three Assocs described below. --------see the complete description of CreateObjectEx in the LAPI online documentation. Also, see the discussion of Livelink object types and subtypes in the Library API Overview section of the LAPI online documentation.regards
Julia_Kuznetsov_(modususer1_-_(deleted))
Thanks a lot for the information about CreateObjectEx parameters.But there are still some unknowns for me, such as the contents of createInfo structure (i'm not able to find the description for it eihter in LAPI 0n-line doc)...I'm wondering if i have a different version of LAPI documentation, since in the copy (from SDK 9.0.0.1) I have, there is only a little mentioning of CreateObjectEx() function while describing AddDocument function.Also, there is no search option available in on-line documentation which makes it very hard to find any info...
Richard_Boyne_(boyne_(Delete)_891609)
Among the ways to bring up the LAPI online documentation you can probably enter the URL: ...\builder\documentation\lapi\frameset.htmlwhere "..." is the SDK/builder install directory.In the table of contents frame on the left side, there should be a list of links. Next to the links are triangle "buttons". Selecting a triangle-button expands that section's table of contents, displaying links to individual functions.In the Table of Contents frame, select the triangle-button next to the "Library API" link. This should expand the table of contents for the Library API section. In the expanded TOC, select the CreateObjectEx link. The description for the CreateObjectEx function should now be displayed in the right frame. The latter part of this description includes what the createInfo parameters needs.You could also enter,...\builder\documentation\lapi\lib_b_create.htmlinto your browser to bring up the page describing CreateObjectEx directly. (where "..." is the builder/sdk install directory)regards.