Quantcast
Viewing all articles
Browse latest Browse all 2504

Fattach isn't associated with incident - connectPHP and CO

Topic by Patricia Harvath

Content

I am creating a new incident with ConnectPHP.  I am using a custom object with this new incident.  I have all the elements working properly except the file attachment.  I can create the new incident and the associated the CO.  When I add the file attachment to the incident, the incident is created, but the file attachment doesn't appear to be uploaded or associated with the incident.  

First, what is the best practice, attach the file to the incident or to the custom object?  

Second, can someone take a look at my code to see what I am missing?  I am using the standard File Attachment widget and am trying to associate the file with the incident.  I get no error messages and the incident is created. All the correct info is showing up in the POST upload source:
Content-Disposition: form-data; name="file"; filename="TEST1.txt"Content-Type: text/plaintext for the test.

Thanks!

 

Version

May 2012

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles