You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-06-11 09:56:12

petitepotato
Member
Registered: 2024-02-26
Posts: 3

Link document to ticket without creating attachment post

Hello.

I'm creating a ticket with an embedded image. The way to do this I assume is:

1. upload image as document
2. create ticket (with image in img tag)
3. link document with ticket

In step 3 I use a POST request to /Document_Item with items_id, itemtype and documents_id, like this:
hxxps://forum.glpi-project.org/viewtopic.php?id=288765

However, this also creates an attachment post to the ticket, showing the image link and size. Is there a way to just make the document-ticket relation without creating the attachment entry in the ticket?


Best regards

Last edited by petitepotato (2024-06-11 13:07:10)

Offline

Board footer

Powered by FluxBB