Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature-Contribution] File Accounts #22691

Open
IceOnly opened this issue Mar 23, 2023 · 4 comments · May be fixed by #23225
Open

[Feature-Contribution] File Accounts #22691

IceOnly opened this issue Mar 23, 2023 · 4 comments · May be fixed by #23225
Assignees
Labels
approved The issue is approved Integration GitHub request for Integration area

Comments

@IceOnly
Copy link

IceOnly commented Mar 23, 2023

I would like to contribute a file account module that is structured like the mail account module.
I would connect the Azure Blob Storage Module as a standard connector.

The interface provided would provide the following procedures:

interface "IFile Access"
{
    procedure DownloadFile(Path: Text; var TempBlob: Codeunit "Temp Blob");
    procedure UploadFile(Path: Text; var TempBlob: Codeunit "Temp Blob");
    procedure FileExists(Path: Text): Boolean;
    procedure DeleteFile(Path: Text): Boolean;
    procedure CreateDirctory(Path: Text): Boolean;
    procedure DirctoryExists(Path: Text): Boolean;
    procedure DeleteDirctory(Path: Text): Boolean;
    procedure ListDirectory(Path: Text): List of [Text];
    procedure CombinePath(ParentPath: Text; ChildPath: Text): Text;
}

Is there interest in there?
Which number range should I use?

@pri-kise
Copy link
Contributor

pri-kise commented Mar 23, 2023

@IceOnly could you provide some insights on which API you are referring (e.g. some links to the API documenation)?
I don't quite understand what you would like to provide for the system applicaiton.

You've written mail module, but I think you are referring to the blob storage module ..?

Number Ranges can be changed afterwards. You could start developing with the PTE range and renumber it later to an approriate ID Range.

But you maybe should wait with development until some basics will have been discussed here.

Because of the upcoming the BC22 release the response time of some microsoft employee (e.g. @JesperSchulz ) might be a little longer.

@IceOnly
Copy link
Author

IceOnly commented Mar 23, 2023

I would like to provide a module that unifies access to different file services.
The main structure should be the same as the Email Framework:
https://github.com/microsoft/ALAppExtensions/tree/main/Modules/System/Email

With a Wizard to create new File Service Accounts and assign senarios to it scenario.
With the framework I would deliver a base implementation for Azure BlobStorage.

With Extension Apps, new File Service can be added (e.g. DropBox, OneDrive, etc.)

The Target is to abstract the communication to different File Service Provider.

@JesperSchulz
Copy link
Contributor

This work is in progress: microsoft/BCApps#663. As we don't need to track this work in this repo any longer, I am closing it :-)

@JesperSchulz
Copy link
Contributor

Reopening, as the file connectors will get delivered as 1st party apps.

@JesperSchulz JesperSchulz reopened this Jan 8, 2025
@JesperSchulz JesperSchulz added approved The issue is approved Integration GitHub request for Integration area labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved The issue is approved Integration GitHub request for Integration area
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants