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
VB 6 class wrapper for LiveLink
Steve_Garetto-Barnett_(x-disnco01admin_-_(deleted)
I knocked this up over the last week or so in order to build a bulk loader of documents into LiveLink v9. Given the dearth of workable VB code examples in the threads, I thought it would be worthwhile to post it.It's pretty basic, but could be used as a jumping-off point for someone getting started with LAPI, as it encapsulates the code to initialize LAPI and add documents to a given folder. Error trapping and variable inspection are supported.Hope it helps.Jeff WilsonDisney Consumer Products
Find more posts tagged with
Comments
***_****_(citlon01admin_-_(deleted))
The attached is a class object for adding manditory multiple categories to document. This uses the LL_CreateObjectEx instead of the ll_adddocument SDK function. The class has been changes to allow multiple categories to be used.To call the class object using the following.'myarray(2) is the category ID'myarray(1) is the category name'mayarray(0) is the value to be setDim tmpcol As New CollectionDim myarray(2) As String myarray(2) = "1289570"myarray(1) = "Folder Type"myarray(0) = "Property Standards"tmpcol.Add myarray myarray(2) = "1289570"myarray(1) = "Number"myarray(0) = "1234"tmpcol.Add myarraymyarray(2) = "1348762"myarray(1) = "Current Address"myarray(0) = "test address"tmpcol.Add myarray myarray(2) = "1290012"myarray(1) = "File #"myarray(0) = "test"tmpcol.Add myarray Dim test As New clsLiveLinkSet test = New clsLiveLink lStatus = test.connect("lltest", 2099, "Admin", "password") lStatus = test.AddDocumentEx("Test", "description", "c:\temp\test.txt", 1200750, tmpcol) Set test = Nothing