Search code examples
dynamics-crmdynamics-crm-2013

Dynamics 2013 How can I set the modified on value for activities that I am importing?


I am attempting to import a large database into Dynamics 2013, which has a lot of activities against Accounts and Contacts. When I import the Phone Calls/Emails etc. they all appear in the Activity feed labeled as today. I have Over-ridden the Created on date, but the feed is ordered by the modified on column.

If this was for on premises I'd just go into the database and run an SQL query, but since this is destined for Online that's not an option, I have tried creating a plugin but that seems to ignore/over-ride the change.

Has anyone got any inspired ways of over-riding the modified on date?


Solution

  • You cannot set the value of ModifiedOn in a Online organization. There is no CRM SDK call that will allow the setting of the ModifiedOn date of a record. Therefore without SQL access, as you state in your question, this value cannot be changed.