SobekCM_Database.Save_New_Digital_Resource Method
Save a brand new bibliographic item to the SobekCM database
Namespace: SobekCM.Resource_Object.DatabaseAssembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)
Syntax
C# |
---|
public static bool Save_New_Digital_Resource(
SobekCM_Item ThisPackage,
bool TextFlag,
bool OnlineSubmit,
string Username,
string Usernotes,
int Userid
) |
Parameters
- ThisPackage
- Type: SobekCM.Resource_Object..::..SobekCM_Item
New bibliographic package to save to the SobekCM database
- TextFlag
- Type: System..::..Boolean
Flag indicates if there are text files asscociated with this item, which would case the text searchable flag to be set to true
- OnlineSubmit
- Type: System..::..Boolean
Flag indicates if this was submitted via the online interface or some other means
- Username
- Type: System..::..String
Name of the user that submitted this item, for the worklog history
- Usernotes
- Type: System..::..String
Any user notes entered while sumitting this item
- Userid
- Type: System..::..Int32
User id of the user that submitted this item, to associate with the user's submitted folder
Return Value
Type:
Boolean TRUE if successful, otherwise FALSE
Remarks
See Also