public static TM_Xml_Database                    reloadGuidanceExplorerObjects(this TM_Xml_Database tmDatabase)
 {
     tmDatabase.setGuidanceExplorerObjects();
     tmDatabase.reCreate_GuidanceItemsCache();
     return(tmDatabase);
 }
 public static guidanceExplorer xmlDB_Save_GuidanceExplorer(this guidanceExplorer guidanceExplorer, TM_Xml_Database tmDatabase, bool reloadGuidanceItemsMappings)
 {
     if (tmDatabase.UsingFileStorage)
     {
         var caption = guidanceExplorer.library.caption;
         var libraryPath =  tmDatabase.xmlDB_LibraryPath(caption);
         "[xmlDB_Save_GuidanceExplorer] saving GuidanceExplorer '{0}' to {1}'".debug(caption, libraryPath);
         if (libraryPath.notNull())
         {
             guidanceExplorer.Save(libraryPath);
             if (reloadGuidanceItemsMappings)
                 tmDatabase.setGuidanceExplorerObjects();
             return guidanceExplorer;
         }
         "[xmlDB_Save_GuidanceExplorer] could not find libraryPath for GuidanceExplorer: {0} - {1}".error(guidanceExplorer.library.caption, guidanceExplorer.library.name);
     }
     return null;
     //TM_Xml_Database.Current.mapGuidanceItemsViews();
 }