How to create and configure a parameterized URL field in Mavim
Target audience:
Users who want to create dynamic URLs based on field values in the Mavim Development environment.
Purpose:
Explain how to create a parameterized URL field, configure its properties, and use multiple values to generate dynamic URLs.
Prerequisites:
- Access to the Field Administration screen.
- A field set and topic where the field will be used.
Steps to create and configure a parameterized URL field
1. Create the field
- Open the Field Administration screen.
- Click New to create a new field.
- Give the field a suitable name and add it to a Field Set.
2. Set field properties
- Select the field and go to the properties section at the bottom of the screen.
- Set the following properties:
- Type = Text
- Hyperlink = Yes
- Once Hyperlink is set to Yes, the Parameterized URL property will appear.
- Enter the base URL and finish it with
{*}.
Example:https://www.test.com/{*}
3. Use the parameterized URL
When the field is assigned to a topic:
- Edit the value for the base URL field.
- Configure which fields will complete the URL using this syntax:
Example result:{param01}&{param02}
Alternatively, usehttps://www.test.com/Value01&Value02/instead of&:https://www.test.com/Value01/Value02
4. Enable multiple values (optional)
To allow multiple values:
- Open the Field Administration screen.
- Select the parameterized URL field.
- Set Multiple Values = Yes.
- Confirm the warning about potential data loss if the field is already in use.
- You can now set multiple text values for
{*}.
Important notes:
- Changing properties after the field is in use may cause data loss.
- Always confirm the base URL includes the correct syntax before assigning parameters.