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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Custom page is blank

(0) ShareShare
ReportReport
Posted on by 103

As a test, I created a simple custom page with only one text field and some static text.  When I preview the page, I can see the text.  However, when I launch the custom page from the app as a modal dialog, I only see the title of the modal.

Here is the code:

let pageInput = {
            pageType: "custom",
            name: "effectivedate_12f18"
        };
        
        let navigationOptions = {
            target: 2,
            position: 1,
            width: {value: 50, unit:"%"},
            title: "Effective Date Change"
        };

        Xrm.Navigation.navigateTo(pageInput, navigationOptions).then(
            function success() {
                //test
            },
            function error() {
            }
        );  

This is what I see from the preview:

effectivedatebefore.png

This is what I see from the app:

effectivedateafter.png

I have the same question (0)
  • Verified answer
    DAnny3211 Profile Picture
    11,391 on at
    RE: Custom page is blank

    hi

    It seems like there might be an issue with the code you provided. Without more information or the full code, it's difficult to determine the exact problem. However, here are some potential issues that could be causing the behavior you described:

    Check that the control you are using to display the text is set to visible. It's possible that the control is there, but it's not visible due to a property being set to false.

    Double-check that the page is being called correctly when launching the modal dialog. Make sure the correct page ID is being passed as a parameter and that the code is correctly referencing the page.

    Check that the modal dialog is not set to a fixed width and height that is too small to display the text field. You can adjust the width and height properties of the modal dialog to ensure it can properly display the content.

    Review the code for any potential syntax errors or logical errors. It's possible that there is an error in the code that is causing the issue.

    If none of these solutions work, please provide more information and the full code so we can further investigate the issue.

    DAniele

  • Verified answer
    Eiken Profile Picture
    on at
    RE: Custom page is blank

    Hi,

    I encountered the same situation as you during my testing.

    Try to clear your browser cache and refresh the app editor browser, you can add the page into the app for testing, like I did.

     pastedimage1679282884957v2.png

    By the way, don't forget to click publish in custom page and make sure the name of page is correct.

    pastedimage1679283000634v3.png

    Then open the app and refresh the  try again.

    pastedimage1679283057536v4.png

  • Verified answer
    Abby Kong Profile Picture
    6 on at
    RE: Custom page is blank

    Hi MZ 980,

    Can you check below three things:

    1.  Custom Page Schema name is correct

    effectivedate_12f18, this name doesnt have prefix, this doesn't look right. Can you double check, it should be the have some thing like new_ or other in front

    2. Changes on the custom page is published.

    Preview is the saved version and what shows in Model-driven App is the live version. You can also find out which one is the current live version through version history.

    3. In Model Driven App, if there is message about new version of the app available is shown, please refresh the page (better with CTRL+F5 :)).

    Regards,

    Abby

  • Suggested answer
    MZ_980 Profile Picture
    103 on at
    RE: Custom page is blank

    Thanks for responding.  I tried everything from all the responses, yet no changes.  However, after a couple of days, I was able to launch my custom page.  Weird.

  • Suggested answer
    MZ_980 Profile Picture
    103 on at
    RE: Custom page is blank

    Thanks for responding.  I tried everything from all the responses, yet no changes.  However, after a couple of days, I was able to launch my custom page.  Weird.

  • Suggested answer
    MZ_980 Profile Picture
    103 on at
    RE: Custom page is blank

    Thanks for responding.  I tried everything from all the responses, yet no changes.  However, after a couple of days, I was able to launch my custom page.  Weird.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 85 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 57 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans