Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Apex Code Development | Forum profile

Forum profile page for Apex Code Development on http://www.salesforce.com. This report page is the aggregated overview from a single forum: Apex Code Development, located on the Message Board at http://www.salesforce.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Apex Code Development" on the Message Board at http://www.salesforce.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Salesforce.com Community - Apex Code Development (site profile, domain info salesforce.com)
Title: Apex Code Development
Url: http://community.salesforce.com/sforce/board?bo...
Users activity: 19 post per thread
Forum activity: 151 active thread during last week
 

Posting activity on Apex Code Development:

  Week Month 3 Months
Threads: 151 591 1,561
Post: 296 1,109 2,930
 

Apex Code Development Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Cool_Devloper
48
user's latest post:
Community - javascript eval in...
Published (2009-11-26 22:32:00)
No tools as such, but you have to write the equivalent logic using Apex. I am afraid, there is no direct function similar to EVAL Experts, correct me if I am wrong. Cool_D
gm_sfdc_powerde
21
user's latest post:
Community - Accessing SQL - Apex...
Published (2009-11-27 09:51:00)
It's not possible to directly connect to external data sources from Apex or Visualforce.  However, you can make SOAP-based web service callouts or plain HTTP callouts from Apex. If you can create an external application to deal with the data source and have it publish a SOAP-based or plain HTTP service, you can access the service from Apex to achieve what you are looking for.
B2A
17
user's latest post:
Community - Save error: file is...
Published (2009-11-24 19:55:00)
Hey guys, Thanks for all the help!!   Cool D, I will read the guide shortly!
theitdeptrocks
8
user's latest post:
Community - SOQL Query Help -...
Published (2009-11-25 09:49:00)
With VF, I really do learn something new everyday.  I appreciate your help, btw.   By Question field...did you mean Answer field...the 2nd column in my table?   So I would use this new wrapper class to feed my table:     <table border="1" columns="1" > <tr >...
prageeth
8
user's latest post:
Community - attach pdf to notes...
Published (2009-11-26 20:07:00)
Hello  sonaperth ;   Try this; public void attach() { Attachment myAttach = new Attachment(); myAttach.ParentId = 'xxxxxxxxxx'; //Id of the object to which the page is attached myAttach.name = 'DisplayName.pdf'; PageReference myPdf = Page.myPdfPage; //myPdfPage is the name of your pdf page myAttach.body = myPdf.getContentAsPdf(); insert myAttach; }         Message...
A_Smith
7
user's latest post:
Community - sObject type...
Published (2009-11-25 08:10:00)
Not sure about this one.  I'd definitely log a case for it.  If you are a partner, log it in the partner portal as that should speed up the time to resolution.  
Naishadh
6
user's latest post:
Community - Apex Trigger to...
Published (2009-11-22 23:36:00)
Roll-up applies only for master-detial relationship.   Use following query in your trigger   Select a.Id, (Select Id From Contacts) From Account a      
intern2424
6
user's latest post:
Community - Need help with...
Published (2009-11-24 10:22:00)
Man, Thank you soooooooo much. I was wondering with the repeat can you still do outputfield?    Thank you again for all the help. 
anu_karthi
6
user's latest post:
Community - Save() - Apex Code...
Published (2009-11-25 01:23:00)
Hi  I have to override the  standard save() functionality.since i defined another function named run()...I created a button saqve in my visual force page in such a way that when i click savebutton it should invoke both standard save() and also run() which i defined how can i do that ............plz help me with code......  ...
weznolte
6
user's latest post:
Community - help me the code to...
Published (2009-11-27 01:43:00)
Hey   It would work for both. The data field type doesn't matter at all.. all your validation would be done via apex within your controller. If you post some code I can help you out a bit more. As a starting point:   Page:   <apex:form>   <apex:inputField ... />   <apex:commandButton value="Send" action="{!saveContact}"...
 

Latest active threads on Apex Code Development::

Started 3 days, 1 hour ago (2009-11-27 12:39:00)  by Shikibu
This thread might be helpful. Use your browser to examine the generated URL, and to discover whether the script is indeed loaded. If you get the URL wrong, the compiler doesn't tell you. Also, Firefox and Firebug should be your friend. You can inspect the DOM and js variables, trace and execute arbitrary js, and more.
Thread:  Show this thread (3 posts)   Thread info: Community - Not able to make Static Resources work - Apex Code Development
- Force.com Discussion Boards Size: 530 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Not able to make Static Resources work :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 2 hours ago (2009-11-24 11:15:00)  by ccMark
Have you tried creating a test class with something like the following? @isTest private class parseStudentApplicationTest { static testMethod void myUnitTest() {Student_Application__c sa = new Student_Application__c(); sa.Student_First_Name__c = 'testFirstName' ;sa.Student_Last_Name__c = 'testLastName' ; sa....
Thread:  Show this thread (5 posts)   Thread info: Community - Cannot figure out how to write a proper test class - Apex Code
Development - Force.com Discussion Boards Size: 3,788 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Cannot figure out how to write a proper test class :: Apex Code Development :: Salesforce.com Community"
Started 3 days, 15 hours ago (2009-11-26 22:15:00)  by gm_sfdc_powerde
Apex is a strongly typed language and does not support evaluating dynamic content. Having said that, it is possible to dynamically construct and execute Apex code from outside the platform using web service API. Not sure if this is possible in your case, can you elaborate more on your use case?
Thread:  Show this thread (5 posts)   Thread info: Community - javascript eval in Apex? - Apex Code Development - Force.com
Discussion Boards Size: 379 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: javascript eval in Apex? :: Apex Code Development :: Salesforce.com Community"
Started 3 days, 11 hours ago (2009-11-27 02:23:00)  by sfdcfox
Use "Document" if you want to store files in the document tab, and use "Attachment" if you want to store files attached to a record; use ParentId to specify which record the attachment is stored against. Please note that it is important to capture the Name, Body and ContentType values or your document may not store correctly or be rendered correctly by a browser when re-downloaded....
Thread:  Show this thread (3 posts)   Thread info: Community - How to store attachments using APEX - Apex Code Development -
Force.com Discussion Boards Size: 501 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to store attachments using APEX :: Apex Code Development :: Salesforce.com Community"
Started 3 days, 4 hours ago (2009-11-27 09:51:00)  by gm_sfdc_powerde
It's not possible to directly connect to external data sources from Apex or Visualforce. However, you can make SOAP-based web service callouts or plain HTTP callouts from Apex. If you can create an external application to deal with the data source and have it publish a SOAP-based or plain HTTP service, you can access the service from Apex to achieve what you are looking for.
Thread:  Show this thread (2 posts)   Thread info: Community - Accessing SQL - Apex Code Development - Force.com Discussion
Boards Size: 455 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Community - Accessing SQL - Apex Code Development - Force.com Discussion
Boards :: Apex Code Development :: Salesforce.com Community"
Started 4 days, 11 hours ago (2009-11-26 02:46:00)  by SteveBower
Hi, just looking at it visually, I'm wondering if, due to the bad query, this line: con = new ApexPages.StandardSetController(Database.getQueryL ocator(this.getQuery() ) ); threw an exception because there is no StandardSetController constructor for a malformed query error. (no Scientific notation supported) However perhaps it caught it and returned con as null and when you try to ...
Thread:  Show this thread (5 posts)   Thread info: Community - Possible Apex platform bug? - Apex Code Development - Force.com
Discussion Boards Size: 1,828 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Possible Apex platform bug? :: Apex Code Development :: Salesforce.com Community"
Started 3 days, 10 hours ago (2009-11-27 03:29:00)  by sorna
Dont use standard save here. Instead, for the command button save, have an action function in your controller where you manually save the record and include the logic of the run() function.
Thread:  Show this thread (2 posts)   Thread info: Community - Save() - Apex Code Development - Force.com Discussion Boards Size: 271 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Save() :: Apex Code Development :: Salesforce.com Community"
Started 3 days, 12 hours ago (2009-11-27 01:28:00)  by nelloC
I guess that's a no then.
Thread:  Show this thread (3 posts)   Thread info: Community - Compliance Bcc Email enabled or not in apex - Apex Code
Development - Force.com Discussion Boards Size: 155 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Compliance Bcc Email enabled or not in apex :: Apex Code Development :: Salesforce.com Community"
 

Hot threads for last week on Apex Code Development::

Started 1 week, 2 days ago (2009-11-20 17:52:00)  by gm_sfdc_powerde
What are you trying to update here? ID is the system identifier and cannot be updated.
Thread:  Show this thread (27 posts)   Thread info: Community - Save error: file is not writeable: Account.id - Apex Code
Development - Force.com Discussion Boards Size: 164 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Save error: file is not writeable: Account.id :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 10 hours ago (2009-11-24 03:24:00)  by Cool_Devloper
Already answered on VF discussion board! Cool_D
Thread:  Show this thread (9 posts)   Thread info: Community - Need help with Navigating my soql query - Apex Code Development
- Force.com Discussion Boards Size: 137 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Need help with Navigating my soql query :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 15 hours ago (2009-11-23 22:17:00)  by Cool_Devloper
For the 1st problem, it seems the variable is not getting set with the param value. Did you try giving a debug message, what value is "currentQuestion" having? Also, can you check if "assignTo" works in the param tag? Can you please elaborate on the 2nd problem? Cool_D Message Edited by Cool_Devloper on 11-23-2009 10:18 PM
Thread:  Show this thread (9 posts)   Thread info: Community - SOQL Query Help - Apex Code Development - Force.com Discussion
Boards Size: 596 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: SOQL Query Help   [ Edited ] :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 4 hours ago (2009-11-24 09:34:00)  by A_Smith
Is this in apex code? are you trying to reference an object installed by the package or is this code within the package itself?
Thread:  Show this thread (7 posts)   Thread info: Community - sObject type 'NAMESPACE__ObjectName__c' is not supported - Apex
Code Development - Force.com Discussion Boards Size: 221 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: sObject type 'NAMESPACE__ObjectName__c' is not supported :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 22 hours ago (2009-11-23 15:43:00)  by A_Smith
Can you provide some more details around what you are trying to accomplish?
Thread:  Show this thread (6 posts)   Thread info: Community - Retrieving the current namespace - Apex Code Development -
Force.com Discussion Boards Size: 163 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Retrieving the current namespace :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 13 hours ago (2009-11-24 00:00:00)  by gm_sfdc_powerde
What exactly is your problem that's preventing you from achieving 75% code coverage? If you run your tests from IDE, you can clearly see from output log the lines that are not covered. Ditto with running tests from the app.
Thread:  Show this thread (6 posts)   Thread info: Community - test method for the class - Apex Code Development - Force.com
Discussion Boards Size: 307 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: test method for the class :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 15 hours ago (2009-11-23 22:15:00)  by Cool_Devloper
Is there any other trigger like on "QuoteLine" object? Or is there any workflow which might be getting executed in the whole flow somewhere? The exception means that the same record is getting updated again within the same conetxt! Cool_D
Thread:  Show this thread (6 posts)   Thread info: Community - Update Quote and Quoteline getting SELF_REFERENCE_FROM_TRIGGER
- Apex Code Development - Force.com Discussion Boards Size: 354 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Update Quote and Quoteline getting SELF_REFERENCE_FROM_TRIGGER :: Apex Code Development :: Salesforce.com Community"
Started 1 week ago (2009-11-22 22:47:00)  by Naishadh
DML statements can only process up to 200 records at a time, and sObject list for loops process records in batches of 200. Ref : http://www.salesforce.com/us/developer/docs/apexco de/Content/langCon_apex_loops_for_SOQL.htm#kanchor 133
Thread:  Show this thread (5 posts)   Thread info: Community - Query doesn't return more than 200 records ??? - Apex Code
Development - Force.com Discussion Boards Size: 946 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Query doesn't return more than 200 records ??? :: Apex Code Development :: Salesforce.com Community"
Started 1 week, 2 days ago (2009-11-20 22:19:00)  by Cool_Devloper
Hi Sean, I suggest instead of re-directing through the controller, you can do the same through JS! If you have the ID of the contact on your Detail page, then you can build a URL and call a JS function onclick of a button/link from ur VF section. Cool_D
Thread:  Show this thread (7 posts)   Thread info: Community - Apex Page Redirection - Apex Code Development - Force.com
Discussion Boards Size: 373 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Apex Page Redirection :: Apex Code Development :: Salesforce.com Community"
Started 6 days, 2 hours ago (2009-11-24 11:15:00)  by ccMark
Have you tried creating a test class with something like the following? @isTest private class parseStudentApplicationTest { static testMethod void myUnitTest() {Student_Application__c sa = new Student_Application__c(); sa.Student_First_Name__c = 'testFirstName' ;sa.Student_Last_Name__c = 'testLastName' ; sa....
Thread:  Show this thread (5 posts)   Thread info: Community - Cannot figure out how to write a proper test class - Apex Code
Development - Force.com Discussion Boards Size: 3,788 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Cannot figure out how to write a proper test class :: Apex Code Development :: Salesforce.com Community"

This page was found by:   System.Exception: Too many script statements: 200001  salesforce apex  salesforce apex exceptions