Now select the field WebPageViewer and open its property. Press F6 in ControlAddIn Property and select "Microsoft.Dynamics.Nav.Client.WebPageViewer".
After doing this you will get property assigned in controlAddIn as below.
ControlAddIn Microsoft.Dynamics.Nav.Client.WebPageViewer;PublicKeyToken=31bf3856ad364e35
Now, Select Field WebPageViewer and press F9 to see the C/AL Codes.
WebPageViewer - OnAssistEdit()
WebPageViewer - OnControlAddIn(Index : Integer;Data : Text)
WebPageViewer::ControlAddInReady(callbackUrl : Text)
CurrPage.WebPageViewer.Navigate('https://navcourse.blogspot.com/');
WebPageViewer::DocumentReady()
WebPageViewer::Callback(data : Text)
WebPageViewer::Refresh(callbackUrl : Text)
CurrPage.WebPageViewer.Navigate('https://navcourse.blogspot.com/');
As shown above,add CurrPage.WebPageViewer.Navigate('https://navcourse.blogspot.com/'); in WebPageViewer::ControlAddInReady trigger
and
add CurrPage.WebPageViewer.Navigate('https://navcourse.blogspot.com/'); in
WebPageViewer::Refresh(callbackUrl : Text) trigger
Now everything ready, save the page as "My Demo Web Page Viewer" and run it. You will get the result as below.

Like
Report
*This post is locked for comments