Also another weird thing about report extension: Lets say you have two Applications, App "A" and App "B" where "B" is dependent on "A". If "A" App has report that modifies Record in "G/L Entry" for example and has appropriate Read/Modify permission property defined on the report. If you extend this report in "B" App and add there line of code that modifies something in "G/L Entry", you will run in to the Permission Error. Which means that Report extensions do not inherit Permission properties from the target Report and a bonus, you can not add this permission property to Report Extension.
This reminds me of the other mildly annoying extensions bug: You can't modify the PromotedActionCategories property on a page extension, but you can set the PromotedActionCategoriesML property to set your own extra promoted action categories per language. Thankfully this isn't really an issue with the new Promoted area and actionrefs
Dear Eric, we have a job queue entry for a codeunit, on run the job queue it will export xml files to specific path. we tried to run it from a server that have SQL and BC 19 on the same server, and the files are exported to the path (This path is on another Server), but the folder is shared on a local network. But when trying to run it from a server has access to the shared network, but the SQL is on another server and the BC19 on third server. we got an error on run the job queue entry as below: - Either the caller does not have the required permission or the specified path is read-only. we are using File.Create(SharedPath). => the above error appear on this function. Note: we used File.eritemode(true). The user have full access to the Shared Folder. The Shared folder is from the other server, and need to save on it. Could you please send me details how to solve this issue? Best Regards, Nav
It's not about if User has an access to the shared Network folder, User that NAV Service is running with (NAV Service User), should have access to the network shared folder.
hi Erik, i enter in a issue and maybe will be interesting for you to make a video about it :) After i create my own api´s, in BC there is any cool way to know if they are being used by other BC and store all the request ? thank you
"This video describes my day-to-day life."
Me too, especially recently
Also another weird thing about report extension:
Lets say you have two Applications, App "A" and App "B" where "B" is dependent on "A".
If "A" App has report that modifies Record in "G/L Entry" for example and has appropriate Read/Modify permission property defined on the report. If you extend this report in "B" App and add there line of code that modifies something in "G/L Entry", you will run in to the Permission Error. Which means that Report extensions do not inherit Permission properties from the target Report and a bonus, you can not add this permission property to Report Extension.
This reminds me of the other mildly annoying extensions bug: You can't modify the PromotedActionCategories property on a page extension, but you can set the PromotedActionCategoriesML property to set your own extra promoted action categories per language.
Thankfully this isn't really an issue with the new Promoted area and actionrefs
Hi Erik,
Was wondering if you've gotten a way round this report extension issue. Thanks
Nope
Dear Eric,
we have a job queue entry for a codeunit, on run the job queue it will export xml files to specific path. we tried to run it from a server that have SQL and BC 19 on the same server, and the files are exported to the path (This path is on another Server), but the folder is shared on a local network. But when trying to run it from a server has access to the shared network, but the SQL is on another server and the BC19 on third server. we got an error on run the job queue entry as below:
- Either the caller does not have the required permission or the specified path is read-only.
we are using File.Create(SharedPath). => the above error appear on this function.
Note: we used File.eritemode(true).
The user have full access to the Shared Folder. The Shared folder is from the other server, and need to save on it.
Could you please send me details how to solve this issue?
Best Regards,
Nav
It's not about if User has an access to the shared Network folder, User that NAV Service is running with (NAV Service User), should have access to the network shared folder.
@@Tsiqara13 thanks for your reply, yes also the user that run the bc service has full access
From an EU standpoint that looks so weird, the EU reports in the 1300 ID range are build way more reportextension friendly.
hi Erik, i enter in a issue and maybe will be interesting for you to make a video about it :)
After i create my own api´s, in BC there is any cool way to know if they are being used by other BC and store all the request ? thank you
Telemetry is your friend
The naming itself is strange in my sense. Why must something be protected to be reachable from outside?
Microsoft did not just get the report extension correct and they just messed it up. We have to copy the report and then modify the report.