web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Clone a record in dynamics crm

(1) ShareShare
ReportReport
Posted on by 10

Hi,

I want to have general solution for cloning records in all and custom entities in dynamics crm on-premise with javascript.

please help me

*This post is locked for comments

I have the same question (0)
  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    It's not javascript based, but there's a good Workflow solution called Snapshot (www.cobalt.net/dynamics-crm-snapshot). You can configure deep clones on records (an order and it's products for example).

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

     Aiden

  • Inogic Profile Picture
    703 on at

    We have a product Click2Clone with below features.

    •  Offers the ability to clone system as well as custom entities.
    •  Easy to configure with the ability to select the fields to be carried over.
    •  Allowed to carry over related records from 1:N and N:N relationships.
    •  Quickly clone multiple records at a time.

     You can try our product by following the below link.

     http://www.inogic.com/product/productivity-pack/click-2-clone-microsoft-dynamics-crm-records

     Hope this helps.

     Thanks!

  • Community Member Profile Picture
    on at
  • Alireza_atp Profile Picture
    10 on at

    thanks for your answer.

    but i want a general solution that can clone record for all entities.

  • Verified answer
    sathis kumar Profile Picture
    on at

    Hi,

    Please have look into this codeplex:https://msdyncrmworkflowtools.codeplex.com/wikipage?title=Clone%20Record&referringTitle=Documentation

    It will have the source code for clone records done using the custom workflow. I will recommend instead of using javascript you can call the on-demand workflow and run the workflow for cloning the record.

    6825.sample.png

    If you are using javascript you can enable the rules for single selection record and popup the record in the new window which also can be achieved by following steps: 

    1. Create a new action and use the cloned record custom workflow. 

    2. In Action, return the clone record  GUID in the Output parameter.

    3. Javascript to call the Action (https://processjs.codeplex.com/

    4. Show the Popup Record based on the GUID Returned in the Action.

    Regards,

    Sathis

  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Snapshot does work for any record. There's a configuration screen where you can configure the entity you want to clone, any relationships you're cloning, and fields you want to exclude from the clone.

    Let's say you had a customer who orders the same thing regularly. You'd configure it to clone the order and it's line items, but exclude the order status. When you run the workflow you'd have a open order with the line items ready to be paid.

    Thanks,

     Aiden

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Alireza,

    You may check this link https://www.work365apps.com/record-clone This App can Clone any entities including the custom entities as well.

    Hope this helps :)

  • Suggested answer
    Community Member Profile Picture
    on at

    Use this URL to solve your query with script

    community.dynamics.com/.../278085

    Thanks

  • Zap Objects Profile Picture
    924 on at

    You can take trial of ZapObjects Copy Record App too:
    https://zapobjects.com/apps/zap-copy-record/

    This app allows copying or cloning of records in single click!

  • Community Member Profile Picture
    on at

    @alireza you got any solution ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans