CWL
@cwl
Admin
Member
Joined: Aug 6, 2013
Last seen: Jan 22, 2025
Issues: 104 / Replies: 103
Reply
RE: How to find the id of a page in Salesforce

Lets say you wan to find out the id of the opportunity from a visualforce page: public class YourClass { public string OppId{get;set;} // To ...

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 569
Reply
RE: Explain the use of class, method, constructor in Salesforce Apex?

Check this out: Apex Class, Variables, Constructor & Methods in Salesforce

3 years ago
Forum
Reply
RE: Where to use public, private and global access modifiers in Salesforce Apex?

Private: This is the default and means that the method or variable is accessible only within the Apex. If you do not specify an access modifier, the m...

3 years ago
Forum
Reply
RE: How to display formated time in visualforce

Try this: <apex:outputField value="{!a.YourTime__c}" />

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 369
Reply
RE: How to get the id from trigger.new and use in where clause

Here is an example: Contact[] contacts = [SELECT LastName FROM ContactWHERE AccountId IN :Trigger.new]; You can also get the current record Id as ...

3 years ago
Forum
Topic
Reply
RE: convert synchronous method to asynchronous in Apex

One reason to use future methods instead of queueable is when your functionality is sometimes executed synchronously, and sometimes asynchronously. It...

3 years ago
Forum
Topic
Reply
RE: How to contact Salesforce support?

All you have to do is create a case here:

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 401
Reply
RE: How to send html email from Apex using templates?

Documentation: DO NOT set these two values, so the subject and body will be retrieved from the template: // mail.setSubject(et.subject);// mail....

3 years ago
Forum
Page 8 / 14