You are not logged in.
Pages: 1
Is there a way to get a list of available fields for the external links?
I am trying to use the remote id, but cannot find what field to use...
Thanks!
Offline
When using the field tags, it only works with data directly in the record of the item. In the case of the remote ID, it isn't stored in the glpi_computers table (for example with computers), it is actually in glpi_items_remotemanagements.
These fields are not documented anywhere currently.
Using the API, you should be able to determine which fields are valid for a given item type by doing a GET request for one of the items (ignoring the links property).
For example:
http://myglpi.local/apirest.php/Computer/10
You could also get a list via the DB:
SHOW COLUMNS FROM glpi_computers
It is also possible to find them directly in the web UI if you use your browser's "inspect element" feature on a field in the item's form and look at the field's name attribute.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Pages: 1