web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Event passes for marketing

(0) ShareShare
ReportReport
Posted on by 32

It it possible to have active Event passes that are available only to internal personnel, and not shown to the clients who visit the event registration portal?

I have the same question (0)
  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Imad,

    I havn't Portal to host event website, but I thought it could be easily achieved by customization with code.

    I have made a customization that add a customized tab in before, these tab elements are located in event.registration.html.

    pastedimage1574148396683v2.png

    In the process, I found that those tabs display are controlled by Event API back-end,

    as Pass information for example, it's controlled by showPasses variable.

    pastedimage1574148747884v3.png

    Then in event.component.ts, the variable is boolean type.

    pastedimage1574148881200v4.png

    the pass information tab will appear if callback data from Event API back-end has valid pass information for current event.

    pastedimage1574149014009v5.png

    Now we know how to control the tab display, in your scenario,

    you could define a boolean variable userAuthenticated, and by default is false:

    pastedimage1574149226125v6.png

    add condition that whether user has logged to set the variable to true, and associate the variable to showPasses,

    then only user who has logged could see the Pass information tab.(my screenshot code is just demo)

    pastedimage1574149384203v7.png

    Due to my event website hasn't sign in feature, so you could read articles below to get current user information, then replace my demo code with user identity request code.

    Article 1 revealed that liquid js is still available in event portal, so you could try to use " '{{ user.Id }}'; " to get whether user has logged.

    https://pkoval.com/2019/04/07/extending-dynamics-marketing-event-management-portals/

    Or try to request Event own api to get logged user information: GET/users/authenticated

    https://docs.microsoft.com/en-us/dynamics365/marketing/developer/user-authentication-events-api#retrieving-information-of-authenticated-user

    You can find all event api in the doc.

    Regards,

    Clofly

  • cloflyMao Profile Picture
    25,210 on at

    Hi Imad,

    Please let me know whether your problem could be solved.

    Regards,

    Clofly

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 93 Super User 2025 Season 2

#2
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 30

#3
Satyam Prakash Profile Picture

Satyam Prakash 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans