Dynamic Hyperlink

Home Forums Classic DFFS Dynamic Hyperlink

Tagged: ,

Viewing 4 reply threads
  • Author
    Posts
    • #26802
      Cameron
      Participant

        Hi,

        I could’ve sworn I’ve seen this discussed but my Google foo isn’t working.

        I need to add a hyperlink to my DFFS DispForm. The trick is I want the link to include the ID of the current item. e.g. On the DispForm for the item with ID 789, I’d like a link to /labelpage.html?ID=789.

        Could someone point me in the right direction?

        Cameron

      • #26806
        Alexander Bautz
        Keymaster

          Hi,
          Just add a HTML section to one of the tabs and insert this:

          <a href="/labelpage.html?ID={ID}">Link to custom page</a>

          Alexander

        • #26810
          Cameron
          Participant

            Brilliant – too easy!

            I actually inserted this to make the link appear in the next column:

            <tr style="display: table-row;">
            	<td valign="top" width="113px" class="ms-formlabel"></td>
            	<td valign="top" class="ms-formbody" width="350px">
            		View Labels
            	</td>
            </tr>

            Thanks Alexander

            • This reply was modified 5 years, 4 months ago by Cameron.
          • #26819
            Alexander Bautz
            Keymaster

              Hi Cameron,
              If you have a relatively recent version of DFFS you can add a table row like you add a heading of a HTML section. Inserting a tr like this will force the browser to guess that it must wrap it in a table.

              Alexander

            • #26821
              Cameron
              Participant

                Thanks for the tip, I’ll look into it.
                It probably is time to schedule in another update. We’re running 4.4.3.60 at the moment.

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.