{"id":4035,"date":"2015-06-16T22:04:56","date_gmt":"2015-06-16T14:04:56","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=4035"},"modified":"2024-07-04T15:36:07","modified_gmt":"2024-07-04T07:36:07","slug":"updating-the-config","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/updating-the-config\/","title":{"rendered":"Updating the Configuration"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.5.1 and later of IFS OI Server. For more, see \u00a0<a href=\"#Release_History\">Release History<\/a>.\u00a0<\/p>\n<p class=\"intro-text\">There will be occasions where you will want to update the IFS OI Server database in bulk, rather than manually adding individual items in IFS OI Server Management.\u00a0\u00a0You can do this by exporting the existing data to a specially formatted Excel\u00ae spreadsheet. The spreadsheet is formatted so that the Data Dictionary has the required information to update your information model directly in the database.<\/p>\n<p class=\"intro-text\">Updating the\u00a0data in the IFS OI database is a simple 3-step process.<\/p>\n<ol class=\"intro-text\">\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/exporting-your-config\/\">Export the existing IFS OI Server data<\/a>.<\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/tips-on-filling-in-the-import-spreadsheet\/\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"true\" data-slimstat-type=\"2\">Update the spreadsheet<\/a>.<\/li>\n<li>Create the zip file.<\/li>\n<li>Import the file.<\/li>\n<\/ol>\n<p class=\"intro-text\">Let\u2019s look at this process, step by step.<\/p>\n<hr \/>\n<h2 class=\"page-subheading\"><span id=\"Step_1_Export_ablank_spreadsheet\">Step 1. Export existing data<\/span><\/h2>\n<p class=\"intro-text\">Because both the format and content of the import file is crucial to a successful update, we\u2019ve made it easy for you to download the data you need to update. All you need to do is download or export the configuration data from IFS OI Server Management.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29759\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all.png\" alt=\"\" width=\"1078\" height=\"833\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all.png 1078w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all-768x593.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all-150x116.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/export-452-all-48x37.png 48w\" sizes=\"auto, (max-width: 1078px) 100vw, 1078px\" \/><\/a>\u00a0<\/p>\n<ol class=\"intro-text\">\n<li>In IFS OI Server Management, click the Import\/Export icon in the navigation bar.<\/li>\n<li>Select the <strong>Export<\/strong>\u00a0option from the middle panel.<\/li>\n<li>Choose the '<strong>Select All<\/strong>' option. \u00a0<br \/>\nAlternatively, you can select the specific objects you want to export (<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/tips-on-filling-in-the-import-spreadsheet\/#Tip_4_Understand_object_dependencies\">read about dependencies here<\/a>).<\/li>\n<li>Click the <strong>Export Server Data<\/strong>\u00a0button.<\/li>\n<\/ol>\n<p class=\"intro-text\">The export file will download and you will be prompted to save it to your computer.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/exporting-your-config\/\">Exporting Your\u00a0Configuration<\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\"><span id=\"Step_2_Fill_in_the_spreadsheet\">Step 2. Update the spreadsheet<\/span><\/h2>\n<p class=\"intro-text\">The key to a successful import is to make sure that everything in the spreadsheet is filled in correctly.\u00a0<\/p>\n<p class=\"left-bar\">Read more:\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/tips-on-filling-in-the-import-spreadsheet\/\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"true\" data-slimstat-type=\"2\">Tips on Filling in the Import Spreadsheet<\/a><\/p>\n<p class=\"intro-text\">The important part in an update is to make sure you have the <strong>Global Id<\/strong> columns filled in. These correspond to the GUIDs in the database that determine the records that will be updated.\u00a0<\/p>\n<p class=\"note\">Note: The GUID is exported from the database into the Global Id column. Do not change this, or the database will not recognise the row.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4037 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids.png\" alt=\"guids\" width=\"1177\" height=\"370\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids.png 1177w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids-150x47.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids-768x241.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/guids-48x15.png 48w\" sizes=\"auto, (max-width: 1177px) 100vw, 1177px\" \/><\/a><\/p>\n<p class=\"intro-text\">On the header rows in the spreadsheet, there are <strong>help comments<\/strong> for every column. This should provide you with enough information on what should be entered in the column. Click the little red comment indicator on the header row to see the help.\u00a0<\/p>\n<p class=\"left-bar\">Related: You can\u00a0find further information on crucial aspects of the Data Dictionary in the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/\">Server Primers<\/a> section.<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<hr \/>\n<h2 class=\"page-subheading\"><span id=\"Step_3_Create_the_zip_file\">Step 3. Create the zip file<\/span><\/h2>\n<p class=\"intro-text\">This step only applies if you want to import images. To create the zip file for importing images:<\/p>\n<p class=\"intro-text\">1. If you're importing images for the first time, create a folder named\u00a0<em>'images'<\/em>. If the\u00a0folder was present in your export data, use that folder.\u00a0<em> \u00a0<\/em><\/p>\n<p class=\"intro-text\">2. Inside the\u00a0<em>images<\/em>\u00a0folder, ensure there is a folder for each image group. The name of the image group folder must match the name of the image group.<\/p>\n<p class=\"intro-text\">3. Place the images inside the relevant image group folder.<\/p>\n<p class=\"intro-text\">4. Zip together the\u00a0<em>images<\/em>\u00a0folder and the modified .xslx file. At the top level, your zip file should look like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/05\/image002-1.png\" \/>\u00a0<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\"><span id=\"Step_3_Import_the_spreadsheet\">Step 4. Import the spreadsheet<\/span><\/h2>\n<p class=\"intro-text\">When importing, IFS OI Server first checks the file for errors and then asks for your permission to proceed. This is a fail-safe mechanism to ensure no errors propagate into the system.<\/p>\n<p class=\"note\">Note: During import, IFS OI Server Management is locked and other users will not be able to make any changes until the import has finished and the session is released.<\/p>\n<p class=\"intro-text\">The first part of the import process is similar to the export process:<\/p>\n<p class=\"intro-text\">1. In IFS OI Server Management, click the Import\/Export icon in the navigation bar.<\/p>\n<p class=\"intro-text\">2. Select the \u201cImport\u201d option from the middle panel.<\/p>\n<p class=\"intro-text\">3. Drag and drop your file into the box, or click the box to browse for your file and upload it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29869\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452.png\" alt=\"\" width=\"1077\" height=\"399\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452.png 1077w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452-768x285.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452-150x56.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/import-452-48x18.png 48w\" sizes=\"auto, (max-width: 1077px) 100vw, 1077px\" \/><\/a><\/p>\n<p class=\"intro-text\">The process continues as soon as IFS OI Server detects your file. First, the file is checked for errors and an overview of the upload is displayed. The overview tells you how many rows have been counted for each worksheet, and highlights any errors that may be encountered. The overview for an error-free spreadsheet looks something like this:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview.png\" rel=\"lightbox[3888] lightbox-3\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"true\" data-slimstat-type=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"border-image alignnone wp-image-3917 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview.png\" alt=\"workbookoverview\" width=\"686\" height=\"791\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview.png 686w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview-130x150.png 130w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview-31x36.png 31w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/workbookoverview-42x48.png 42w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/a><\/p>\n<p class=\"intro-text\">You must explicitly allow the import to proceed. You may continue to import a file with errors, but the system will disregard the errors and\u00a0only import the correctly filled in sheets.<\/p>\n<p class=\"intro-text\">There are 2 import options you can choose from:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Create Only<\/strong>. Objects will only be ADDED to the database if they do not already exist. No existing objects will be updated.<\/li>\n<li><strong>Create and Update<\/strong>. Existing objects will be UPDATED with data from the import file, and new objects will be ADDED\u00a0if they do not exist.<\/li>\n<\/ul>\n<p class=\"intro-text\">4. For the scenario where you are updating existing records, select the \u201cCreate and Update\u201d option, and then click <strong>Import<\/strong>. Or if you are only adding new records, select\u00a0\"Create Only\".<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly.png\" rel=\"lightbox[3888] lightbox-4\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"true\" data-slimstat-type=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"border-image alignnone wp-image-3911 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly.png\" alt=\"createonly\" width=\"688\" height=\"207\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly.png 688w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly-150x45.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/createonly-48x14.png 48w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p class=\"intro-text\">5. When the import has finished, a success message appears in the top right corner.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess.png\" rel=\"lightbox[3888] lightbox-5\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"true\" data-slimstat-type=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3912\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess.png\" alt=\"importsuccess\" width=\"310\" height=\"60\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess.png 310w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess-150x29.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsuccess-48x9.png 48w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/a><\/p>\n<p class=\"intro-text\">6. Scroll to the bottom of the screen to see the <strong>Import Summary<\/strong>.<\/p>\n<p class=\"intro-text\">This will show you the number of rows imported or updated per worksheet.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary.png\" rel=\"lightbox[3888] lightbox-6\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"true\" data-slimstat-type=\"1\"><img loading=\"lazy\" decoding=\"async\" class=\"border-image alignnone wp-image-3920 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary.png\" alt=\"importsummary\" width=\"411\" height=\"718\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary.png 411w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary-86x150.png 86w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary-14x24.png 14w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary-21x36.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/06\/importsummary-27x48.png 27w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/a><\/p>\n<p class=\"intro-text\">7. At this point, you can download the updated file. The downloaded file will be exactly the same as the file you imported, except that the Global Id\u00a0for the new rows in the spreadsheet will be updated. It\u2019s a good idea to\u00a0download the file if you intend to re-use your spreadsheet to update the database. This file will retain any formulas you used to calculate fields.<\/p>\n<div class=\"best-prac\"><i class=\"fa fa-trophy fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">BEST PRACTICE<\/span><\/p>\n<p class=\"best-prac-desc\">You should download the file if you intend to re-use your spreadsheet to update the database. The downloaded file\u00a0will be exactly the same as the file you imported, except that the GUIDs (Global ID) will be updated in the spreadsheet. The spreadsheet\u00a0will retain any formulas you used to calculate fields.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\">Otherwise, you can just simply close the session (click \u201cClose session\u201d).\u00a0<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"page-subheading\"><span id=\"What_if_I_get_errors\">What if I get errors?<\/span><\/h2>\n<p class=\"intro-text\">Errors and warnings are commonly encountered during processing and import, usually associated with the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/tips-on-filling-in-the-import-spreadsheet\/\">spreadsheet being filled in incorrectly<\/a>.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/server-import-errors\/\">Server Import Errors<\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li class=\"overview\">Updating the Configuration 4.5.1 (this release)\n<ul class=\"overview\">\n<li>Added the ability to export images<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/updating-the-config\/updating-the-configuration-4-4-5\/\">Updating the Configuration 4.4.5<\/a>\n<ul class=\"intro-text\">\n<li>Added export options<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/updating-the-config\/updating-the-configuration-4-3-1\/\">Updating the Configuration 4.3.1<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There will be occasions where you will want to update the IFS OI Server database in bulk, rather than manually adding individual items in IFS OI Server Management.  You can do this by exporting the existing data to a specially formatted Excel spreadsheet. The spreadsheet is formatted so that the Data Dictionary has the required information to update your information model directly in the database.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/importexport\/updating-the-config\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":18716,"parent":3691,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[467,474,241,239],"class_list":["post-4035","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-configuration","tag-importexport","tag-spreadsheet","tag-updating-the-database","Version-4-5-1","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/4035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=4035"}],"version-history":[{"count":3,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/4035\/revisions"}],"predecessor-version":[{"id":67781,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/4035\/revisions\/67781"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3691"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/18716"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=4035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=4035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=4035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}