• Vineeta
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies
Hi Friends

I don't have much idea about S-Controls,I would like to know can we use Apex code language method within S-Controls to avoid an API call?

Is there any limitation or so?can u suggest any gud link to learn more about S-Controls.

Vineeta
  • September 19, 2007
  • Like
  • 0
Hi Friends

I don't have much idea about S-Controls,I would like to know can we use Apex code language method within S-Controls to avoid an API call?
Is there any limitation or so?can u suggest any gud link to learn more about S-Controls.

Vineeta..
  • September 19, 2007
  • Like
  • 0

Hi friends

 

 

I am trying to install Apex toolkit10.0 from http://www.adnsandbox.com/eclipsetoolkit/10.0/. I had followed all the steps as per

 

http://wiki.apexdevnet.com/index.php/Members:Apex_Toolkit_for_Eclipse_Installation#First-Time_Installation.2C_Step_by_Step.

 

I have installed eclipse-SDK-3.2.2-win32. After that as per instruction started with apex toolkit but mean while installation failed when I reached at step 7 “Select Required” from eclipse got this error message” Apex Toolkit for Eclipse (8.1.0.200708160841) requires plug-in "org.apache.axis".

 

Please let me know how and from where install eclipse with Apex Toolkit 10.0 successfully.

 

Its urgent……….. J, please reply ASAP. Thanks in advanced.

 

Vineeta..

  • September 18, 2007
  • Like
  • 0
Hi Friends

Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger MyContactTrigger caused an unexpected exception, contact your administrator: MyContactTrigger: execution of AfterUpdate caused by: System.Exception: Record is read-only:

while Contact has full rites ,I m not able to update Email Field through this code

trigger MyContactTrigger on Contact (after insert , after update) {
if(Trigger.isAfter)
{
   if((Trigger.isInsert) || (Trigger.isUpdate))
   {
     set <Id> OwnerId = new set <Id>();
    for (Contact c :trigger.new)
    {
           OwnerId.add(c.OwnerId); 
           User[] user = [Select Email from User where Id in: OwnerId];   
           string Email = user[0].Email;
           //  c.Description = Email; 
           if(c.Email== null)
           c.Email = '';
           c.Email = Email;
           //system.assertEquals(Email,c.Email);
           //Update c;
          }
    }
 }
}
Hi Friends
I want to write a trigger on contact for "After Insert" and "After Update" to get email Id and ContactOwner and insert into Contact Email field.
I have written this code
 
trigger MyContactTrigger on Contact (after insert , after update) {
if(Trigger.isAfter)
{
 if((Trigger.isInsert) || (Trigger.isUpdate))
 {
  for (Contact c :trigger.new)
  {
                    Contact[] OwnerId = [Select OwnerId from Contact where Id in :Trigger.new];
            for(Integer i=0;i<OwnerId.length;i++){
 c.Email =[Select E_mail from User where Id =OwnerId[0]];}
                    }
          }
}
}
 
I have found Compile Error: unexpected token:.
 
Please let me know how to write this trigger.
 
Pseudocode Is like this:
 
get OwnerId from Contact
Get Email from User where Id=c.OwnerId
c.email =Email
 
Thanks
Vineeta
 
Hi Friends

I don't have much idea about S-Controls,I would like to know can we use Apex code language method within S-Controls to avoid an API call?
Is there any limitation or so?can u suggest any gud link to learn more about S-Controls.

Vineeta..
  • September 19, 2007
  • Like
  • 0

Hi friends

 

 

I am trying to install Apex toolkit10.0 from http://www.adnsandbox.com/eclipsetoolkit/10.0/. I had followed all the steps as per

 

http://wiki.apexdevnet.com/index.php/Members:Apex_Toolkit_for_Eclipse_Installation#First-Time_Installation.2C_Step_by_Step.

 

I have installed eclipse-SDK-3.2.2-win32. After that as per instruction started with apex toolkit but mean while installation failed when I reached at step 7 “Select Required” from eclipse got this error message” Apex Toolkit for Eclipse (8.1.0.200708160841) requires plug-in "org.apache.axis".

 

Please let me know how and from where install eclipse with Apex Toolkit 10.0 successfully.

 

Its urgent……….. J, please reply ASAP. Thanks in advanced.

 

Vineeta..

  • September 18, 2007
  • Like
  • 0