NodeJS: URL parameters

Hi,
I’ve got a Bootstrap table with several rows of data, and I want to add some anchor buttons to each row.

The first button is to an edit page, accessible via /edit/:id

I go to the edit button, and set up the anchor button as follows:

However, this produces HTML (when rendered in the browser) like this:

<a class="btn btn-primary" is="dmx-link" href="edit/{{id}}">Edit</a>

Clearly, I’m looking for:

<a class="btn btn-primary" is="dmx-link" href="edit/1">Edit</a>

Any idea what I’m doing wrong? Or is this a bug?

Regards,
Andy

I’ve got a work-around:

  1. Add browser component to page
  2. Create dynamic event for the button click
  3. Route the browser to the url /edit/:id - that seems to work OK.

However, I would still expect the standard HREF parsing to work.

Regards,
Andy

You need to use the dynamic attributes > link for the link.
You cannot use dynamic data in the static href attribute.

Ah, that makes sense, although it’s confusing that the static href gives the option for dynamic fields.