Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Import data (Created on, Created by)

Posted on by

Dear All:

I want to import data (Notes) from CSV files where 'created on' and 'created by' field is available. It allows to import all data except these two fileds. But, these two fileds are very important. How can I import data with these two fields. 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import data (Created on, Created by)

    first you had to edit your .csv files to add missing column and data, in this case you have to use microsoft excel.

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Import data (Created on, Created by)

    Createdby - no way. Period.

    CreatedOn - during data import/integration if it’s record creation then overriddencreatedon is the only possible route. This is one of the MS blessings, as when the legacy createdon is passed on to this overriddencreatedon field platform will write it to createdon, and the imported time will be in overriddencreatedon. Basic swapping.

    [View:https://joshimandarblog.wordpress.com/2015/06/16/did-you-know-value-for-overriddencreatedon-is-swiped-with-createdon-at-database-level/]

    More detailed answer:

    [View:https://stackoverflow.com/a/51403272/7920473]

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Import data (Created on, Created by)

    Hi ,

    Created On is System Field , you can not change the created on at the time of create through import wizard as this  field with internal business logic.  For Created By field you can easily update with User Name , make sure you are putting proper User Name to identify the user.

    To override created on check this article -

    blogs.msdn.microsoft.com/.../the-truth-about-override-created-on-or-created-by-for-records-during-data-import

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import data (Created on, Created by)

    Hi,

    You can use migration tools to solve the problem for created on but "created by" will not be changed. Generally, "created by" and "created on" are default fields for crm that performs audit based on the records so it can not be changed anytime in system. Basically they are locked fields inside the environment.

    Alternate solution:

    Follow the steps:

    1. Create two separate fields named as "Legacy Created on" and "Legacy Created By" using customization.

    2. Perform the import data and map the CSV files data with the new fields created in step 1.

    3. Once the import is successful you can change the add both the Legacy fields inside the form using customization.

    4. "Created on" will have the date you imported the data and "Created by" will have the name of user who did the import. These fields will be available in the footer but just ignore it and ask client to look for "Legacy Created on" and "Legacy Created By" fields.

    Hope this helps.

    If you have any questions, feel free to let me know.

    Thanks,

    Jay

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Import data (Created on, Created by)

    Created on you can override that's not an issue by using Override Createdon field. However Created by field is something you will have issues with.

    Try to explore some migration data tools.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import data (Created on, Created by)

    Hi Taher Ali,

    You can try to import the needed data from CSV file to Microsoft Dynamics CRM with a help of an automated data migration Data2CRM. It allows you to import data from CSV files directly to Dynamics. That means you just download the CSV file into the system without converting it into another file format before migration. It also saves all the relations between the records.

    Data2CRM also gives you the ability to see how your data will look in Dynamics by running a Demo Migration. It's free, quick, and you can run it as many times as you want.

    I hope my answer will help. Good luck!

  • Leon Tribe Profile Picture
    Leon Tribe 7,034 on at
    Re: Re: Re: Import data (Created on, Created by)
    You can't through the import wizard, just like you can't set the owner. You may be able to do it through the migration manager but I don't know. While I'm loathe to endorse it, you may need to do direct updates to the SQL tables for this one. Hopefully someone else will have a supported solution. Leon Tribe Want to hear me talk about all things CRM? Check out my blog http://leontribe.blogspot.com/
  • Taher Ali Profile Picture
    Taher Ali on at
    Re: Re: Import data (Created on, Created by)

    Actually, I have the data and columns in my CSV file. But, when I want to import data, it says that you can not edit this field (created date, created by). If I remove these two fileds from my CSF file, I can import data.

    But, these two fields are very important and I want to import created on and created by from my CSV files. Please help.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Import data (Created on, Created by)

     You'll have to edit your .csv file yourself add the missing colums and data.

    You can do this either by opening the file in notepad, but also excel can do this for you.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans