Home
Extended ECM
API, SDK, REST and Web Services
Categories in Livelink.....
Mohammed_Abushmais
Hi every one, I want to Retrieve the categories I have defined in Livelink, I have tried to do that by two ways; using the LAPI SDK and Livelink Desktop COM components, but both were failed, both were return only one category called ??, although I am sure I have created more than one in LiveLink.I am using Livelink Server version is 9.0 (installed on Windows 2000 Server), and the version of Livelink Desktop Edition is 8.15. (Installed on a machine having Windows 2000 Professional).I have attached the code in both ways, please if any one can tell me what is wrong in my coding, why I used to get wrong results??????!!!!!!!!!!!!!!!!!!
Find more posts tagged with
Comments
Richard_Boyne_(boyne_(Delete)_891609)
In Livelink 9 there is no function to retrieve a list of user categories created throughout LivelinkThe sample code in your post uses the ListCategories function, this only returns user created categories on Livelink 8.x systems.In the Livelink 8.x user categories could be viewed from the category Admin page. Also, with LAPI 8.x the ListCategories function would retrieve a list of user defined categories.A major enhancement to category support occurred between Livelink 8.x and Livelink 9.0. User categories created on Livelink 8.x systems were upgraded to the new category support when Livelink 9 was installed. In Livelink 9 to see your categories, you navigate to and browse the container where you created them. Similarly, in LAPI 9.0 you navigate to the container where the categories were created and then use ListObjects to retrieve a list of them. From the online LAPI documentation: Section: "Livelink SDK API Developer's Reference Guide: Categories and Attributes"..."Note: The custom category and attribute functionality available in Livelink 8.x and earlier releases is restricted in Livelink 9.0. For more information, see additional node attribute support."...Section: "Livelink SDK API Developer's Reference Guide: Additional Node Attribute Support" ..."This section explains the functions that allow you to manage additional node attributes.OverviewLivelink 9.0 introduces a new method of category and attribute support that allows you to create custom categories and attributes. This new release provides enhancements such as multi-valued attribute support. In Livelink 9.0, use of the custom category and attribute functions found in 8.x or earlier releases is limited to maintaining the Livelink system attributes. System attributes are assigned to the category. The category is generated by default for any item created in Livelink and its attributes appear on the General tab of every Livelink item.""ListCategoriesThis function returns a RecArray value object containing one Record of information for the category....-regards.
eLink User
Message from Sathya Saravanan via eLinkHiAccessCategoryWS function returns all the Categories stored in theCategories volumeSathya-----Original Message-----From: knowledge@opentext.com [mailto:knowledge@opentext.com]On Behalf OfeLink Discussion: LAPI DiscussionSent: Tuesday, September 04, 2001 6:43 PMTo: eLink RecipientSubject: In Livelink 9 there is no function to retrieve a list of usercategories created throughout LivelinkIn Livelink 9 there is no function to retrieve a list of user categoriescreated throughout LivelinkPosted by boyne on 09/04/2001 10:40 AMIn Livelink 9 there is no function to retrieve a list of user categoriescreated throughout LivelinkThe sample code in your post uses the ListCategories function, this onlyreturns user created categories on Livelink 8.x systems.In the Livelink 8.x user categories could be viewed from the category Adminpage. Also, with LAPI 8.x the ListCategories function would retrieve a listof user defined categories.A major enhancement to category support occurred between Livelink 8.x andLivelink 9.0. User categories created on Livelink 8.x systems were upgradedto the new category support when Livelink 9 was installed.In Livelink 9 to see your categories, you navigate to and browse thecontainer where you created them. Similarly, in LAPI 9.0 you navigate tothe container where the categories were created and then use ListObjects toretrieve a list of them.>From the online LAPI documentation:Section: "Livelink SDK API Developer's Reference Guide: Categories andAttributes"..."Note: The custom category and attribute functionality available in Livelink8.x and earlier releases is restricted in Livelink 9.0. For moreinformation, see additional node attribute support."...Section: "Livelink SDK API Developer's Reference Guide: Additional NodeAttribute Support"..."This section explains the functions that allow you to manage additionalnode attributes.OverviewLivelink 9.0 introduces a new method of category and attribute support thatallows you to create custom categories and attributes. This new releaseprovides enhancements such as multi-valued attribute support. In Livelink9.0, use of the custom category and attribute functions found in 8.x orearlier releases is limited to maintaining the Livelink system attributes.System attributes are assigned to the category. The category is generated by default for any item created in Livelink and itsattributes appear on the General tab of every Livelink item.""ListCategoriesThis function returns a RecArray value object containing one Record ofinformation for the category....-regards.[To reply to this thread, use your normal e-mail reply function.]============================================================Topic: Categories in Livelink.....
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2560578&objAction=viewDiscussion
: LAPI Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Richard_Boyne_(boyne_(Delete)_891609)
In Livelink 9.0, categories can be created in the Enterprise Workspace, Personal Workspace, Projects, Folder and Livelink Category Workspace containers.In Livelink 9.0, the Livelink Category Workspace is a container in which only Category objects can be created.The function AccessCategoryWS provides access to the Livelink Category Workspace.From the LAPI Doc.:"AccessCategoryWS This function returns an Assoc value object containing the object and volume ID for the Livelink Category Workspace."If your Livelink users created all of their categories in the Livelink Category Workspace then a LAPI program could use AccessCategoryWS to navigate-to or access the Category Workspace followed by ListObjects to return all the Categories stored in the Categories volume for example,...if( status == LL_OK ){ // Access Category workspace status = LL_AccessCategoryWS( session, wsInfo );}if( status == LL_OK ){ // Get object id of the category workspace status = LL_AssocGetInteger( wsInfo, "ID", &objectID );}if( status == LL_OK){ // Get volume id of the category workspace status = LL_AssocGetInteger( wsInfo, "VolumeID", &volumeID );}// obtain a record array of category entriesif ( status == LL_OK){ status = LL_ListObjects(session, volumeID , objectID , 0, 0, LL_PERM_SEE, Categories );}if ( status == LL_OK){ status = LL_ValueGetLength( Categories, &CategoryCount );}// Process each category in the record array... for ( i=0; i < CategoryCount && status == LL_OK; i++){ // Get the next category record from the RecArry status = LL_TableGetRecord( Categories, i, CategoryRecord ); // ... process} ...
Marita_Ventura_(DCAdmin_(Delete)_2237520)
from where do i select AccessCategoryWSI'm logged in as the Admin and on the enterprise workspace.
Richard_Boyne_(boyne_(Delete)_891609)
RE: The LAPI "function AccessCategoryWS provides access to the Livelink Category Workspace", for a LAPI application.For Livelink Web access to the category workspace:1. Look for the "Browse Category Volume" link on the Livelink Admin page. That is, not in/under the Enterprise workspace.2. When you add/assign a category to an object in/under your Enterprise, a "Target Browse" window opens up to the category workspace/volume. You can select a category from the objects in that container or navigate in the Target-browse window to the Enterprise, Personal, Project or folder containers until you find the category that you want to assign to your object.