If a client is using RTC Pages only, i.e. without forms, should standard code be replaced?
E.g. should FORM.RUN be changed to PAGE.RUN assuming the page already exists?
I am pretty sure it is a yes but need confirmation.
If form is existing then no need to change..NAV will automatically convert it as Page..
Thanks for the reply.
But if a new function needs to be added to a page, I guess the function should not be added to the form only, just replace the global variable from Form to Page to call the new function.
I don't think NAV will automaticaly convert a form to a page. If you call a codeunit containing a FORM.RUN from a Role Tailored Client environment, NAV will check if there is a corresponding page available (corresponding = page with the same ID). If the page doesn't exist you can transform the form to a page yourself by using NAV transformation tool, but NAV won't do that automaticaly...
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks for the reply.
But if a new function needs to be added to a page, I guess the function should not be added to the form only, just replace the global variable from Form to Page to call the new function.
It doesnot mean that it will convert the form to page..
it means that it will convert Form.Run to Page.run..
I should have been more clear
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
And yes if it's new code you are adding and you are only implementing for RTC use the PAGE command and not the FORM one...
Also only add functions to PAGEs if you can't add them on the table itself or in a codeunit....
http://www.mibuso.com/dlinfo.asp?FileID=1123