---
title: "MosparoConfiguration ViewHelper <mosparoform:mosparoConfiguration>"
manual: "mosparo integration for EXT:form and Extbase-based forms"
version: "1.1"
permalink: "https://docs.typo3.org/permalink/denkwerk/mosparo-form:api-mosparo-configuration-viewhelper@1.1"
source: "Api/MosparoConfigurationViewHelper.rst"
rendered: "2026-11-11T13:09:55+00:00"
---

# MosparoConfiguration ViewHelper `<mosparoform:mosparoConfiguration>` {#api-mosparo-configuration-viewhelper}

@package: Denkwerk\\MosparoForm\\ViewHelpers

ViewHelper to retrieve the public mosparo project configuration from the TypoScript setup.

This ViewHelper returns configuration values (`publicServer`, `uuid`, `publicKey`) for a specific
mosparo project defined in TypoScript. The project can be specified via the `selectedProject` argument.
If no project is specified, or the given project is not configured in TypoScript, the configuration
of the `defaultProject` (as defined in TypoScript) will be used instead.

Example usage in a Fluid template:
\<mosparoform:mosparoConfiguration selectedProject="projectA" />

Expected TypoScript structure:
plugin.tx_mosparoform.settings.projects {
     defaultProject = projectA
     projectA {
         publicServer = https://...
         verifyServer = https://...
         uuid = ...
         publicKey = ...
         privateKey = ...
     }
}

Class MosparoConfigurationViewHelper

**Arguments**

The following arguments are available for the mosparoConfiguration ViewHelper:

-   **selectedProject**

    -   *Type:* string

    The mosparo project configuration to be used
