microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
747 stars 245 forks source link

How can we call a function like: OpenFileDialog #220

Closed bvbeek closed 7 years ago

bvbeek commented 7 years ago

Call to Codeunit 419: FileManagement.OpenFileDialog

Now I get the error: 'The type or method 'OpenFileDialog' cannot be used for 'Extension' development.'

StanislawStempin commented 7 years ago

What is the scenario that you need to support? Can you use File.UploadIntoStream instead?

bvbeek commented 7 years ago

Ok, I think we can handle this with your suggestion: UPLOADINTOSTREAM

You can close this for now.