I have just run into an issue where a user was saving a map using the fileReference.save method and it was saving without a file extension. When the save file dialog box opens, the file extension is not visible. Instead of showing up as map.pdf, it just shows map. The user clicks save and it saves the file without a file extension.
fileReference.save(myPDF.save(Method.LOCAL), "Map.pdf");
I checked the users folder options and she had the hide file extensions for known file types option enabled. I came back to my desk and enabled that option and the file extension was gone in the save file dialog box for me as well. As I cannot control how my users select to customize their desktops, is there a way to fix this? Has anyone else run into this?