Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. vqh
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 47
    • Groups 0

    vqh

    @vqh

    0
    Reputation
    200
    Profile views
    47
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 24

    vqh Unfollow Follow

    Latest posts made by vqh

    • RE: Spaltenüberschriften in Reports - dynamic_property_callback

      Hallo JS,

      in i-doit werden alle Attribute die mit einer Maßeinheit gekoppelt sind mit der kleinsten Einheit umgerechnet und in die Datenbank geschrieben. Deshalb muss das von dir ausgewählte Attribut extra umgerechnet werden und das machen wir über den Weg das wir während der Ausgabe eine Funktion aufrufen die im Alias steckt. Deshalb bekommst du bei deinem Beispiel die Zahl 85 wenn du den Alias überschreibst.
      Um dein Problem zu lösen kannst du einfach die Language Konstante die im Alias steckt ersetzen.

      Beispiel:
      Von 'isys_cmdb_dao_category_g_memory::dynamic_property_callback_total_capacity::isys_catg_memory_list__isys_obj__id::LC__CATG__CMDB_MEMORY_TOTALCAPACITY'
      Nach 'isys_cmdb_dao_category_g_memory::dynamic_property_callback_total_capacity::isys_catg_memory_list__isys_obj__id::RAM-GesamtKapazität'

      Ich hoffe das ich dir dabei helfen konnte.

      Gruß,
      vqh

      posted in Betrieb
      V
      vqh
    • RE: Report manager - liste aller server plus eine custom kategorie - sql error

      Hallo frisbee23,

      das Problem ist das wir noch nicht PHP 7.1 kompatibel sind. Laut den Systemvoraussetzungen aus unserer Knowledge Base (https://kb.i-doit.com/display/de/Systemvoraussetzungen) ist PHP 7.1 noch nicht dabei.
      Das eigentliche Probleme konnte ich zwar herausfinden aber das würde dir glaub ich nicht viel weiterhelfen da es noch andere Stellen gibt die nicht PHP 7.1 konform sind.
      Wir hatten glaub ich auch dein Support Ticket schon verarbeitet und entsprechende Tickets erstellt für die PHP 7.1 Kompatibilität.

      MfG,
      Quyen

      posted in Betrieb
      V
      vqh
    • RE: Problem bei der Ausgabe mit dem Dokumentemodul (Darstellungsschwierigkeiten)

      Hallo Christoph,

      wieviele Einträge sind denn in dieser Kategorie? Welche Version von i-doit und vom Dokumente Add-On verwendest du?

      Gruß,
      vqh

      posted in Betrieb
      V
      vqh
    • RE: Controller search_index fullindex PHP Fatal error Class not found

      Hallo Dominic,

      danke für die Information. Anscheinend wurde in der i-doit 1.9.2 Open Version eine Abfrage nicht hinzugefügt die das verhindern sollte.
      Versuch mal folgendes:
      1. Erstelle ein Backup von der Datei [i-doit Root Verzeichnis]/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_location.class.php
      2. Öffne die Datei [i-doit Root Verzeichnis]/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_location.class.php
      3. Ersetz die Zeilen 232 - 234 mit folgenden Code Zeilen:

      $enclosureSorting = 'desc';
      
      if (class_exists('isys_cmdb_dao_category_s_enclosure'))
      {
          $enclosureSorting = isys_cmdb_dao_category_s_enclosure::instance(isys_application::instance()->database)
              ->get_data(null, $parentObjectId)
              ->get_row_value('isys_cats_enclosure_list__slot_sorting');
      }
      

      4. Speichere die Änderungen und schließe die Datei
      5. Führe den Controller für den Suchindex erneut auf

      Ich hoffe das dies die Lösung für das Problem ist.

      Gruß,
      vqh

      posted in Entwicklung
      V
      vqh
    • RE: Changing Language in json api

      Hello ali,

      here is an example how you can get the global category General and Model via API:

      API Call:

      [
        {
             params:
             {
                 apikey: 12345,
                 category: 'C__CATG__GLOBAL',
                 objID: 9999
             },
             method: 'cmdb.category.read',
             version: '2.0'
        },
        {
             params:
             {
                 apikey: 12345,
                 category: 'C__CATG__MODEL',
                 objID: 9999
             },
             method: 'cmdb.category.read',
             version: '2.0'
        }
      ]
      

      And here is the response you would get:

      [
          {
              "jsonrpc": "2.0",
              "result": [
                  {
                      "id": "3307",
                      "objID": "3307",
                      "title": "Test Client 1",
                      "status": {
                          "id": "2",
                          "title": "Normal",
                          "const": "",
                          "title_lang": "LC__CMDB__RECORD_STATUS__NORMAL"
                      },
                      "created": "2017-01-10 13:28:24",
                      "created_by": "admin",
                      "changed": "2017-08-29 15:06:11",
                      "changed_by": "admin",
                      "purpose": null,
                      "category": null,
                      "sysid": "SYSID_1484051304",
                      "cmdb_status": {
                          "id": "6",
                          "title": "in operation",
                          "const": "C__CMDB_STATUS__IN_OPERATION",
                          "title_lang": "LC__CMDB_STATUS__IN_OPERATION"
                      },
                      "type": {
                          "id": "10",
                          "title": "Client",
                          "const": "C__OBJTYPE__CLIENT",
                          "title_lang": "LC__CMDB__OBJTYPE__CLIENT"
                      },
                      "tag": null,
                      "description": ""
                  }
              ],
              "error": null,
              "id": null
          },
          {
              "jsonrpc": "2.0",
              "result": [
                  {
                      "id": "166",
                      "objID": "3307",
                      "manufacturer": {
                          "id": "15",
                          "title": "Acer",
                          "const": null,
                          "title_lang": "Acer"
                      },
                      "title": {
                          "id": "157",
                          "title": "AL2223W",
                          "const": null,
                          "title_lang": "AL2223W"
                      },
                      "productid": "ProductID-1010101",
                      "service_tag": "Service-Tag 020202",
                      "serial": "abcdefg",
                      "firmware": "1.0",
                      "description": ""
                  }
              ],
              "error": null,
              "id": null
          }
      ]
      

      I hope that this is helpful to you.

      best regards,
      vqh

      posted in Development
      V
      vqh
    • RE: Changing Language in json api

      Hello ali,

      thank you for using our json api. Unfortunately that is not possible, because the keys which you want to change are just attribute keys which serves only as an identifier of the attribute from the category.
      If you want the get detailed info about the category we have a separate api call which is: cmdb.category_info.read
      For Example:

      
      {
          "params": 
           {
                "apikey": "12345", 
                "language": "en", 
                "category": "C__CATG__CPU"
           }, 
           "method": "cmdb.category_info.read", 
           "version": "2.0"
      }
      
      

      Response:

      
      {
          "jsonrpc": "2.0",
          "result": {
              "title": {
                  "title": "Title",
                  "info": {
                      "primary_field": false,
                      "type": "text",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_TITLE",
                      "description": "Title"
                  },
                  "data": {
                      "type": "text",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__title"
                  },
                  "ui": {
                      "type": "text",
                      "default": null,
                      "params": {
                          "p_nMaxLen": 255
                      },
                      "id": "C__CATG__CPU_TITLE"
                  },
                  "format": null,
                  "check": {
                      "mandatory": false
                  }
              },
              "manufacturer": {
                  "title": "Manufacturer",
                  "info": {
                      "primary_field": false,
                      "type": "dialog_plus",
                      "backward": false,
                      "title": "LC__CATG__STORAGE_CONTROLLER_MANUFACTURER",
                      "description": "Manufacturer"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__isys_catg_cpu_manufacturer__id",
                      "source_table": "isys_catg_cpu_manufacturer",
                      "references": [
                          "isys_catg_cpu_manufacturer",
                          "isys_catg_cpu_manufacturer__id"
                      ],
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "popup",
                      "params": {
                          "p_strPopupType": "dialog_plus",
                          "p_strTable": "isys_catg_cpu_manufacturer"
                      },
                      "default": "-1",
                      "id": "C__CATG__CPU_MANUFACTURER"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "dialog_plus"
                      ]
                  },
                  "check": {
                      "mandatory": null
                  }
              },
              "type": {
                  "title": "Type",
                  "info": {
                      "primary_field": false,
                      "type": "dialog_plus",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_TYPE",
                      "description": "Type"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__isys_catg_cpu_type__id",
                      "source_table": "isys_catg_cpu_type",
                      "references": [
                          "isys_catg_cpu_type",
                          "isys_catg_cpu_type__id"
                      ],
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "popup",
                      "params": {
                          "p_strPopupType": "dialog_plus",
                          "p_strTable": "isys_catg_cpu_type"
                      },
                      "default": "-1",
                      "id": "C__CATG__CPU_TYPE"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "dialog_plus"
                      ]
                  },
                  "check": {
                      "mandatory": null
                  }
              },
              "frequency": {
                  "title": "CPU frequency",
                  "info": {
                      "primary_field": false,
                      "type": "float",
                      "backward": false,
                      "title": "LC__CMDB__CATG__FREQUENCY",
                      "description": "CPU frequency"
                  },
                  "data": {
                      "type": "float",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__frequency",
                      "source_table": "isys_catg_cpu_frequency",
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "text",
                      "default": null,
                      "params": {
                          "p_strPlaceholder": "0.00",
                          "p_strTable": "isys_catg_cpu_frequency",
                          "p_strClass": "input-medium"
                      },
                      "id": "C__CATG__CPU_FREQUENCY"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "convert",
                          [
                              "frequency"
                          ]
                      ],
                      "unit": "frequency_unit"
                  },
                  "check": {
                      "mandatory": false
                  }
              },
              "frequency_unit": {
                  "title": "CPU frequency unit",
                  "info": {
                      "primary_field": false,
                      "type": "dialog",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_FREQUENCY_UNIT",
                      "description": "frequency unit"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__isys_frequency_unit__id",
                      "source_table": "isys_frequency_unit",
                      "references": [
                          "isys_frequency_unit",
                          "isys_frequency_unit__id"
                      ],
                      "select": [],
                      "join": [
                          [],
                          []
                      ]
                  },
                  "ui": {
                      "type": "dialog",
                      "params": {
                          "p_strTable": "isys_frequency_unit",
                          "p_bDbFieldNN": 0,
                          "p_strClass": "input-mini"
                      },
                      "default": "-1",
                      "id": "C__CATG__CPU_FREQUENCY_UNIT"
                  },
                  "format": {
                      "callback": [
                          "isys_export_helper",
                          "dialog"
                      ]
                  },
                  "check": {
                      "mandatory": null
                  }
              },
              "cores": {
                  "title": "CPU cores",
                  "info": {
                      "primary_field": false,
                      "type": "int",
                      "backward": false,
                      "title": "LC__CMDB__CATG__CPU_CORES",
                      "description": "CPU cores"
                  },
                  "data": {
                      "type": "int",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__cores"
                  },
                  "ui": {
                      "type": "text",
                      "params": {
                          "p_strPlaceholder": "0",
                          "default": "0",
                          "p_strClass": "input-mini"
                      },
                      "default": null,
                      "id": "C__CATG__CPU_CORES"
                  },
                  "format": null,
                  "check": {
                      "mandatory": false
                  }
              },
              "description": {
                  "title": "Description",
                  "info": {
                      "primary_field": false,
                      "type": "commentary",
                      "backward": false,
                      "title": "LC__CMDB__LOGBOOK__DESCRIPTION",
                      "description": "Description"
                  },
                  "data": {
                      "type": "text_area",
                      "readonly": false,
                      "index": false,
                      "field": "isys_catg_cpu_list__description"
                  },
                  "ui": {
                      "type": "textarea",
                      "default": null,
                      "id": "C__CMDB__CAT__COMMENTARY_04"
                  },
                  "format": null,
                  "check": {
                      "mandatory": false
                  }
              }
          },
          "id": null
      }
      

      You can find more information about custom languages in https://kb.i-doit.com/display/en/Localization.

      best regards,
      vqh

      posted in Development
      V
      vqh
    • RE: [i-doit 1.9.1 PRO] CSV-Import führt zu Phantom-Einträgen

      Hallo Tobias,

      ich habe das mal bei uns überprüft und konnte das auch Datenbank Technisch feststellen das eine Leere Zuweisung erstellt wurde in der Kategorie Kontaktzuweisung.
      Ich habe dazu ein Ticket erstellt und wird in einer der kommenden Versionen gefixt sein.

      Mfg,
      vqh

      posted in Entwicklung
      V
      vqh
    • RE: Data from OCS are not updated in i-doit

      Hello Matt,

      maybe you found a small bug in the OCS Inventory import. To verify it could you please try the category "Memory" in i-doit to see if its updating properly? For example deleting an entry in the category "Memory".

      Best regards,
      Quyen

      posted in Operating
      V
      vqh
    • RE: Data from OCS are not updated in i-doit

      Hello Matt,

      thank you for your interest in our product. Can you specify which categories should have been updated for the second OCS import? Is it possible to provide us with the log file which will be created in [i-doit Root folder]/log/ when you set the Logging to "detailed (slower)" or "detailed+debug (very slow & memory intensive)"?

      Best regards,

      Quyen

      posted in Operating
      V
      vqh
    • RE: New object from template - Idoit Open 1.9 und php7.0

      Hi,

      anscheinend ist die SimpleXml Unterstützung nicht aktiv. Bitte schau mal über die phpinfo nach ob die SimpleXml Unterstützung aktiv ist.
      Über die Linux Konsole kannst du das mit folgenden Befehl nachschauen:
      php -i | grep Simplexml

      Falls diese fehlt muss diese nachinstalliert werden dann sollte es auch wieder klappen.

      Gruß
      vqh

      posted in Betrieb
      V
      vqh