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

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Fire custom .JS without having to open the form after record is created from integration

(0) ShareShare
ReportReport
Posted on by 160

Good Morning,

I have a scenario where I need custom .JS to fire after record is created via integration without having to open the form.  Right now the only way I can run it is to have it as on onload/onsave form property but this requires me to manually open the record and save. What I'm attempting to do is have it fire after the record is created via integration so the user does not have to manually open the record. I've tried putting the JS as an editable grid event, but is not working. Any recommendation would be appreciated!! Thanks

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Unfortunately client side code will not trigger when you create record from integration.

    What you can do is to replace Javascript code with plugin /workflow/Business Rule with scope Entity

  • kcpacker85 Profile Picture
    160 on at

    Thanks Bipin, I need to keep the Javascript code. Do you know if it's possible to call my Javascript function as a step in a workflow?

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Not possible to call javascript function from workflow step.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 69 Super User 2026 Season 1

#2
BillurSamdancioglu Profile Picture

BillurSamdancioglu 55 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans