Can I create a dynamic URL for a custom field in Webflow in order to grab the specific URL for different categories like Figma or Sketch?

Published on
September 22, 2023

Yes, you can create a dynamic URL for a custom field in Webflow to grab specific URLs for different categories like Figma or Sketch. Here's how you can do it:

  1. Add a Custom Field: In your Webflow project, go to the CMS Editor and navigate to the collection that you want to add the dynamic URL to. Create a new custom field and name it something like "Category URL".

  2. Populate the Field: For each item in the collection, enter the appropriate URL for the specific category. For example, if the category is "Figma", enter the URL for the Figma category in the "Category URL" field for that item.

  3. Design the Dynamic Link: In your Webflow Designer, design the layout where you want to display the dynamic URL. This could be a text link or a button, for example.

  4. Link Settings: Select the element and go to the "Link Settings" panel in the right sidebar.

  5. Add Dynamic Link: Click on the "+" button next to the link field and select "Dynamic Attribute".

  6. Choose CMS Field: In the dynamic attribute modal, select the "Category URL" CMS field you created earlier.

  7. Apply Link: Finally, click on the "Apply" button to apply the dynamic link.

Now, when you publish your site and access the specific category page, the dynamic URL will be pulled from the custom field in the CMS and used for that specific category.

This allows you to easily manage and update the URLs for different categories without having to manually change the link for each item on your site.

Additional Question:

  • How can I add a dynamic URL to a Webflow collection?
  • Can I use different custom fields for different categories in Webflow?
  • Is it possible to create dynamic links based on user input in Webflow?