+ Reply to Thread
Results 1 to 6 of 6

Thread: upload file to saleforce via php

  1. #1

    upload file to saleforce via php

    Hi
    I'm wondering if you have any idea how to upload a file to the case object in salesforce via a php web page?
    thanks
    Tammy

  2. #2
    Join Date
    May 2007
    Posts
    506
    Blog Entries
    3
    That should not be too hard, let me investigate it and get back to you in a little while!!

    ~Mike

  3. #3
    great, thanks Mike
    you're always so helpful
    hard to find resources

  4. #4
    Join Date
    May 2007
    Posts
    506
    Blog Entries
    3
    I have only looked into this briefly, but I do not see a way that you can upload a file to the case object via PHP and the API. BUT again it was only for a few min, I will still look into this and see if it is possible. Give me a few days to look into it more

    ~Mike

  5. #5
    I could be completely wrong, but it looks like you can do a create in the "Attachment" object. You will need to base64 encode the body of the file for the "Body" field and set the name of the file in the "Name" field. You will also have to set the ParentId field to reference the Case object. There might be some other fields you need to include in your create -- not sure.

  6. #6
    Join Date
    May 2007
    Posts
    506
    Blog Entries
    3

    Thumbs up

    You know what that is probably true!! Let me look into that, I did not even think of that relationship

    ~Mike

+ Reply to Thread

Similar Threads

  1. Saleforce PHP MySQL Schema {Beta} download tool
    By mike in forum Salesforce PHP Tutorials
    Replies: 4
    Last Post: 04-18-2008, 06:49 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.0 RC1 PL1