• ez76
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
We are developing an application that invokes services on our own server infrastructure.

We have a sandbox (development) server as well as a production server.

We would like to be able to store the server hostname as a configuration variable of sorts, so that within an Apex class, we can generically construct URLs without having to hard-code them.

What is the best practice/best place for storing configuration variables such as this in an SF instance?

  • September 19, 2008
  • Like
  • 0

Here is basically what I do.

 

$sObject1 = new SObject();

$sObject1->fields = $fieldsToUpdate;

$sObject1->type = 'Lead';

$sObject1->Id = $record->Id;

$response = $mySforceConnection->update(array ($sObject1));

 

This works great until I change a value to null.  :)