Coder Social home page Coder Social logo

p-adrian05 / object-conversion-tool Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.18 MB

Salesforce SObject Conversion Tool for converting records efficiently between different object types with providing a user-friendly interface

License: MIT License

Apex 59.18% JavaScript 28.00% HTML 12.43% CSS 0.39%
lightning-web-components lwc object-mapping object-mapping-tool salesforce salesforce-apex

object-conversion-tool's Introduction

Object Conversion Tool

Salesforce SObject Conversion Tool for converting records efficiently between different object types with providing a user-friendly interface for configuring the conversion.

Object Mapping Setup Tool

The Mapping Setup Tool for setting up custom and standard object field mappings for object conversion can provide a user-friendly interface for configuring the mapping of fields between different objects.

  • The LWC could include features such as add, edit and delete field mappings, and the ability to save, load, reload and delete the mapping configurations.
  • It allows to select the source and target objects and fields and to traverse up to 5 levels of relationships.

img.png In the example below the Opportunity object type is selected as the source object and the Order object type is selected as the target object. img.png In the example below the Opportunity Product object type is selected as the source object and the Order Product object type is selected as the target object. img.png

Object Mapping Layout Setup Tool

The Mapping Layout Setup Tool for setting up predefined layouts for object conversions that can be selected by the user before the conversion.

  • It can be used to define the parent and child object mappings in any combination for the conversion for the selected object type.
  • The LWC could include features such as add parent and child mapping relations, and the ability to save, load and delete the layout configurations.
  • Also provide to set up filters for child mappings.

img.png

  • In the example below the parent mapping is set up for the Opportunity object and the child mapping is set up for the OpportunityLineItem object.
  • The Opportunity in set up to convert to Order and the OpportunityLineItem is set up to convert to OrderItem.

img.png

  • To use the layout setup, you have to create an action on the selected object with using the Screen Flow named Single Record Creator Screen:

img.png

  • Then put the action to the page layout of the selected object and you can use the button to convert the actual record selecting the object mapping layout.
  • It is possible to mark the selected mapping layout as default that will be selected automatically when you click on the action.

img.png

  • After clicking the Convert button if the conversion is successful, you can view the created records with all the related child records on it by clicking the View Created Record button.

img.png

object-conversion-tool's People

Contributors

p-adrian05 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.