• yao
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Hey all,
 
Here's my problem :
 
In my Custom Object Customer__c, I would like to populate my Record Name with 2 others fields. This works fine with a Trigger, but only with updates. When I try to create a new record, it tells me that the Record Name is a required fields. I guess that validation rules come before trigger actions.
 
Does anyone can explain me how to make it ?
 
Thx a lot,
 
Regards.
 
 
 
 
 
 
  • September 18, 2008
  • Like
  • 0
Hey,
 
I'm using, via a SoapCall, a webservice method that return an array of Objects.
 
Code:
webService static CObject__c[] getCObject(String id) {
  
  CObject__c[] c = [SELECT
     Id,
     Name,
     FROM HF_CObject__c];
       
  
  return c;
  
  
}

 
I'm using, in my php code the result method to retrieve my array of objects.
 
Code:
$parameters->id = $_GET[id];
$response = $soapClient->getCObject($parameters);
$result = $response->result;

 
Problem is when that query returns a single record, I don't get an array, but only an Object.
 
How can I solve that ?
 
Thx a lot,
 
Regards.
  • September 16, 2008
  • Like
  • 0
Hey guys,
 
is it possible to concatenate a Record Name with several fields ?
 
In fact, I want my Custom Object Record Name to look like the Standard Contact Object (First Name + Last Name).
 
Thx a lot,
 
Best Regards.
  • September 09, 2008
  • Like
  • 0
Hi there,
 
I got a custom object A with a lookup on another object B.
 
In the different search layouts of object A, I can display the Record Name (auto-number) of object B.
 
But is it possible to display any fields from B, in those differents search layout (tab layout for exemple) ?
 
Thx a lot,
 
Best regards.
  • September 09, 2008
  • Like
  • 0
Hey all,
 
Here's my problem :
 
In my Custom Object Customer__c, I would like to populate my Record Name with 2 others fields. This works fine with a Trigger, but only with updates. When I try to create a new record, it tells me that the Record Name is a required fields. I guess that validation rules come before trigger actions.
 
Does anyone can explain me how to make it ?
 
Thx a lot,
 
Regards.
 
 
 
 
 
 
  • September 18, 2008
  • Like
  • 0