Skip to main content

Notifications

Dynamics 365 general forum

Update all records in entity in a user friendly manner

Posted on by 105

Hi,

An entity has many records with a date field and I want to change that date field on ALL records in a user friendly way.

As these records may amount to more than 250, increasing the amount of shown records, select all then bulk edit will not work smoothly as you have to go to the second and/or third page edit them all.

Exporting all records to excel, updating and then importing is a last resort.

I'm thinking of creating a new entity with a date field and an onSave trigger that triggers a JavaScript web api. The js will get date from the newly created post, loop through all records in the target entity and inside the loop it will update each record.

Do you think this will work or do you have any other suggestions?

Thanks!

Kind regards

Viktor

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Update all records in entity in a user friendly manner

    Hi,

    You can use

    1.) Microsoft Flow

    dynamicscrmpros.com/microsoft-flow-functionality-and-use-cases

    2.) Console Application

    3.) Bulk Workflow Execution Tool

    www.powerobjects.com/.../how-to-bulk-update-crm-records-using-the-bulk-workflow-execution-tool

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Update all records in entity in a user friendly manner

    Hi,

    I don't think creating a new entity with custom JavaScript code to update the records is a good idea. It is too much effort for this task. Why is excel export/import doesn't suits you? You can also go for Excel Online in that case you don't need to do any export or import, you can simply open in excel online, update the records and save it.

    You can also try Bulk Data Update plugin in Xrm toolbox. Other option is to have an ondemand real time workflow which updates the value and then use the bulk workflow execution tool from Xrm toolbox to run it on all the desired records.

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans