Create a rule to set a content type when a file is added to a document library in Microsoft Syntex

In Microsoft Syntex, you can create a rule to automatically set the content type for a file when it's added to a document library.

Set a content type

To set a content type when a file is added to a document library, follow these steps.

  1. In the document library, select Automate > Rules > Create a rule.

    Screenshot of the document library showing the Automate > Rules > Create a rule option.

  2. On the Create a rule page, select a condition that triggers the rule and the action that the rule will take. In this case, select A new file is added.

    Screenshot of the Create a rule page showing the A new file is added option highlighted.

    Your selection here creates a rule statement that you'll complete in the next step.

  3. To complete the rule statement, under When a new file is added:

    1. Select Choose action, and then select set content type to.

      Screenshot of the rule statement page showing the choose action option highlighted.

    2. Select Choose a content type, and then select the appropriate content type for the file. The content types shown in this list are the ones available in the library.

      Screenshot of the rule statement page showing the statement options.

    3. Select Choose file property, and then select the appropriate property for the file.

    4. Select Choose a condition, and then select the appropriate condition.

    5. In the Enter a value field, enter the appropriate value. The value can be a specific keyword or text string you want to find in the file property.

      Screenshot of the rule statement page showing the completed statement.

  4. When your rule statement is complete, select Create. You can see and manage the new rule on the Manage rules page.