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:
This is what I see from the app:
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.
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.
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.
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
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.
By the way, don't forget to click publish in custom page and make sure the name of page is correct.
Then open the app and refresh the try again.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156