Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Script on Data Import

Posted on by 40

Is it possible to run a script on data that is imported into dynamics? I have a script that pulls a Region based on zip code when zip code field changes, however when you import data this script is not called. Any options?

  • Shiva.B Profile Picture
    Shiva.B 150 on at
    RE: Script on Data Import

    Hi ttorbik,

    the javascript run only client side it will not execute server side, importing data will run in the server side so javascript will not execute.

    Better option for this use plugin on create of record.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Script on Data Import

    Hi,

    If by the script you mean JavaScript then it is expected cause JavaScript executes only on client side. You can build custom workflow activity to perform the same task and call that activity from out of box workflow. This workflow you trigger on create/ update of field.

    This should work on data import as well.

    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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans