My question in short is whether there is a way to access the pictures stored in the phone through NAV using the Camera dotNET variable or any other alternative suggested method.
We have added an action to the location card to be able to capture pictures from the camera directly into it (to a new picture field). For that we use the Camera.RequestPictureAsync function (.NET variable: Microsoft.Dynamics.Nav.Client.Capabilities. CameraProvider.'Microsoft.Dynamics.Nav.ClientExtensions'). This works fine, more or less what described here:
However we would like to have another option that allowed the users to select the pictures that are already stored in their phones (instead of taking the picture through the camera). So they take the picture(s) first and later, from the location card, select "Upload Pictures" and browse through the pictures/files in the phone and select them for uploading (ideally several pictures at a time, as we have several "picture" fields).
I have done an experiment using the File Management, openFileDialog function, but it does not work (The operation cannot complete beacuse it uses a feature that is not supported (.NET framework interoperability).
gteFileName := FileMgmt.OpenFileDialog('Select File','',Text50001);
That is expected, it is described in the client limitations:
Any suggestion would be appreciated.