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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Calling Power Apps Custom Page from Model-driven

(0) ShareShare
ReportReport
Posted on by 405

Hi,

I created a custom page and after published, I'm planning to call this page (entry form) from a Main Grid of my Model-driven menu.

Here is my step :

  • Get my logical name of Custom Page         

pastedimage1651703598006v1.png

  • Create new Web Resource

function OpenCanvas()
{
var pageInput = {
	pageType: "custom",
	name: "new_newexpensecustom_e990e"
};
var navigationOptions = {
	target: 1
};
Xrm.Navigation.navigateTo(pageInput, navigationOptions)
	.then(
		function () {
		{
	).catch(
		function (error) {
		}
	);
}

  • Save and Publish
  • Go to my Model-driven, Edit in Preview, look for my menu (Subarea), click three dots for Edit command bar

pastedimage1651703748997v2.png

  • Choose Main Grid
  • Choose Add Command for new command button in that main grid.
  • Set for calling the Web resource ->

pastedimage1651703855421v3.png

After Save and Publish, nothing happened when I click that new button. 

I tried to add some alert, right after the function name, also didn't show when it is click. 

Anyone can help what did I missed ?

Thanks

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 192 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans