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 ...How to programmatically set 2nd User Profile ItemsHow to programmatically set 2nd User Profile Items
Previous
 
Next
New Post
2/11/2015 8:04 PM
 

When we create users into roles for child portals we need to do this programmatically.  One item that needs to be configured is custom user profile properties.  These consist of half a dozen or so fields related to the organization we'll be paying donations to, such as Pay To: , Pay To Address: , etc.

The first screen of User Profile is fine.  These are set up on portal 0 and I just inserted those into a temp table, took the values with a new portal Id and put them into dbo.ProfilePropertyDefinition.  Done deal.  These show up on Admin | Site Setttings | User Account Settings | Profile Settings in that new portal.

But ... edit one of those settings and click "Next" and the Property Name, Property Help are blank.  Here is the Portal 0 screen for the first of these properties:

On the new portal (portal 1035) these are blank but the first screen is populated for the Fundraiser Pay To Name property.

Can't find the database table easily where these 2 items above live.  The control for the first one is txtPropertyName but I'm sure that matches many such names in DNN.  Finding it via Visual Studio search won't be fun! :)

 Who knows where these 2 bastards live ... I want to pay them a visit! :)

 Thanks,

Mike

 
New Post
2/11/2015 8:20 PM
 
why don't you use site group feature of DNN?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/11/2015 9:48 PM
 

thanks, will check that out.

Never heard of a Site Group feature.  We will be making many child portals, one for each fundraiser that is set up.  I'm thinking of discrete entities.

If the Site Group feature will  work for this case, sure.

Thanks as always, Sebastian.

do well,

Mike

 
New Post
2/12/2015 12:50 PM
Accepted Answer 
Site Groups will share user accounts, but still have individual pages, files roles and permissions.
Though the engine is included with DNN platform, you need Site Group Editor (https://dnnportalgroups.codeplex.com/) to get an admin UI.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/12/2015 7:24 PM
 

sharing user accounts should do it.

I think the programmatic access I need to populate another control with this pay to , etc. info won't change.

Thanks for the help.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to programmatically set 2nd User Profile ItemsHow to programmatically set 2nd User Profile Items


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