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

Notifications

Announcements

No record found.

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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans