Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom Registration form integrated with Salesforce CRMCustom Registration form integrated with Salesforce CRM
Previous
 
Next
New Post
12/16/2013 10:29 AM
 

Hello,

I need to develop a customization of the registration page in DNN 7.2, basically I need to : 

  1. ask to the user a series of dependent fields, i.e. : if the user choose "I'm an end user" I ask only basic data (name,address,products of interest), if the user choose "I'm a partner" I need to ask more data like Company Size, Annual revenue, etc....
  2. assign to the user a Role based on the data found on the Salesforce CRM, the external key is the user email.

On the first step I only ask to the user "who is", on the confirmation step I need to ask all additional data based on the selection in the first step and I need to read/write some data from/to Salesforce.

I've already done this registration procedure on a previous version of DNN but I've changed the DNN code, now I want to implement a solution independent from the DNN upgrades , eventually using custom modules or custom providers.

What is the best strategy to implement this behaviour? 

I'm planning to create a custom module and to insert it inside a custom registration page, is this a good solution?

Thanks in advance,

Matteo Conta

 

 

 

 

 

 

 
New Post
12/17/2013 5:27 PM
 

Yes - based on what you are saying a simple custom module would be one of your best options.

Westa

 
New Post
12/18/2013 5:37 AM
 

Thank you for your answer, 

ok, the custom module is a good solution, but how can integrate it with the login control and the registration control? 

Do I need to write also an authentication provider? 

Basically I need to :

  1. Block the registration process if some custom fields are invalid, the fields are dependent on each other and I can't manage this apsect using the DNN custom registration fields
  2. Write some custom data to Salesforce during the final step of the registration process, before the final registration step is finalized.


 

 
New Post
12/18/2013 6:15 AM
 

Basically ... I would build a custom rego module that does exactly what you need ... Then place this module on a page on your website and tell dnn in site settings that this new page is now the registration page.

once you do this dnn will wire yup the links on the site to go to this new page when you select any of the core register links.

There should be no need to build a custom authentication provider since you can do all that you need on that side with the dnn core provider.

all you are doing is building a replacement rego page that would work with the existing login.

 

westa

 
New Post
12/18/2013 10:37 AM
 
Thank you, I agree with you that the custom authentication provider is not useful in my project.

I've created a custom registration page and I 've started to code my custom registration module, do you suggest to me to start coping the code from the register.cs page located inside the DesktopModules\Admin\Security folder? Is that a good place to start ?

Or do you suggest to rewrite completely the new registration module?

Thanks in advance for your support,

Matteo

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom Registration form integrated with Salesforce CRMCustom Registration form integrated with Salesforce CRM


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out