GithubHelp home page GithubHelp logo

rahulmalhotra / sobjectconvertor Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 8.0 52 KB

sObject Convertor is a utility application to convert record of one sObject into another sObject in salesforce.

License: BSD 3-Clause "New" or "Revised" License

CSS 3.12% JavaScript 64.42% Apex 32.46%
salesforce salesforce-lightning salesforce-developers salesforce-lightning-components lightning-component lightning-design-system lightning-experience sobject sobject-convertor apex

sobjectconvertor's Introduction

sObject Convertor Tweet

sObject Convertor is a utility application to convert record of one sObject into another sObject in salesforce.

Getting Started

sObject Convertor can be used to convert one or more records of one sObject to another sObject. You can simply map the fields from source sObject to destination sObject. This sObject mapping can be saved and further utilized in future.

Prerequisites

There are no such pre-requisites for installing and using this application. I still recommend you to use salesforce org with API Version 42.0 or above which I believe you have already, as I too have tested this application on that. If you want to download the code in your local system, you can do it by the executing the below command or downloading the code directly as a zip file.

git clone https://github.com/rahulmalhotra/sObjectConvertor.git

Installing

sObject Convertor is very easy to use. You can install this application in your salesforce org by using the deploy to salesforce button present in the deployment section of this readme. Installing this will add the following to your org :-

  1. SObjectConvertor - Lightning Component
  2. SObjectConvertorApp - Lightning Application
  3. SObjectConvertorController - Apex Class

You can open any record detail page in lightning or the homepage and add this application to your page by following the steps below :-

  1. Click on the settings (gear) icon among the icons in the top right corner of your org and click on Edit Page.
  2. Search for the component named "SObject Convertor" in the search box on the left.
  3. Drag and drop the component to place it on the screen.
  4. Save your changes and activate as default if needed.

sObject Convertor is now ready for use.

Deployment

You can deploy sObject Convertor application directly to your org by clicking the button below

Deploy to Salesforce

Tools and Softwares used

You just need a salesforce org to run this application. If you want to make any changes in the code, you can do that by using the developer console provided by Salesforce. However I like to use mavensmate to keep a local copy of code on my system too. So below are the tools or softwares I use personally :-

Todo

  • Update previous mapping on save if existing mapping is used.
  • Add validations on the client side to ensure mapping of fields with similar data type.
  • Option to delete the existing mapping.
  • Adding a checkbox to delete the source object while creating destination object.

Contributing

Please read CONTRIBUTING.md for details on code of conduct and the process for submitting pull requests.

Authors

License

This project is licensed under the BSD 3-Clause License - see the LICENSE.md file for details.

sobjectconvertor's People

Contributors

rahulmalhotra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sobjectconvertor's Issues

Checkbox to delete the existing records on successful creation of new records

sObject Convertor application should have a checkbox at the bottom that will delete the existing records as they are converted. When the checkbox is marked as checked, only those records should be deleted from the system which are converted successfully on clicking the Convert Records button. The label of checkbox is defined as - Delete source sObject records

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.