ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

codeunit 7201 "CDS Integration Impl."

Open Random-PasserBy opened this issue 3 years ago • 1 comments

When adding functionality extending the dataverse connection it currently appears to be impossible to open the connection to dataverse (on opening custom pages / reports) as all procedures in codeunit 7201 "CDS Integration Impl." are Scope OnPrem.

Could these procedures be made available for extension development? (Remove Scope OnPrem)

Thanx in advance.

Random-PasserBy avatar Jan 06 '23 11:01 Random-PasserBy

This is covered in https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/administration-custom-cds-integration#to-create-a-list-page-to-display-dataverse-workers Look at the code example. The OnInit method has one line - that is the line that registers the connection to Dataverse (given that the connection is set up correctly).

dcenic avatar Jan 16 '23 09:01 dcenic