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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Preventing insertion of Default Property DefinitionsPreventing insertion of Default Property Definitions
Previous
 
Next
New Post
5/28/2008 12:34 PM
 

For some reason, I want the default Property Definitions that are inserted in the "ProfilePropertyDefinition" not to be inserted.

To that end, I prepared my own SqlDataProvider (which ensured that Property definitions with PortalId Null or -1 are not inserted), added its assembly to the Bin folder, made proper changes to the web.config (all this was done before installing DNN), and started on with the installation process.

However, at the end of installation, I found those default definitions in the table. It seemed like my Provider's AddPropertyDefinition method, never got called during installation, however it got called when the default portal was installed in the process.

I inspected the Sql Script files used during installation. Although due to their number & length, I could not study them in detail, but found some clues of INSERT statement that are directly executed to insert those Property Definitions without going through the provider.

So, is that correct that those Definitions are inserted directly without going through the Provider??

Moreover, my research revealed that those default definitions are used only for the Host account. In my installation, I needed shared profiles & property definitions across portals, and I have prepared & installed Providers for them, that already map Host account's properties to the shared properties.

So, if I delete those definitions manually, would that create some problem with the DNN Core?? Does DNN Core uses them in any other way except for maintaining host profile???

I tweaked the dotnetnuke.template definitions also, from which default Portal definitions are picked. It seems like even those are not consulted while installing default definitions??

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Preventing insertion of Default Property DefinitionsPreventing insertion of Default Property Definitions


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