• MJ01
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hey,

i am currently working on community registration via Facebook.
From a VF-Page i call the following:

String ssoUrl = Auth.AuthConfiguration.getAuthProviderSsoUrl(communityBaseUrl, successRelay, authProviderDeveloperName);

The Registration Helper itself is doing what i should, but i have got a requirement that i can't get to work. A variable should be passed to the registration handler. The VF-Page holds a Boolean thats true or false depending on the users input on the Page. I need this variable inside the Registration Handler to assign it to a field of an object that is created within the Handler.

Something like this (within the Handler)  isn't working: 
OptIn = Boolean.valueOf(System.currentPageReference().getParameters().get('OptIn'));

Is there any way or workaroung to get this working?

Thanks.
Mathias
  • January 14, 2016
  • Like
  • 0
Hey,

i am currently working on community registration via Facebook.
From a VF-Page i call the following:

String ssoUrl = Auth.AuthConfiguration.getAuthProviderSsoUrl(communityBaseUrl, successRelay, authProviderDeveloperName);

The Registration Helper itself is doing what i should, but i have got a requirement that i can't get to work. A variable should be passed to the registration handler. The VF-Page holds a Boolean thats true or false depending on the users input on the Page. I need this variable inside the Registration Handler to assign it to a field of an object that is created within the Handler.

Something like this (within the Handler)  isn't working: 
OptIn = Boolean.valueOf(System.currentPageReference().getParameters().get('OptIn'));

Is there any way or workaroung to get this working?

Thanks.
Mathias
  • January 14, 2016
  • Like
  • 0