apex-code Questions

5

Solved

We're looking into setting up a proper deployment process. From what I've read there seems to be 4 methods of doing this. Copy & Paste -- We don't want to do this Using the "Package" m...
Pesticide asked 23/2, 2009 at 11:32

1

Solved

public virtual class parent { public static void doStuff(){system.debug('stuff');} } public class child extends parent{} When I call child.doStuff(); I get this error: Method does not exist...
Saltwort asked 15/2, 2012 at 13:54

2

Solved

Is there a way (without creating a formula datevalue(datetime) field) to aggregate a SOQL query on the date portion of a datetime field? For example, I'd like to do something like: select dateval...
Undoing asked 8/2, 2012 at 4:8

2

Solved

Usually, when a trigger runs, we check what kind of a profile the user has, and if it's the kind where we don't want the triggers to run, then we exit the trigger before running any other code. Pr...
Kinna asked 26/1, 2012 at 18:35

3

How can do code alignment with Eclipse base Force.com IDE. Alignment shortcut key 'CTRL+SHIFT+F' is not working for Apex code.
Dumb asked 10/1, 2012 at 9:35

1

Solved

How do I fire a before update trigger only one or some particular fields are updated and not fire when other fields are updated as it causes duplicate record in other object
Pugilism asked 29/12, 2011 at 18:3

2

Solved

I have apex tag that generate input text field. <apex:page id="my_page"> <apex:inputText id="foo" id="c_txt"></apex:inputText> </apex:page> When someone clicks this fiel...
Sterigma asked 16/11, 2010 at 0:7

2

Solved

Is there any way to integrate version control system for Apex & Visualforce code? I can thinking of keeping a separate repository but no way to have it integrated with Salesforce Platform. Tha...
Honshu asked 7/11, 2011 at 9:29

3

Solved

Is there any way in Salesforce to group apex classes under a package or namespace? Can we use managed package for internal organization purpose?
Havana asked 4/12, 2011 at 18:18

3

I have add custom button for salesforce's Sales application's 'Opportunities' tab. Once press that button I want to navigate some new tab (I have done it by adding proper URL) and execute following...
Argument asked 3/12, 2011 at 12:59

1

Solved

I have a webservice class that will be in a managed package and distributed to multiple clients. The class currently has a variable with the hardcoded value of the server it's hitting. The problem...
Audrit asked 26/7, 2011 at 15:39

1

Solved

I have an abstract class in apex with several properties that I would like to override in a child class. According to the documentation, properties support both the override and virtual access modi...
Apocrypha asked 15/3, 2011 at 19:9

4

I want to be able to read / write some variables to the current session in my Salesforce site pages. I have a site built using Salesforce Sites, I need to store/retrieve some values across all the...
Beirut asked 9/2, 2011 at 11:59

1

Solved

I'm having trouble getting the results I want from a Salesforce/Apex/SOQL query. I want: A list of Contact objects containing only contacts who are CampaignMembers of a set of campaigns; and they ...
Marlysmarmaduke asked 26/10, 2010 at 19:29

© 2022 - 2024 — McMap. All rights reserved.