Graham Lee
6 posts
Registered:
09 Aug 2024
09 Aug 2024
Link to this post
Hi,
I'm trying to pass a parameter in the URL from a button coded in a Sub List View using the following HTML
<a class='btn btn-primary' href='event-landing-page?msevtmgt_eventid=#:msevtmgt_eventid#' style='margin-bottom: 0.2rem;'><span class="fa fa-arrow-right"></span> <strong>Register Now !</strong></a>
The id seems to pass in the URL although it is different form the actual id (I think its encrypted)
I want to pass the id in the URL to a data query in a List View on the page, I used the following fetchxml filter in the query
<filter type="and">
<condition attribute="msevtmgt_eventid" operator="eq" value="@P1@" />
</filter>
I have also tried
<filter type="and">
<condition attribute="msevtmgt_eventid" operator="eq" value="@P1:encrypted@" />
</filter>
I get a no data on the List View when it renders. Is this the correct approach, is there another way that this can work?
Best regards,
Graham