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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Invitation Code Registration

(0) ShareShare
ReportReport
Posted on by

Hi,

When creating an invitation to invite contacts to register for a portal account an invitation code is automatically generated e.g., Gi7p/Hp9+xt...

The problem occurs when following the registration link in the workflow generated email sent to the contact. The invitation code gets pre-populated from the url but the plus signs "+" gets interpreted as spaces " " i.e., Gi7p/Hp9 xt... resulting in an error when trying to register.

Is there any workaround for this?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Thanks for the answer Guido!

    The plugin generating the code is included in an OOB solution for the Portals add-on. One option is of course to write a new plugin to solve the issue even if I would prefer not to.

  • Patrick Dykema Profile Picture
    525 on at

    Hi David,

    Can you provide the type and version of the portal add-on you are using? You can find this in a couple of places:

    From CRM > Settings > Solutions

    Solutions-2.jpg

    From CRM Admin Center > Select the CRM Instance > Click "Solutions" in bottom right corner

    Solutions-2.jpg

  • Community Member Profile Picture
    on at

    Hi Patrick,

    I'm using Customer Portal v. 8.1.0.326. I noticed there is an update available, does this solve the issue?

    /David

  • Community Member Profile Picture
    on at

    i am experiencing the same problem and i am on portals version 8.1.0.375.

  • Suggested answer
    Community Member Profile Picture
    on at

    if you CHANGE the invitation code within CRM "before" you run the workflow to something like  

    THISCODEISCARP

    and then save the invitation and then run the workflow - it will work.

  • Suggested answer
    zabby Profile Picture
    on at

    I ended up adding JS on the Home page to deal with this...

    var invitationCodeField = $('form[action="/Register"] input#InvitationCode');
    
    if (invitationCodeField && invitationCodeField !== null && invitationCodeField.val() !== null && invitationCodeField.val() !== "") {
    	var originalInvitationCodeVal = invitationCodeField.val();
      var updatedInvitationCodeVal = originalInvitationCodeVal.replace(/ /gi, '+');
      invitationCodeField.val(updatedInvitationCodeVal);
    }


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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans