• Resolved imagisca

    (@imagisca)


    Hi,

    I am hoping you can help. I have a simple view in Dynamics that I am showing on my WordPress site.

    I would like to show the following: (Sorry for the poor formatting, I’m trying to show a table with 3 columns and third column being rendered HTML)

    Course……..# signed up……..Link
    ————————————————
    ABC………..2………………Sign up
    XYZ………..3………………Sign up

    What I see is

    Course……..# signed up………….Link
    ————————————————
    ABC…………2………………..<a href="xxx">Sign up</a>
    XYZ…………3………………..<a href="xxx">Sign up</a>

    Course and # signed up are pulled from a database and Sign up is a static link that takes users to a portal where they can sign up. The link is being shown in WordPress however, it is treated as text and not HTML. I would like to treat the link as HTML.

    The link is always the same, I.e. no matter which course it is, the link takes users to a portal where they can sign up.

    Thank you!

    • This topic was modified 2 years, 8 months ago by imagisca.
    • This topic was modified 2 years, 8 months ago by imagisca.
    • This topic was modified 2 years, 8 months ago by imagisca.
    • This topic was modified 2 years, 8 months ago by imagisca.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter imagisca

    (@imagisca)

    Found a solution. Instead of letting the view be generated automatically, I used the following

    [msdyncrm_twig]
    {% view entity="List" name="Waiting Lists" count="10" cache="PT30M" %}
    {% for c in entityview.records %}
    <ul>
    <li>{{ c.name }} - {{ c.id }} - <a href="#">Sign up</a></li>
    </ul>
    {% endfor %}
    {% endview %}
    [/msdyncrm_twig]
    Plugin Author alexacrm

    (@alexacrm)

    @imagisca

    custom layout is the right way to do it, especially when the link is a fixed one. For links to lookups, it’s also possible to use page binding that converts lookups into hyperlinks automatically.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pass a link from CRM view to WordPress’ is closed to new replies.