The Explorer_Add_Object procedure creates a new SmartList object.
Explorer_Add_Object, Object_Dict_ID, Object_Type, Object_Name, Error
• Object_Dict_ID – An integer specifying the dictionary that is defining the new SmartList object, typically the ID of your integrating product.
• Object_Type – An integer specifying the unique ID for the new SmartList object. The object type must be unique within the scope of the dictionary defining the new object. You may want to create a constant that contains the object type.
• Object_Name – A string specifying the name of the new SmartList object. The name can be up to 80 characters long.
• Error – A returned integer containing the database error that was returned by SmartList when the new SmartList object was created. The following table lists the typical values returned:
Constant |
Value |
Error type |
---|---|---|
OKAY |
0 |
No Error |
DUPLICATE |
17 |
Duplicate Record |
You must create the new SmartList object before you can add new columns and Go To items to it.