Register pipe mappings

The pipe mappings define how data is transformed when moving through the pipe. The mappings are part of PipeSettings.

  1. Create the pipe mappings.
    You create default pipe mappings from the built-in Content pipe. You can also create custom mappings.
    You use the translator to combine multiple properties into a single.
  2. Register the pipe mappings.
    After you create the pipe mappings, you must register them.
    One pipe can be used for both purposes - to pass data to a publishing point or to take data from a publishing point. The both cases may require different mappings. The RegisterPipeMappingsmethod accepts an extra parameter that specifies whether the pipe is inbound or outbound.
  3. Modify the pipe mappings
    You can modify the mappings of a build-in pipe or custom pipe.
    To modify the pipe mappings you use the GetPipeMappings method.

    The method GetPipeMappings accepts the name and whether inbound or outbound is the pipe as parameters. The method returns a copy of the registered mappings. After your modifications, you must register them again to apply the changes.

Use the following code sample:

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

List of inbound pipes