Knowledge Base

How to create document as XPS format?

If you share documents with others using XPS files in your organization or team, BoostSolutions’ Document Maker also provides the feature to generate XPS files. The process of generating a XPS file is similar as PDF file, you just need to select one option without any more operation.

This article will introduce how to create or generate documents as XPS format.

WHAT YOU'LL GET

Create an Absence Request file as XPS format

WHAT YOU'LL NEED

The sample data we use for this case

And this is the absence request template in Word format, the list fields of Absence Request List are inserted to the template as following.

Create document as XPS format

  1. Firstly, download the trial version of Document Maker and install it to your SharePoint server.

  2. And then install Document Maker add-on in Word application.

  3. Navigate to the Absence Request List.

  4. Under LIST tab, click Manage Templates in Settings group.

    Or, in the List Settings page, click Document Maker Settings under General section.

  5. In the Document Maker Settings page, upload absence request template in the Document Maker settings page as following.

  6. In the Document Maker Settings page and click Rules on the left panel.

  7. And then click Add rule.

  8. In the Add rule page, specify a name this rule, such as rule for absence request.

  9. In Select Template section, select absence request template, which means that the document will be generated using this selected template.

  10. In Naming Rule section, specify the name as following.

  11. In Date Format section, select (Default SharePoint Format). The date format for the generated document will be same as the SharePoint format.

  12. In Output Types section, select XPS.

  13. In Distribute Document section, select Save as attachment option. The generated document will be saved as the item attachment.

  14. In Merged Document Generation section, unselect Enable option.

  15. Click OK to save the settings for this rule.

  16. And then, you will find that a rule is created in the Document Maker Settings page.

  17. Navigate to Absence Request List, select one item (Cynthia Carey), under ITEMS tab and click Generate Document in Document Maker group.

  18. When Generate Document dialog appears, in Template section, select absence request template. In File Name section, you will see that the file name is generated based on the rule as following.

  19. Click Generate button. Wait for a few seconds, and then the documents are generated as XPS format as following.

  20. Click the file name, the file is opened in browser as following.

Login