How to use parameterized URLs with multiple fields
Target audience
Administrators and advanced users who want to create dynamic URLs using multiple field values in Mavim.
Purpose
This article explains how to configure and use a parameterized URL that combines values from multiple fields to create a custom hyperlink.
Prerequisites
- You have already created a Base URL field and set its properties:
- Type: Text
- Hyperlink: Yes
- Parameterized URL: Configured with
{*}placeholder
Example:https://www.test.com/{*}
- You have created additional text fields (e.g.,
param01andparam02) and added them to a Field Set assigned to a topic.
Steps to use the parameterized URL with multiple fields
1. Edit the Base URL field value
- Go to the topic where the field set is assigned.
- Enter the value for the Base URL field. This will serve as the starting point for your dynamic URL.
2. Configure the parameter syntax
- In the Base URL field, specify which fields will complete the URL using their values.
- Use the following syntax:
{param01}&{param02} - Here,
{param01}and{param02}represent the names of the fields whose values will be inserted.
3. Example output
If:
param01 = Value01param02 = Value02
Then the resulting URL will be:
https://www.test.com/Value01&Value02
4. Alternative formatting
You can replace the
& symbol with / to create a cleaner URL:https://www.test.com/Value01/Value02
Why use this feature?
This function allows you to build any URL dynamically based on field values, making your hyperlinks flexible and context-specific.
Important notes
- The slash
/at the end of the Base URL is already included, so avoid adding extra slashes unless needed. - Ensure all parameter fields are of type Text.
- Test the generated URL to confirm it resolves correctly.