Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Preventing insertion of Default Property Definitions
Previous Previous
 
Next Next
New Post 5/28/2008 10:34 AM
Unresolved
User is offline r_honey
133 posts
9th Ranked


Preventing insertion of Default Property Definitions 
Modified By r_honey  on 5/28/2008 12:35:55 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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Preventing insertion of Default Property Definitions
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP