Posts

Showing posts from 2014

Add Notes and Attachments to an Custom Object in salesforce

Image
There are two ways to enable Notes and Attachments to Custom Object: 1) When Creating object 2) After Object already been created 1) When Creating object, enable checkbox to Add Notes and Attachments 2) When Object has already been created: Goto Object Page Layout Page Click on Related List Drag and drop Notes and Attachment to related list If you still have any queries please post a comment, would be happy to help you.

Difference in Deactivate (delete) User and Freeze User in salesforce

I am assuming you already know in Salesforce we can't delete a user,   instead we can deactivate an account so a user can no longer log in to Salesforce. To know more click " Deactivate User ". Now First question anybody would ask is that if we already have "Deactivate users" why would we need Freeze users . So here is the answer, In some cases, you can’t immediately deactivate an account (such as when a user is selected in a custom hierarchy field). To prevent users from logging into your organization while you perform the steps to deactivate them, you can freeze user accounts. Steps to freeze a user account: >  From Setup, click Manage Users | Users. > Click the username of the user whose account you want to freeze. >  Click Freeze. Point to remember: Freezing user accounts doesn’t make their user licenses available for use in your organization. You must deactivate user accounts to make their user licenses available. User Per

DEV 501 Notes:

DEV 501 Quick Notes #Referred from another blog. Quick notes to take before Advanced Developer certification exam: Would be useful for all developers. ReadOnly Annotation prevents you from performing the following operations within the request: DML operation, system.schedule method,calls to future method,sending emails To increase other Visualforce-specific limits, such as the size of a collection that can be used by an iteration component like <apex:pageBlockTable>, you can set the readonly attribute on the <apex:page> tag to true. class defined with @isTest should not be interface or enums. future annotation: Method with future annotation cannot be used in getter,setter,constructor methods Future annotated methods must be defined as static and can return only void return type. Map Key can hold null value. Methods with the RemoteAction annotation must be static and either global or public. Static methods and variables can only be declared i