# WebPartXslTransformFilePath

The SharePoint OData Connector can apply an XSL transformation to web part content before adding it to the document metadata.

To apply XSL transformations, specify a list of XSL files to use. When the type of a web part matches one of the regular expressions set in the parameter WebPartXslTransformTypeRegex, the connector applies the XSL transformation specified by the corresponding value of this parameter.

You can specify multiple values by using numbered parameters (`WebPartXslTransformFilePath0`, `WebPartXslTransformFilePath1`, and so on). The number of values must match the number of values you set for the parameter WebPartXslTransformTypeRegex.

A generic XSL transformation (`GenericWebPartTransform.xsl`) is supplied with the connector.

Type: | List of file paths
Default: |
Required: | No
Configuration Section: | TaskName or Fetchtasks
Example: |
    WebPartXslTransformTypeRegex0=.*FirstWebPartType.*
    WebPartXslTransformTypeRegex1=.*SecondWebPartType.*
    WebPartXslTransformFilePath0=TransformForFirstType.xsl
    WebPartXslTransformFilePath1=TransformForSecondType.xsl
The following example applies the generic transformation to all web part content:
    WebPartXslTransformTypeRegex0=.*
    WebPartXslTransformFilePath0=GenericWebPartTransform.xsl
See Also: | WebPartXslTransformTypeRegex

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm