on 01-13-2022 6:12 PM
Hello experts,
I have a requeriment where I need to open some documents in a file server from my MDK app.
In iOS App Files, I can connect to the server and it creates a new location where I can see the folders/files. Even this new location is visible too in others apps.
Example:
My question is if I can use the nativescript FileSystem module to access this location. In case I can, ¿How should I set this location to get the root content ? I have this:
documents = fileSystemModule.knownFolders.documents();
documents.getEntities()
.then((entities) => {
// entities is array with the document's files and folders.
entities.forEach((entity) => {
array.push(
{
name: entity.name,
path: entity.path,
lastModified: entity.lastModified.toString()
}
);
});
}).catch((err) => {
// Failed to obtain folder's contents.
console.log(err.stack);
});
Thanks
Regards,
Kiko
hello
@ming kho, is there any other way to put inside the app mdk these files documentation, for instance sharepoint, onedrive, etc.
we have a lot of technical documentation about equipment and we want to give direct access from our MDK app that we have developed.
Thanks.
Antonio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.