Friday, December 11, 2015

How to Attach CSV files to Salesforce records using Apex Data Loader

To attach CSV file  to Salesforce's records it should to have the following columns:
  • ParentId -The Salesforce ID of the parent record to which the attachment should be attached)
  • Name -  The name with which this attachment  should be attached. It can be any name.
  • File Attachment1 IsPrivate - 0 if it is private or 1 if it is private
  • OwnerId

User cannot login into Salesforce

Issue:
An user cannot log in Salesforce.


How to resolve:


1.) Check if the user is using the correct URL.
2.) Check if the user is using the correct User Name and Password for that environment.
3.) Check the user's login history, navigate to:
      -  Setup => Manage Users => Login History
4.) Check if any login on hour restrictions or login IP address restrictions exist on the profile to which the user belongs, navigate to:
      - Setup => Manage Userd => Profiles => Login Hours
or
      - Setup => Manage Users => Profiles => Login IP Ranges
and check if there is any restriction.

Wednesday, December 9, 2015

How to resolve visible records shared by deleted sharing rules

Issue
A sharing has been deleted, but users can still see the records shared by that sharing rule.


Solution
 Recalculate sharing rules with the following steps:
  • Navigate to: Setup => Security Controls => Sharing Settings.
  • Click on 'Recalculate' under the object where the sharing rule was deleted.
This will reset the record permissions for the object.