Top "Apex-code" questions

A proprietary Java-like programming language for the Force.

Where do I add a trigger for "Notes and Attachments" in salesforce.com?

I cannot find where in the salesforce.com UI I can add a trigger on a file attachment. I can …

salesforce apex-code
MIXED_DML_OPERATION error in Salesforce Apex Trigger when updating User objects

I have a trigger on a Contact object and when I try to update a User record in this trigger …

salesforce apex-code dml
javascript to check string in this format

i want javascript code to check whether my input text is in specific format as AS0301-12345 <apex:inputText …

javascript salesforce apex-code visualforce salesforce-service-cloud
VisualForce, Apex:Repeat, for Javascript array Update

this is an extension of a question I asked on the Salesforce developer boards that didn't get much play: I …

javascript salesforce visualforce apex-code
How can I stop a managed trigger from executing while running a test class?

Usually, when a trigger runs, we check what kind of a profile the user has, and if it's the kind …

triggers salesforce apex-code dml
APEX JSON Deserialize

I have JSON string that has nested objects with dynamic names that vary each time. For an instance: { "Objects": { "dynamicName1": { "…

json salesforce apex-code