Display attachments only particular ticket

0
Hi , I have a requirement to add the attachments in created ticket.can you please let me know how we can achieve this.The attachments has to display one particular ticket. Please help us.
asked
1 answers
3
  • Create an entity called Attachment
  • Let this entity inherit from System.FileDocument
  • Create an association from Attachment entity to Ticket entity
  • In the form where you edit the Ticket (in the Data View), add a Data Grid
  • Connect this Data Grid to the Attachment entity over the association Attachment_Ticket
  • Generate the Attachment_NewEdit form

Since the Data Grid is connected by association, only attachments belonging to this ticket are shown

answered