+ Reply to Thread
Results 1 to 3 of 3

Thread: Is it possible to write a PHP script which will change a SalesForce object field's ty

  1. #1
    nil_von_9wo is offline Junior Member
    Join Date
    Aug 2009
    Posts
    10

    Is it possible to write a PHP script which will change a SalesForce object field's ty

    My client would not only like to be able to backup his SalesForce environment, but also be able to restore from that backup.



    So far as I know, while many options make it possible to replicate SalesForce data elsewhere, there are no easy options for restoring data, so I've been trying to figure out how to do this.



    Among the obstacles, it is my understanding that Autonumber fields can not be overridden. So, to properly restore sObjects with Autonumber fields, it will be necessary to first convert Autonumber fields to Text, and then restore them to Autonumber after the data has been restored (inserted).



    Would it be possible to do this through the SalesForce API using PHP to develop the restoration solution?



    If so, how?





    -Brian.

  2. #2
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    557
    Blog Entries
    15
    I have not tested the restore functionality but I would believe that an upsert would work, I would need to test that though and I just wont have the time until after November 2nd

  3. #3
    nil_von_9wo is offline Junior Member
    Join Date
    Aug 2009
    Posts
    10
    Cheers for the response.... Let me know whenever you have time. :-)

+ Reply to 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.1