ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Request for External] Document Service Management

Open bleisibach opened this issue 6 years ago • 9 comments

OnPrem we use the "Document Service Management" (COD 9510) to store documents on Sharepoint and to call them up again. We would like to use these functions in the cloud as well.

  • Can you allow access on table 2000000114 "Document Service" in scope "Cloud"?
  • Remove [Scope('OnPrem')] on functions in codeunit 9510 "Document Service Management"?

Thank you!

bleisibach avatar Aug 20 '20 07:08 bleisibach

@StanPesotskiy Is there any indication if and when we can expect this feature? Thank you.

bleisibach avatar Nov 09 '20 08:11 bleisibach

@bleisibach Thank you for your suggestion!

However, the requested function operates with file paths and there are security concerns when opening such functions for cloud development. As for the table, we try to hide tables behind APIs.

Document Service is a great idea for a new system module! Would you be interested in developing such a system module? I promise I'll help on the way. Let me know if you need more information.

mazhelez avatar Nov 12 '20 14:11 mazhelez

If you want to learn more about what it takes to develop a new AL Module, you can read more here aka.ms/NewALModule.

JesperSchulz avatar Nov 12 '20 15:11 JesperSchulz

@bleisibach Just letting you know that we created a work item on our backlog to reenable Document Service for cloud.

Unfortunately, however, I cannot promise any delivery point in time.

mazhelez avatar Nov 22 '20 19:11 mazhelez

Thank you @mazhelez for putting this on the list.

The suggestion to advance the topic as an AL Module was tempting. Unfortunately, we currently lack the necessary resources.

We currently only need a minimally small part of the code unit:

  • TestConnection
  • SaveStream
  • OpenDocument

And of course we need access to the table 2000000114 "Document Service" to save the setup. So everything without file access etc ...

Thank you anyway!

bleisibach avatar Nov 23 '20 09:11 bleisibach

Enable "Document Service" for cloud is now set as candidate for 2021 Wave 2. We will have to do some work on the authentication bit as well to make this work properly in a cloud setting.

JesperSchulz avatar Nov 23 '20 10:11 JesperSchulz

@Jesper: thx for enabling the functionality. Unfortunately, all the functions in codeunit "Document Service Management" are still scoped to On-prem and are file based too. Why this? We want to use it on SaaS to upload our own documents as a stream.

redIT-LoPf avatar Nov 19 '21 09:11 redIT-LoPf

I would have to get back to you on this one. We haven't gotten around to address this request yet and I'm not sure if we're going to, as we're working on a similar story around OneDrive. Those are the changes you're seeing in that codeunit! Let me ask someone who knows a little more about our plans to reply to this thread.

JesperSchulz avatar Dec 03 '21 09:12 JesperSchulz

Discussion will continue in new issue created.

JesperSchulz avatar Dec 03 '21 09:12 JesperSchulz