You may have noticed that when we try to edit Report Layout from Custom Report Layouts Page, it always open in Word or Report Builder no direct option to edit it in Visual Studio.
This requirement leaded to the necessity of the below customization, It can be done other ways also but the easiest way to do it one which i am going to discuss in my today's post. Hope you will like it.
I have provided with the option where user can select the desired Editor either he wants to open it in Report Builder or Visual Studio.
To achieve this i have added one field in Table 9650 - Custom Report Layout with desired options as shown below.
And made this field available in Page Custom Report Layouts - 9650 as shown below.
Now in Codeunit 9652 - Edit RDLC Report Layout I have replaced the code shown in Yellow with the code shown in Red box.
Thats all, what you are waiting for go-ahead and design the reports in your way.
I will come up with more other topics in my upcomming posts, till then keep practicing and learning.
No comments:
Post a Comment