• Nadia
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 14
    Replies
Hi
I am crating a cusom list button which is ugin an s-control and am adding it to the activitiy history related list on customer layout. It works fine however for some reason that causes some checkbpxes to appear next to activities which do not have any apparent value, they are just there.
does anyone know what are they?

thanks



Message Edited by Nadia on 07-01-2008 03:08 PM
    Hi, I have some issues with deploying a cusotom object from dev environment into test environment.
One strange thing that happens is when after I deploy the custom object, an extra standard field 'Currency' appears on it which was not thre in dev. Another thing is that when I display the deployed custom object (through custom tab), the custom fields are not getting displayed ony standard ones.
I can't figure out if this is set up somewhere in settings or is this some kind of system issue?
any help appreciated
thanks

Hi I have a requirement to disable a 'Send Email' button on the Contact object if the 'opt out' field is true. Is there a way to do that?
thanks
Hi,
My requirement is to create a custom button 'Schedule an Email'  that would collect info about when the user wants to send the email and would send it later at the time scpecified. After doing some reasearch, I am not sure this is at all possible. All I can think of is creating a scheduler with Apex that would run every  5 min to check for emails to be sent. But I have doubts about such solution. Could anyone give me any advice?
thank you
Hi,
I am getting the following error when I try to deploy my code from dv to test environment:
'Request timed out, check max poll and poll wait millis attributes'
does anyone know what this means?
thanks


Message Edited by Nadia on 05-15-2008 01:16 PM
Hi, I am trying to merge two accoutns using apex when a new account that is created matches  an existing master account by name. In after insert trigger, I call merge DML statement:  merge primaryAcc newAcc; given their names match.
When I test it, I see that a merge operation is being called and that a newly created account gets deleted after that, however  if I add some fields to a new account, I dont see them being copied to a master account during merge.
If I try to merge using 'Merge Accounts' tools from SF interface, it works fine and the fields are getting updated, but I can't get it to work with APEX. Can anyone help?
thanks!
    Hi,  I have wrote my code following documentation to adjust it to governors and limits restrictions. After deployment we get "maximum trigger depth exceeded" exception. I am pretty sure I do not have any recursive triggers, and I can't think of anything else I can do to diminish number of DML and SQL statemetns. (I do not have them inside loops). I tried to replicate the error by creating large number of records in test, and now I get System.Exception: Too many SOQL queries: 21. I dont  know if this is what is causing "maximum trigger depth exceeded"  in production. I cant replicate the original error.
I am now wondering if it might be so that it is not possible for us, since we are updating very large sets of records at a time using API - possibly hundreds of thousands. Could it be that APEX is just not the solution with such big data sets, or am I doing something wrong?

Message Edited by Nadia on 03-20-2008 10:25 AM
Hi,

I developed a Trigger and a test method using a sandbox org (the test method gave me 90% of code cover). After that I retrieved the trigger and test class using the ant tool. But when I  try to deploy to the "production org", I get the error:

BUILD FAILED
/home/claudio/deploy/sample/build.xml:25: Failures:

        at com.salesforce.ant.DeployTask.handleResponse(DeployTask.java:88)
        at com.salesforce.ant.SFDCMDAPIAntTaskRunner.runTask(SFDCMDAPIAntTaskRunner.java:107)
        at com.salesforce.ant.DeployTask.execute(DeployTask.java:37)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
 
If I try to deploy to a "developer org" it works fine.

Any help?

Thanks,

Claudio