Skip to content

v17: uSync Publisher, excluding doc types or paths #883

@smarshallsay

Description

@smarshallsay

Describe the bug
Having trouble configuring uSync correctly to ignore specific content types or tree nodes

This is likely a me problem but I couldn't find documentation on excluding certain nodes or content types from usync Publisher.
Say if someone did a push/pull from the Home node of the webste, what I want is for all pages of type 'part' to be completely ignored. I have 9k part pages and would rather just ignore them :D
This is my stab in the dark at a config, could you please advise?

"uSync": {
    "Publisher": {
      "Settings": {
        "IncomingEnabled": true,
        "AppId": "",
        "AppKey": ""
      },
      "Handlers": {
        "Handlers": {
          "ContentHandler": {
            "Settings": {
              "Exclude": "/Parts",
              "ExcludeContentTypes": "part"
            }
          }
        }
      }
    },
    "Settings": {
      "ImportAtStartup": "Settings"
    },
    "Sets": {
      "Default": {
        "Handlers": {
          "ContentHandler": {
            "Settings": {
              "Exclude": "/Parts",
              "RulesOnExport": "True",
              "ExcludeContentTypes": "part"
            }
          }
        }
      }
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions