Created
October 29, 2017 21:53
-
-
Save pawelgradecki/80a4d6dea3ca92d82b4feaee17acf45f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function openFile() { | |
var file = { | |
fileContent: "bXkgc2VjcmV0IGNvbnRlbnQ=", //Contents of the file. | |
fileName: "example.txt", //Name of the file. | |
fileSize: 24, //Size of the file in KB. | |
mimeType: "text/plain" //MIME type of the file. | |
} | |
Xrm.Navigation.openFile(file, 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment