You are not logged in.
Pages: 1
Hello
I'm using GLPI 9.5.1 with the plugin Fields (Champs supplémentaires) 1.11.0
I have created a block with custom fields. This block is associated to the itemtype Project.
I can see those custom fields with a GET query on /listSearchOptions/Project/
I can update a custom field with a PUT query using the custom field name.
But I can't figure out the query to retrieve the value of a custom field of an item.
For example, the output of /listSearchOptions/Project/ is:
...
"76668": {
"name": "DIT Firme - champ4",
"table": "glpi_plugin_fields_projectdits",
"field": "champfourfield",
"datatype": "string",
"nosearch": false,
"nodisplay": false,
"available_searchtypes": [
"contains",
"notcontains"
],
"uid": "Project.PluginFieldsProjectdit.champfourfield"
},
"76669": {
"name": "DIT Firme - chefdeprojet",
"table": "glpi_plugin_fields_projectdits",
"field": "chefdeprojetfield",
"datatype": "string",
"nosearch": false,
"nodisplay": false,
"available_searchtypes": [
"contains",
"notcontains"
],
"uid": "Project.PluginFieldsProjectdit.chefdeprojetfield"
}
}
How can I retrieve the value of the field "chefdeprojetfield" of the Project id n°1 ?
Thank you
Offline
I will answer to my post.
It is possible with GLPI 9.3.4 and Fields 1.8.2
The same query doesn't work with GLPI 9.5.1 and Fields 1.11.0
It returns no output at all, not even an error message.
Bug or feature ? I've raised an issue on github.
Offline
Hello,
i confirm that i have exactly the same problem as Galaellien.
Will be there a fix soon ?
Regards
Offline
Pages: 1