Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
I would look at httpContext.Request.QueryString. It should have the content id thats being evaluated. You'll need to load the content and evaluate from there.
Don't forget to keep performance in mind!
Hi David
Thanks for your reply.
There is nothing in httpContext.Request.QueryString. If i pass something in querystring there is something. :)
/GetPersonalizedMessages/?userid=OMfddfsafsdfdsafsfdsafyjKYJ99Xx9sR_CpomGRtEenKevAUmm4c
In this case i will see the userid in querystring, nothing else
A little bit more info
I have a userdataservice that contains data about current user and most important in this case events on the blocks on the page. Block closed can be one event. Or viewed is another event.
Editors wants to make visitor groups on theese events ( lot more but right now i am working on the events).
One example can be a rule on content block viewed less than 5 times (criterion). Or block not closed (if block is a dismisable alert).
I am writing a custom visitor group criterion. And i need contentlink to block that has the visitor group currenly is evaluating.
Regards Øyvind