Overview
The default search panel provided with MacroView DMS will search for Microsoft Office and PDF documents uploaded to SharePoint, for example:
- Outlook emails (msg; eml)
- Word documents (doc;dot;docx;docm;dotx;dotm)
- Excel spreadsheets (xls;xlt;xlsx;xlsm;xltx;xltm)
- PowerPoint presentations (pot;potm;potx;pps;ppsm;ppsx;ppt;pptm;pptx)
- Acrobat Adobe files (pdf)
Add a new mask
If your organisation uploads non-Office files to SharePoint, it is easy to add another "Mask" section to the search panel by copying the below XML and amending it according to the file extensions you are searching:
<?xml version="1.0"?>
<Mask Name="Non Office Files" TrimDuplicates="False" EnableStemming="True" Scope="All Sites" Where="(IsDocument:False OR IsDocument:True)">
<Controls>
<Control Name="AllText" Type="Text" DisplayName="All of these words" SearchPredicate="FreeText" MatchType="AllText"/>
<Control Name="Exact" Type="Text" DisplayName="The exact phrase" SearchPredicate="FreeText" MatchType="Exact"/>
<Control Name="AnyText" Type="Text" DisplayName="Any of these words" SearchPredicate="FreeText" MatchType="AnyText"/>
<Control Name="None" Type="Text" DisplayName="None of these words" SearchPredicate="FreeText" MatchType="None"/>
<Control Name="FileType" Type="Dropdown" DisplayName="Result type">
<Item DisplayName="PDF Documents" Value="pdf"/>
<Item DisplayName="All Files" Value="ai;jpg;jpeg;png;gif;eps;dwg;indd;ai;gnh;indd;wmv;mp3;m4a"/>
</Control>
<Control Name="mvCheckoutUser" Type="Checkbox" DisplayName="Checked out to me" Value="[Me]"/>
<Control Name="mvMyDocument" Type="Checkbox" DisplayName="My Document" Value="[Me]" SearchPredicate="Contains"/>
</Controls>
<SelectFields>
<Field Name="FileName" DisplayName="Name"/>
<Field Name="LastModifiedTimeForRetention" DisplayName="Modified Date" Type="DateTime"/>
<Field Name="Size" DisplayName="Size"/>
<Field Name="DefaultEncodingURL" DisplayName="File Path"/>
</SelectFields>
</Mask>