 | ICommenceDatabaseAddSharedItem Method |
Identical in function to AddItem except that it creates a shared item, provided that the database is connected and the category is shared. Otherwise a local item is created.
CAUTION: If the Category has mandatory fields, those fields must be filled in with subsequent EditItem commands. Use the GetFieldDefinition request to determine which fields are mandatory. Unpredictable results may follow if mandatory fields are left unfilled.
Namespace:
Vovin.CmcLibNet.Database
Assembly:
Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntaxbool AddSharedItem(
string categoryName,
string itemName,
string clarifyValue
)
Function AddSharedItem (
categoryName As String,
itemName As String,
clarifyValue As String
) As Boolean
Parameters
- categoryName
- Type: SystemString
Commence category name. - itemName
- Type: SystemString
Commence item name to add. - clarifyValue
- Type: SystemString
Commence clarify value.
Return Value
Type:
Booleantrue on success, inspect
GetLastError on failure.
See Also