SharePoint OData Connector 25.1
SharePoint OData Connector Help

# WebPartXslTransformTypeRegex

The SharePoint OData Connector can apply an XSL transformation to web part content before adding it to the document metadata. You might want to use an XSL transformation to extract specific parts of the web part XML or manipulate its structure before it is added to the document.

To apply an XSL transformation, specify a list of regular expressions that identify types of web part to transform. When the type of a web part matches one of the regular expressions, the connector applies the transformation specified by the corresponding value in the WebPartXslTransformFilePath parameter.

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

If you do not set this parameter, the connector adds all of the XML from a web part as the value of a single metadata field.

Type: | List of regular expressions
Default: |
Required: | No
Configuration Section: | TaskName or Fetchtasks
Example: |
    WebPartXslTransformTypeRegex0=.*FirstWebPartType.*
    WebPartXslTransformTypeRegex1=.*SecondWebPartType.*
    WebPartXslTransformFilePath0=./TransformForFirstType.xsl
    WebPartXslTransformFilePath1=./TransformForSecondType.xsl
See Also: | WebPartXslTransformFilePath

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery SharePoint OData Connector 25.1

Topic Title: WebPartXslTransformTypeRegex