Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer Insights - Journeys forum

Restricting number of attendees invited can add

(0) ShareShare
ReportReport
Posted on by 180

Hi 

Has anyone managed to find a solution to restrict the number of attendees an invited contact can add on the event portal? 

Brad

  • Baggie9 Profile Picture
    Baggie9 180 on at
    RE: Restricting number of attendees invited can add

    Thanks Clofy always appreciate your responses

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Restricting number of attendees invited can add

    Hi Brad,

    I saw a previous thread from yours which implied you were touched Event customization with Angular code,

    Now the solution could be based on whether you hosted it on Portal or Own server:

    1. Portal:

    Allow anonymous registrations also works for Portal hosted,

    1.1 so firstly you should let your contacts to sign in to registration, 

    then create a customization whole number field called Registraion count, add it to registration form and hide it.

    1.2 In every time when contact submits field, make this value plus 1, (Control it by Javascript) then all informations will be saved to CRM,

    1.3 When this number reach to limit we set(still check by Script), prevent submit event or jump into our own function instead of submit data to CRM. 

    2. Own server:

    Unfortunately due to Allow anonymous registrations not works in custom web server

    So what we could do from frontend side would just below:

    2.1  Write/generate a cookie to client browser in registerToEvent() function after registrationResult.status === "Success"the function is in eventregistration.component.ts (src\app\components\eventregistration)

    0001.JPG

    2.2 There is a function called isCheckoutButtonDisabled() for Checkout button ineventregistration.component.html

    then we could add "check whether the cookie has been generated" code in its logic, return true if cookie has been generated. 

    2.3 Or add check function for Register Now button in event.component.html(src\app\components\event)

    However, to restrict registration from frontend may not be easy, because contacts might clear their cache or close browser and enter event page again to remove cookies to register again.

    For more effective ristriction, you might consider integrate Event page with some third party service for Email Address Vertification.

    Finally, please suggest your idea to Ideas forum to let Event module has more advanced backend features.

    Regards,

    Clofly

  • Suggested answer
    Vivek_Singh Profile Picture
    Vivek_Singh 385 on at
    RE: Restricting number of attendees invited can add

    Hi BradH,

    Don't think currently we have feature to restrict invited contact to add attendees upto specific count. Though we can stop (Below screenshot)  the contact to add any attendee but restricting on specific count won't be possible.

    Capture-XI.PNG

    I suggest you visit our Ideas portal and add this feature request.  Our PMs regularly review and community votes do impact the roadmap.

    Hope this answers your query. 

    Regards

    Vivek SIngh

    If this answers you query then please mark it as verified!!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans