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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Run JS function from a custom button on a custom page

(1) ShareShare
ReportReport
Posted on by 11
Hello everyone,
 
I'm new to developing and extending Dynamics 365.
 
On the "Opportunities" page, there's a button in the command bar that opens a custom page as a pop-up. This custom page contains two buttons.
I want the "Send" button ("Senden") on this custom page to trigger a cloud flow and pass parameters to it. The logic is implemented in JavaScript, which I've added as a web resource.
 
While I have no issues calling my JavaScript functions from buttons on the command bar, I'm struggling to figure out how to hook up my JS function to the button on this custom page.
 
Any advice or guidance is appreciated.
 
Kind regards
Jürgen
 
I have the same question (0)
  • Verified answer
    CU07050539-0 Profile Picture
    11 on at
    Simply not possible. I solved this one via Cloud-Flows. Can be closed :)

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans