• ranjeet.ax1557
  • 0 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2


 i was trying to deploy the cahnges to picklist values for one of the custom object, the exisitng picklist valued not included int he .object file are also retained.

IS there a way we can remove those unused values in the picklists.


Thanks in Advance


I have a custom object in our Salesforce setup called AgentProducts, when I do a query (code running in php) via the API the only field I can get back is Id;


select Id, User_Id__c from AgentProducts__c


returns a record for every one of the entries in AgentProducts, but only with the Id field;

    [0] => stdClass Object
            [Id] => a0350000008xWWKAA2

    [1] => stdClass Object
            [Id] => a0350000008xWWLAA2


Even worse, if I filter the query by something like my custom email field, I get back the correct Id for the correct account, but still, no further data;

select Id, User_Id__c from AgentProducts__c where Email__c='xxx@xxxxx.xxx'



stdClass Object
    [Id] => a0350000008xWWMAA2


Any ideas?  I've been looking through the online documentation but I can't find anything on custom objects needing special treatment.