Difference between WhatId and WhoId in Events and Task WhatId: ID of a related Account, Opportunity, Campaign, Case, or custom object. Label is Opportunity/Account ID. WhoId: ID of a related …
2013
-
-
How to return a PageReference to create a sObject in salesforce Using Static: PageReference ref = new PageReference(‘/a00/e’); Using SObject: public PageReference customObjectPageReference() { Schema.DescribeSObjectResult R = YourCustomObject__c.SObjectType.getDescribe(); // Add …
-
Salesforce – List has no rows for assignment to SObject if you using following code in Apex and Error should throw like “List has no rows for assignment to SObject”. …
-
What are the Granting Access available in Salesforce Event Calendar? Click Your Name | Setup | My Personal Information | Calendar Sharing In Calendar Access, specify how you want to share your calendar with others (to add or …
-
Checking the Current DateTime field in SOQL Apex Code Example: Event e=[Select ActivityDateTime From Event where whatid=:tsk.whatid and what.type = ‘Account’ and ActivityDateTime <> null and ActivityDateTime <=:system.now()];
-
Adding the Custom fields in the Event and Task Objects: Custom fields for Event can be created in Activity(Task and Event) Custom Fields. The fields that are created in Activity …
-
How to get List Of All Standard Objects using APEX Class Use the describeGlobal() API call: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_describeglobal_describeglobject. Coding Example : http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_describeglobal.htm#topic-title
-
List of Salesforce Standard Objects: You can find the List of Salesforce Standard Objects using below link, http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_list.htm
-
How to Customize Event invitation in Salesforce You can achieve using below path: App Setup> Activities> Activity Settings> Under “Activity Settings” there is a check box that says “Show Custom …
-
Salesforce Standard Popup Using Apex Visualforce Page below is the solution for Standard popup using VF Page: <apex:repeat value=”{!selectedAccount}” var=”acc”> <a href=”/{!acc.Id}” id=”{!acc.Id}” onblur=”LookupHoverDetail.getHover(‘{!acc.Id}’).hide();” onfocus=”LookupHoverDetail.getHover(‘{!acc.Id}’, ‘/{!acc.Id}/m?retURL=%2F{!acc.Id}&isAjaxRequest=1’).show();” onmouseout=”LookupHoverDetail.getHover(‘{!acc.Id}’).hide();” onmouseover=”LookupHoverDetail.getHover(‘{!acc.Id}’, ‘/{!acc.Id}/m?retURL=%2F{!acc.Id}&isAjaxRequest=1’).show();”>{!acc.Name}</a> </apex:repeat>