Describe the bug
When adding the systemuser table to the app, the generated service SystemusersService.ts includes an upload method that references client.uploadFileToRecord(...), which doesn't exist. This breaks build.
Steps to Reproduce
pac code add-data-source -a dataverse -t systemuser
npm run build
- Error:
src/generated/services/SystemusersService.ts:77:52 - error TS2339: Property 'uploadFileToRecord' does not exist on type 'DataClient'.
Expected behavior
Expected to not have any methods in the service that aren't supported.
Actual behavior
The missing method breaks build.
Screenshots or Error Messages
npm run build results in:
> power-apps-template-starter@0.0.0 build
> tsc -b && vite build
src/generated/services/SystemusersService.ts:77:52 - error TS2339: Property 'uploadFileToRecord' does not exist on type 'DataClient'.
77 const result = await SystemusersService.client.uploadFileToRecord(
~~~~~~~~~~~~~~~~~~
Found 1 error.
Environment information
- pac version: 2.7.4+g06bb2eb
- power-apps-vite version: 1.0.2
- vite version: 7.3.1
- react version: 19.2.4
Additional context
N/A
Describe the bug
When adding the
systemusertable to the app, the generated serviceSystemusersService.tsincludes anuploadmethod that referencesclient.uploadFileToRecord(...), which doesn't exist. This breaks build.Steps to Reproduce
pac code add-data-source -a dataverse -t systemusernpm run buildsrc/generated/services/SystemusersService.ts:77:52 - error TS2339: Property 'uploadFileToRecord' does not exist on type 'DataClient'.Expected behavior
Expected to not have any methods in the service that aren't supported.
Actual behavior
The missing method breaks build.
Screenshots or Error Messages
npm run buildresults in:Environment information
Additional context
N/A