Error when extending "Printer Management" page for cloud development
When we try to extend the "Printer Management" page then we get the following error: "The type or method 'Printer Management' cannot be used for 'Cloud' development'. We tried this on Business Central 17 and 18.
This should be allowed according this yammer post (https://www.yammer.com/dynamicsnavdev/#/threads/show?threadId=391013287624704)
@JesperSchulz
We'll investigate. Stay tuned!
I've transferred the issue to our compiler team. I can't quite make sense of the error.
The Printer Management page uses the virtual table Printer (2000000039) as source table and this table is marked with Scope OnPrem. When creating a page extension in AL, you get access to the source table (Rec) which is why the AL compiler does not allow to extend a page that has an OnPrem source table within a Cloud extension.
We have created repair items for improving the error message from the compiler and to update the online documentation about the Scope attributes and properties to mention this scenario.