Can M-Files bring Send as a PDF back please???

Our company use this feature multiple times per day. Removing this in the latest updates seems like a massive oversight!

Can this please be returned ASAP!!



  • Hi everyone,

    The BuiltinCommand named "BuiltinCommand_SendPDFByEmail" still works. When creating a client application, you can simply call this command.

    On GitHub, there is an example for built-in commands:

    Here is the source code for the "appdef.xml" file:

    <?xml version="1.0"?>
    <application xmlns:xsi="" xsi:noNamespaceSchemaLocation="">
    	<name>Custom Command Send PDF</name>
    		<module environment="shellui">

    Here is the source code for the "main.js" file:

    "use strict";
    function OnNewShellUI(shellUI) {
        shellUI.Events.Register(Event_NewShellFrame, newShellFrameHandler);
    function newShellFrameHandler(shellFrame) {
        shellFrame.Events.Register(Event_Started, getShellFrameStartedHandler(shellFrame));
    function getShellFrameStartedHandler(shellFrame) {
        return function () {
            var command1 = shellFrame.Commands.CreateCustomCommand("Send as PDF by E-mail");
            shellFrame.Commands.AddCustomCommandToMenu(command1, MenuLocation_ContextMenu_Bottom, 0);
            shellFrame.Commands.Events.Register(Event_CustomCommand, function (command) {
                if (command == command1) {
                    shellFrame.Commands.ExecuteCommand(BuiltinCommand_SendPDFByEmail, null);

Reply Children
No Data