Resolve the problem with "ms-visio nft" (New From Template)
“Using the Visio ms-visio:nft function does not set the Save As location.
For example, when using...
This should create a new Visio drawing based on the template given, and set the default save location to that specified with the 's' command.
What happens though is the Visio file is created, but the default save location is NOT set which is a major problem for our integration.
This doesn't work for any Visio template. We can reproduce on any version of Visio and with local and http file locations.
There is no error reported.
Note: the same function DOES work for MS Word: ms-word:nft|u|https://[path]/Test.dotx|s|https://[path]”
Rupert Colbourne commented
To clarify: when creating new Visio diagrams from within a SharePoint document library, there is no way for the user to easily save back to the Document Library from where they initiated the create of the diagram.
A workaround should be possible by creating a script that calls the ms-visio:nft command and by setting the destination location using the "s" command.
This works for other Office applications, but NOT Visio.