BaseExtensions can be used to select a specific template in Word, PowerPoint, and Excel.
Module is located here:
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\01_WPE_fileMenu.xml
CMD
<Cmd case="BaseExtensions:exec" path="x" filter="x" xfilter="x"/>
Parameters:
path
There are several ways to define the path. We are able to use the direct path or from the Content folder, e.g. path="Content\BaseExtensions"
.
It is possible to define the path like this path="%usertemplates%"
. This will point to the files located in this path: ...\AppData\Roaming\Microsoft\Templates
. It is also possible to insert a URL, however, avoid using a URL with '=' in the path.
filter
This parameter is used to ensure what kind of files that are displayed in the menu. For instance, we use *.dotm
in Word, *.potx
in PowerPoint and *.xltm
in Excel. If more than one filter is needed, separate them in the parameter with a comma.
xfilter
Define what should be filtered out. As an example, xfilter="~$,Normal"
will filter out files called Normal.
Comments
0 comments
Article is closed for comments.