Posts

Custom Settings Loader

Image
  Hi, Did you ever wondered how to bulk Import Custom Settings records ? Or did you ever wanted to bulk Export Custom Settings from your Salesforce Org? If yes, please read this article. Currently you can Import or Export Custom Settings records to / from your Salesforce Org using tools like Apex Data Loader or Workbench. However, here is a solution that clearly lists down all custom settings names in your Org without your need to search and find the actual api names for those custom settings. The Salesforce Custom Settings and Custom Objects both have common '__c' extension. Therefore, sometimes it becomes difficult to clearly identify which is what..  Solution 1. Login to  https://www.packmagix.com  using your Salesforce credentials. 2. Click on ' Custom Settings Loader ' menu item in the  Home  tab. 3. Select a  Custom Setting  you want to Import or Export records for. Once you select a Custom Settings name it should display its existing record...

Profile 360 to View All Permissions

Image
  Hi, Salesforce has announced that the permissions on Profiles will retire with Spring 23 release. This means you will not be able to use Profiles to give user access to permissions like Object permissions, Field permissions, User permissions and some other permissions. Instead, you will be forced to use Permission Sets or Permission Set Groups in your Salesforce Org to configure those permissions and assign to respective users. If this looks like a problem for your Salesforce Org, then please read through this blog on how you can view all of the Profile permissions assigned to a Salesforce Profile including some of the difficult to see permissions like Record Type Permissions or Apex Class Permissions including Object /  Field Permissions.  Solution 1. Login to  https://www.packmagix.com  using your Salesforce credentials. 2. Click on ' Profile 360 ' menu item in the Home tab. 3. Select a Persona Type as Profile for viewing a list of all Profiles.  4. S...

Download Change Set or Package

Image
Hi, Did you ever wanted to download a Change Set or an unman aged Package from your Salesforce Org ? If yes, this article is for you. Here is an easier way to quickly download Change Set and retrieve its package.xml or package.zip with given Change Set / Package name.  Solution 1. Login to  https://www.packmagix.com  using your Salesforce credentials. 2. Click on ' Export Change Set ' menu item in the Home tab. 3. Enter a correct ' Change Set / Package Name' from your Salesforce Org.  4. Click on ' Get Change Set / Package' button and wait for it to retrieve its package.xml details. 5. Once it finishes retrieving the Change Set / Package details it will display the package.xml details on your screen. 6. Click on ' Download as package.xml' button the dowload package.xml of the Change Set or Package. 7. Click on ' Download as package.zip' button to retrieve package.zip of the Change Set or Package. 9. Click on ' Download as CSV ' button...

Salesforce Metadata Locator

Image
  Hi, Did you ever get frustrated while finding a Salesforce Metadata component like Apex Class, a Profile or a Permission Set in your Salesforce org ? If yes, this article is for you. Here is an easy way how you can quickly find Salesforce Metadata Component just by selecting a component type and then clicking on View In SF link.  Solution 1. Login to  https://www.packmagix.com  using your Salesforce credentials. 2. Click on ' Metadata Locator ' menu item in the Home tab. 3. Select a Metadata Type to find in Salesforce org. e.g. Apex Class 4. Once it displays the list of components e.g. Apex Classes you can quickly find the component by searching it in Quick Find box. 5. Click on View in SF link to open the component in your Salesforce org.

Salesforce Metadata Dependencies

Image
  Hi, Did you ever wanted to where is a Salesforce Metadata component used? If yes, this article is for you. Here is an easy way how you can quickly find Salesforce Metadata Dependencies by selecting the components you want to check. For example you can select Custom Fields on an Custom Object to find out where they are used. Solution 1. Login to  https://www.packmagix.com  using your Salesforce credentials. 2. Click on ' Metadata Dependencies (Beta) ' menu item in the Home tab. 3. Select a Metadata Type to find dependencies of. Example  Custom Fields   Select an Object Name (e.g. Shipment__c) for which you want to select Custom Fields. Select all fields you want to find out where they are used and click on Add Rows button. 4.  Click on  Get Dependencies  button and wait for the results to appear on the screen.  5. You can optionally export the results using Download as CSV button and open in Excel to review.. Note: Salesforce Metadata Depe...

Salesforce Metadata Search

Image
Hi, Did you ever wanted to search a keyword in Salesforce Metadata? If yes, this article is for you. There are already various tools available for performing Metadata Search on Salesforce metadata. For example Metadata Search tool in Salesforce AppExchange. However, in this article I am going to show you an option which does not need any kind of installation. Which makes it easy and ready to use at any time. Solution 1. Login to https://www.packmagix.com using your Salesforce credentials. 2. Click on ' Metadata Search ' menu item in the Home tab. 3. Select a Metadata Type to be searched upon. Example Apex Classes .  Enter search keywords in the Search Keywords table. Add new search keyword by clicking on Add Keyword button. 4.  Click on Search Metadata button and wait for the results to appear on the screen. If your Org has large number of metadata components then the results will show the progress of results on the screen. 5. You can also see the Metadata Components being...

Profile to Permission Set Converter

Image
  Hi, Did you ever wanted to convert a Profile to a Permission Set in your Salesforce Org? If yes, this article is for you. There is already an AppExchange package 'User Access and Permissions Assistant'  by Salesforce which allows you do to convert a Profile to a Permission Set. However, at the time of writing this blog it does not support conversion of Salesforce Platform licence profiles. The managed package supports only User Permissions,  Object and Field Permissions. Please find below solution to convert all types of profiles with all types of permissions to a permission set. PackMagix copies Application Access, Apex Class Access, Custom Permission Access, Field Permissions, Flow Permissions, Object Permissions, Record Type Access, and Tab Access permissions to the new Permission Set. Once new permission Set is created you can edit it to remove unwanted permissions. This will help you to convert any Profile to Permission Set as Salesforce has declared end of life of...

Salesforce Workbench Memory Error On Data Updates

Image
  Hi, When I was working on inserting some records using Salesforce Workbench tool online, I received below error. Error: "Workbench almost exhausted all its memory after only processing 0 rows of data. When performing a large data load, it is recommended to use a zipped request for processing with the Bulk API. To do so, rename your CSV file to 'request.txt', zip it, and try uploading again to Workbench." Surprisingly the file I was using was not big enough that it would need to be split in to multiple files. It seems that this is another issue Workbench tool has discovered since last few weeks. Please find workaround solution to above error below. Solution: 1. Login to https://www. packmagix .com using your Salesforce credentials. 2. Click on  Data Insert  menu item in the  Home  tab for Data Insert operation. For other operations select other menu item as required. 3. Select a Salesforce Object you want to import . e.g. Account. 4. Default Mode of import is...

Workbench UNKNOWN ERROR: read error on connection to ec2-34-194-152-137.compute-1.amazonaws.com:6379

Image
  Hi, I was trying to run an SOQL query in Salesforce Workbench and I got below error. Error: "UNKNOWN ERROR: read error on connection to ec2-34-194-152-137.compute-1.amazonaws.com:6379" There is no immediate resolution to this error provided by Salesforce yet. Solution: You can use Salesforce Inspector chrome extension if you have install rights on your computer and using Chrome as your primary browser. Please see below for a web solution similar to Workbench that can work in any browser. You can try workaround solution below if you are still unable to run an SOQL query on Workbench tool. 1. Login to https://www. packmagix .com using your Salesforce credentials. 2. Click on Data Export  menu item in the Home tab. 3. Select the Salesforce Object you want to query on. e.g. Account. 4. Select the fields you want in SOQL query and click on Add to Fields button. 5. The selected fields should appear in SOQL Fields box below. Optionally you can add or remove fields in this box ma...

Salesforce API Versions Retirement

Image
Hi, As of the Summer '22 release, the following Salesforce Platform API legacy versions have been deprecated and are no longer supported by Salesforce. You can continue to access these legacy API versions until Summer '23 is released, which is when these legacy versions will become retired and unavailable.  What is changing? SOAP: 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0 REST: v21.0, v22.0, v23.0, v24.0, v25.0, v26.0, v27.0, v28.0, v29.0, v30.0 Bulk: 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0 When versions 21.0 through 30.0 are retired , applications consuming these versions of the API will experience disruption as calls will fail and result in an error indicating that the requested endpoint is not found and unable to be processed by the platform.  Solution Event Log Files in Salesforce enables monitor all types of events that occur in Salesforce. e.g. Login, Logout, API calls made to Salesforce etc. If your Org is enabled for Event Monitori...

Export Flows Metadata to a CSV File

Image
  Hi, Did you ever wanted to export Flows' metadata for documentation purposes or viewing all the steps included in given Flows?  In standard Salesforce way you could navigate to the Setup -> Flows -> Select the Flow to view with all steps in it.  However, you can not export this information to a CSV or an Excel file for easier search on multiple Flows. If you have multiple Flows then you need to go to each of them and click each and every step associated with it to check what fields they contain. Solution Here are the steps how you can easily export all metadata for selected Flows to a CSV file. 1. Login to https://www.packmagix.com using your Salesforce credentials. 2. Click on  Export Flows Metadata  menu item in the Home tab. 3. Select multiple Flows for which you want to export their metadata including their steps and click on  Add Rows  button.  4. Click on  Get Flows Metadata  button and wait for a minute or two for results ...

Export Page Layouts metadata to a CSV file

Image
  Hi, Did you ever wanted to export Page Layouts' metadata for documentation purposes or viewing all the fields included in given page layouts?  In standard Salesforce way you could navigate to the Setup -> Object Manager tab (e.g. Accounts) -> Pae Layouts -> Select the Page Layout to view with all fields in it.  However, you can not export this information to a CSV or an Excel file for easier search on multiple page layouts. If you have multiple Salesforce Objects then you need to go to each of their Object tabs and click each and every Page Layout associated with it to check what fields it contains. Solution Here are the steps how you can easily export selected Page Layouts metadata for selected Objects to a CSV file. 1. Login to https://www.packmagix.com using your Salesforce credentials. 2. Click on Export Page Layouts menu item in the Home tab. 3. Select multiple Page Layouts for which you want to export their metadata including fields and click on Add Rows...

Export List Views metadata to a CSV file

Image
Hi, Did you ever wanted to export List Views' metadata for documentation purposes ? Or, wanted to view all List Views for a given Salesforce Object ? In standard Salesforce way you could navigate to the App -> Object tab (e.g. Accounts) -> Select the list view to view with all columns (e.g. All Accounts). You can check other information about selected list view by clicking op respective buttons like Show Filters etc. You can not export this information to a CSV or an Excel file. If you have multiple Salesforce Objects then you need to go to each of their Object tabs and click each and every list view to check what it contains. Solution Here are the steps how you can easily export List Views metadata for selected Objects to a CSV file. 1. Login to  https://www.packmagix.com  using your Salesforce credentials. 2. Click on  Export List Views  menu item in the Home tab. 3. Select multiple Objects you want to export Validation Rules for and click on ...