mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='https://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='https://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Collapse <a href='https://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/aggregations' title='SobekCM.Engine_Library.Aggregations'>Aggregations Sub-Namespace</a>Aggregations Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/applicationstate' title='SobekCM.Engine_Library.ApplicationState'>ApplicationState Sub-Namespace</a>ApplicationState Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/configuration' title='SobekCM.Engine_Library.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Collapse <a href='https://sobekrepository.org/codehelp/engine_library/database' title='SobekCM.Engine_Library.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/database_item_result' title='Database_Item_Result Class'>Database_Item_Result</a>Database_Item_Result
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/database_title_result' title='Database_Title_Result Class'>Database_Title_Result</a>Database_Title_Result
Collapse <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database' title='Engine_Database Class'>Engine_Database</a>Engine_Database
Collapse <span Title='Engine_Database Methods' class='SobekSiteMapNoLink' >Methods</span>Methods
Aggregate_Statistics
Builder_Delete_Incoming_Folder
Builder_Edit_Incoming_Folder
Builder_Get_Folder_Module_Sets
Builder_Get_Incoming_Folder
Builder_Get_Recent_Updates
Builder_Log_Search
Delete_Thematic_Heading
Edit_Thematic_Heading
Get_Aggregation_Hierarchies
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_all_browse_paged' title='Get_All_Browse_Paged Method'>Get_All_Browse_Paged Method</a>Get_All_Browse_Paged Method
Get_All_Coordinate_Points_By_Aggregation
Get_All_Template_DefaultMetadatas
Get_All_User_Groups
Get_All_Web_Skins
Get_Builder_Settings
Get_IP_Restriction_Ranges
Get_Item_Aggregation
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_item_aggregation_browse_paged' title='Get_Item_Aggregation_Browse_Paged Method'>Get_Item_Aggregation_Browse_Paged Method</a>Get_Item_Aggregation_Browse_Paged Method
Get_Item_Aggregation_Counts
Get_Item_Aggregation_Metadata_Browse
Get_Item_Details
Get_Item_Group_Details
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_item_information' title='Get_Item_Information Method'>Get_Item_Information Method</a>Get_Item_Information Method
Get_Items_By_Coordinates
Get_Main_Aggregation
Get_Public_Folder_Browse
Get_Random_Item
Get_Settings_Complete
Get_Statistics_Lookup_Tables
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_user' title='Get_User Method'>Get_User Method</a>Get_User Method
Get_User_Folder_Browse
Get_User_Linked_Items_Stats
Get_Users_Linked_To_Items
Get_Viewer_Priority
Items_By_ALEPH_Number
Items_By_OCLC_Number
Log_Sent_Email
Perform_Metadata_Exact_Search_Paged
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/perform_metadata_search_paged' title='Perform_Metadata_Search_Paged Method'>Perform_Metadata_Search_Paged Method</a>Perform_Metadata_Search_Paged Method
Populate_Aggregation_Aliases
Populate_Code_Manager
Populate_Icon_List
Populate_Item_Lookup_Object
Populate_MIME_List
Populate_Statistics_Dates
Populate_Thematic_Headings
Populate_Translations
Populate_URL_Portals
Save_Aggregation_Statistics
Collapse <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/save_item_aggregation' title='Save_Item_Aggregation Method'>Save_Item_Aggregation Method</a>Save_Item_Aggregation Method
Save_Item_Group_Statistics
Save_Item_Statistics
Save_Portal_Statistics
Save_TopLevel_Statistics
Save_WebContent_Statistics
Search_Stop_Words
Send_Database_Email
Simple_Item_List
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/test_connection' title='Test_Connection Method'>Test_Connection Method</a>Test_Connection Method
Tracking_Online_Edit_Complete
Verify_Item_Lookup_Object
WebContent_Add_Milestone
WebContent_Add_Page
WebContent_Delete_Page
WebContent_Edit_Page
WebContent_Get_All
WebContent_Get_All_Pages
WebContent_Get_All_Redirects
WebContent_Get_Milestones
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/webcontent_get_page' title='WebContent_Get_Page Method'>WebContent_Get_Page Method</a>WebContent_Get_Page Method
WebContent_Get_Recent_Changes
WebContent_Get_Usage
WebContent_Get_Usage_Report
WebContent_Has_Usage
WebContent_Populate_All_Hierarchy
Expand <span Title='Engine_Database Properties' class='SobekSiteMapNoLink' >Properties</span>Properties
Expand <a href='https://sobekrepository.org/codehelp/engine_library/email' title='SobekCM.Engine_Library.Email'>Email Sub-Namespace</a>Email Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/endpoints' title='SobekCM.Engine_Library.Endpoints'>Endpoints Sub-Namespace</a>Endpoints Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/iprangeutilities' title='SobekCM.Engine_Library.IpRangeUtilities'>IpRangeUtilities Sub-Namespace</a>IpRangeUtilities Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/items' title='SobekCM.Engine_Library.Items'>Items Sub-Namespace</a>Items Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/json_client_helpers' title='SobekCM.Engine_Library.JSON_Client_Helpers'>JSON_Client_Helpers Sub-Namespace</a>JSON_Client_Helpers Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/navigation' title='SobekCM.Engine_Library.Navigation'>Navigation Sub-Namespace</a>Navigation Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/settings' title='SobekCM.Engine_Library.Settings'>Settings Sub-Namespace</a>Settings Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/sitemap' title='SobekCM.Engine_Library.SiteMap'>SiteMap Sub-Namespace</a>SiteMap Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/skins' title='SobekCM.Engine_Library.Skins'>Skins Sub-Namespace</a>Skins Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/solr' title='SobekCM.Engine_Library.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/extensionmethods' title='ExtensionMethods Class'>ExtensionMethods</a>ExtensionMethods
Expand <a href='https://sobekrepository.org/codehelp/engine_library/microservicehandler' title='MicroserviceHandler Class'>MicroserviceHandler</a>MicroserviceHandler
Expand <a href='https://sobekrepository.org/codehelp/engine_library/microservicerewriter' title='MicroserviceRewriter Class'>MicroserviceRewriter</a>MicroserviceRewriter
Expand <a href='https://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='https://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER
Code Details >> Engine_Library >> Database >> Engine_Database >> Save_Item_Aggregation Method >> Save_Item_Aggregation (String, String, String, String, Int32, String, Boolean, Boolean, String, Int32, String, String, Custom_Tracer)

Engine_Database.Save_Item_Aggregation Method (String, String, String, String, Int32, String, Boolean, Boolean, String, Int32, String, String, Custom_Tracer)



Save a new item aggregation with the basic details provided in the new aggregation form


Namespace: SobekCM.Engine_Library.Database
Assembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public static bool Save_Item_Aggregation(
	string Code,
	string Name,
	string ShortName,
	string Description,
	int ThematicHeadingID,
	string Type,
	bool IsActive,
	bool IsHidden,
	string ExternalLink,
	int ParentID,
	string Username,
	string LanguageVariants,
	Custom_Tracer Tracer
)

Parameters

Code
Type: System..::..String
Code for this item aggregation
Name
Type: System..::..String
Name for this item aggregation
ShortName
Type: System..::..String
Short version of this item aggregation
Description
Type: System..::..String
Description of this item aggregation
ThematicHeadingID
Type: System..::..Int32
Thematic heading id for this item aggregation (or -1)
Type
Type: System..::..String
Type of item aggregation (i.e., Collection Group, Institution, Exhibit, etc..)
IsActive
Type: System..::..Boolean
Flag indicates if this item aggregation is active
IsHidden
Type: System..::..Boolean
Flag indicates if this item is hidden
ExternalLink
Type: System..::..String
External link for this item aggregation (used primarily for institutional item aggregationPermissions to provide a link back to the institution's actual home page)
ParentID
Type: System..::..Int32
ID for the item aggregation parent
Username
Type: System..::..String
Username saving this new item aggregation, for the item aggregation milestones
LanguageVariants
Type: System..::..String
Details which language variants exist for this item aggregation
Tracer
Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering

Return Value

Type: Boolean
TRUE if successful, otherwise FALSE

Remarks

This calls the 'SobekCM_Save_Item_Aggregation' stored procedure in the SobekCM database

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )