• Kartik
  • NEWBIE
  • 5 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hi,
We have an s-Control which updates around 180 fields in a lead. I made the following changes:
1. Added a new Field with a label called "Referring Facility (Lookup)" and made it accessible by everybody. This field type is lookup and refers to the Facility Custom object.
2. Modified the S-Control to update this field. Below is the code which 'sets' the property.
   newLead.set("Referring_Facility_New_Lookup__c", document.leadForm.referringFacility.options[document.leadForm.referringFacility.selectedIndex].value);
   But the Ajax toolkit throws the following exception at this point:
   "The property Referring_Facility_New_Lookup__c is not a valid field".
 
Verified the following:
1. Generated enterprise WSDL and the field existed in the generated WSDL.
2. Ran a test query in the SForce Explorer but explorer throws an INVALID_FIELD exception.
3. DescribeSobject function does not return this field in the result.
 
Any idea what could be happening?
Thanks.
-Kartik
  • February 15, 2006
  • Like
  • 0
Hi,
We have an s-Control which updates around 180 fields in a lead. I made the following changes:
1. Added a new Field with a label called "Referring Facility (Lookup)" and made it accessible by everybody. This field type is lookup and refers to the Facility Custom object.
2. Modified the S-Control to update this field. Below is the code which 'sets' the property.
   newLead.set("Referring_Facility_New_Lookup__c", document.leadForm.referringFacility.options[document.leadForm.referringFacility.selectedIndex].value);
   But the Ajax toolkit throws the following exception at this point:
   "The property Referring_Facility_New_Lookup__c is not a valid field".
 
Verified the following:
1. Generated enterprise WSDL and the field existed in the generated WSDL.
2. Ran a test query in the SForce Explorer but explorer throws an INVALID_FIELD exception.
3. DescribeSobject function does not return this field in the result.
 
Any idea what could be happening?
Thanks.
-Kartik
  • February 15, 2006
  • Like
  • 0

Is there a table which lists the IDs or deleted contacts?  Otherwise is there another way to know which contacts have been deleted recently?  I would prefer not to search each ID to see if it still exists in the contact table.

Thank you for any help provided