We have a custom RTC add in (a schedule control) and need to be able to navigate to another page from it (for instance, when the user wants to view appointment data).
Currently I'm creating a new process with a file name that reads something like this "DynamicsNAV://server/service/company/runpage?page=50100&bookmark=MyBookmarkKey"
However, this is opening a new copy of the RTC, and is causing us issues.
We need to be able to navigate to a different page in the same copy of the RTC from inside a custom add in.
Can someone explain how my C# add in can send a command back to the RTC and tell it to navigate to a different page?
Thanks.
0
Comments
You can call that from C# and pass values and in NAV add code to this trigger to open the required page.
Your code in C# will look something like this
this.RaiseControlAddInEvent(index, data);
In NAV you can add code
if Index is 10, then
Page.runmodal(10);
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n