This project is all about learning how to code and about learning how to style a page that I like. I expect for this project to be messy but useful for me as I work.
This tool allows you to merge multiple Salesforce profile XML files and remove duplicate permissions, resulting in a consolidated profile with all unique permissions.
- salesforce-deduplicator-index.html - The main HTML file containing the application structure
- salesforce-deduplicator-styles.css - CSS styles for the application
- salesforce-deduplicator-processor.js - JavaScript that handles the XML processing and deduplication logic
- Download all three files and place them in the same directory
- Open salesforce-deduplicator-index.html in any modern web browser
- Add Salesforce XML profile content using one or both of these methods:
- Upload one or more XML files using the file input
- Paste XML content directly into the manual input area
- Click "Process XML Files" to deduplicate and merge the content
- View the resulting consolidated XML in the output area
- Use "Copy to Clipboard" to copy the result for use elsewhere
- Review the statistics section to see how many duplicates were removed
The tool works by:
- Parsing each XML file to identify permission blocks (e.g., userPermissions, objectPermissions, etc.)
- For each permission type, creating a unique identifier based on key attributes:
- For userPermissions: the name element
- For objectPermissions: the object element
- For fieldPermissions: the field element
- etc.
- Using these identifiers to detect and remove duplicates
- Generating a new XML file with all unique permissions
The tool handles deduplication for these permission types:
- userPermissions
- applicationVisibilities
- classAccesses
- fieldPermissions
- objectPermissions
- layoutAssignments
- tabVisibilities
- recordTypeVisibilities
- The tool runs entirely in your browser - no data is sent to any server
- XML parsing is done using regular expressions
- The output is formatted as a standard Salesforce profile XML file
- Detailed statistics show how many duplicates were found for each permission type
- Merging permissions from multiple profiles
- Combining development and production profiles
- Creating a consolidated profile for migration
- Auditing and cleaning up redundant permissions
- Generating a master profile with all permissions from multiple sources
If you encounter issues:
- Make sure your XML is valid Salesforce profile XML
- Check that the input XML includes the necessary opening and closing tags
- Try processing files individually if you're having issues with multiple files
- If the output appears empty, check that your input files contained supported permission types
This tool allows you to convert Salesforce profile and permission set XML into CSV format for easier analysis, comparison, and manipulation.
- salesforce-xml-converter-index.html - The main HTML file containing the structure of the application
- salesforce-xml-converter-styles.css - CSS styles for the application
- salesforce-xml-processor.js - JavaScript that handles the XML parsing and CSV generation logic
- Download all three files and place them in the same directory
- Open salesforce-xml-converter-index.html in any modern web browser
- Input your Salesforce XML in one of two ways:
- Paste directly into the text area
- Use the "Load from File" button to upload an XML file
- Select which permission types you want to extract using the checkboxes
- Click "Convert to CSV" to process the XML
- Download the resulting CSV files:
- Individual CSV files for each permission type
- Combined CSV with all permissions in one file
The tool can extract the following permission types from Salesforce XML:
- userPermissions - User-level permissions (e.g., "ViewSetup", "ApiEnabled")
- applicationVisibilities - App visibility settings
- classAccesses - Apex class access permissions
- fieldPermissions - Field-level permissions
- objectPermissions - Object-level permissions
- layoutAssignments - Page layout assignments
- tabVisibilities - Tab visibility settings
- recordTypeVisibilities - Record type visibility settings
- The tool runs entirely in your browser - no data is sent to any server
- XML parsing is done using regular expressions for speed and simplicity
- CSV files are properly escaped for compatibility with standard spreadsheet applications
- The tool supports large XML files (limited only by your browser's memory)
If you encounter issues:
- Make sure your XML is valid Salesforce profile or permission set XML
- Try with a smaller subset of the XML if you're processing a very large file
- Check that you've selected at least one permission type to extract
- Ensure all three files are in the same directory if running locally
- Compare permissions across multiple profiles
- Audit user permissions in your org
- Prepare permission data for import into other systems
- Generate reports about field-level security
- Analyze object permissions across profiles
This tool allows you to easily create Salesforce Permission Set XML files from CSV data. It helps Salesforce administrators and developers quickly build permission sets without manually creating XML.
- salesforce-permset-builder-index.html - The main HTML file containing the application structure
- salesforce-permset-builder-styles.css - CSS styles for the application
- salesforce-permset-builder.js - JavaScript code that handles the CSV parsing and XML generation logic
- Download all three files and place them in the same directory
- Open salesforce-permset-builder-index.html in any modern web browser
- Enter a name and description for your permission set
- Choose whether the permission set requires activation
- Add permissions by either:
- Uploading a CSV file
- Pasting CSV content directly
- Select the type of permission you're adding (User Permission, Object Permission, etc.)
- Click "Add Permissions" to process the CSV data
- Repeat steps 5-7 for different permission types as needed
- Click "Generate Permission Set XML" to create the XML file
- Copy or download the generated XML for use in Salesforce
The tool supports four types of permissions, each with its own required CSV format:
PermissionName,Enabled
EditTask,true
EditEvent,true
ManageUsers,false
Object,AllowCreate,AllowRead,AllowEdit,AllowDelete,ViewAllRecords,ModifyAllRecords
Account,true,true,true,false,false,false
Contact,true,true,true,false,false,false
Field,Readable,Editable
Account.Industry,true,true
Account.Type,true,false
Contact.Email,true,true
ApexClass,Enabled
AccountController,true
ContactService,true
- Easy Permission Entry: Upload CSV files or paste CSV content
- Multiple Permission Types: Support for user permissions, object permissions, field permissions, and class access
- Deduplication: Automatically handles duplicate entries
- Preview: See all added permissions before generating XML
- Downloadable Output: Save the generated XML directly as a file
- Salesforce Standard Format: Creates XML in the correct format for Salesforce metadata API
- The tool always sets the license to "Salesforce" as specified
- Boolean values in CSV can be represented as "true"/"false", "yes"/"no", "1"/"0", or "y"/"n"
- The tool handles XML escaping for special characters
- All processing happens in your browser – no data is sent to any server
Access for sales representatives
false
Sales Rep Access
Salesforce
true
EditTask
true
false
true
true
false
Account
false
true
Account.Industry
true
AccountController
true
- If you get an error while processing CSV, check that your CSV follows the required format for the selected permission type
- Ensure your CSV has a header row that matches the expected column names
- Make sure you've selected the correct permission type before clicking "Add Permissions"
- If you need to remove a permission, click the "✕" next to it in the Current Permissions section