Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

DNN Core mappings lost in version 3 upgrade
Last Post 01-30-2008 12:41 PM by Andrew Galbraith Ryer. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Andrew Galbraith RyerUser is Offline
skipping stones
skipping stones
Posts:6
Avatar

--
01-30-2008 12:41 PM

    Hello,

    Not sure if anyone had this problem, but when we upgraded from Dynamic Registration 2 (2.40)  to Dynamic Registration 3 (3.10), we lost all of our DNN Core field mappings. After trading some e-mails with Chad, I learned that the mappings were moved from Module Settings to the DynamicRegistration_Question table. We had a bunch of forms and it would have been a major pain to redo all the mappings, so cooked up some SQL to do it.

     

    Enjoy!

     

    Following is the script, ready to past in the Host->SQL page:

     

    if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings]') and OBJECTPROPERTY(id, N'IsView') = 1)
    drop view {databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings]
    go

    -- First create a view to make the update query a little easier...
    -- It returns a few extra columns you might want to view for a sanity check first.
    create view {databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings] as
    select
     m.ModuleId,
     m.ModuleTitle,
     ms.SettingName,
     q.DynamicQuestionId,
     q.Question,
     pd.PropertyDefinitionID,
     pd.PropertyName,
     q.ProfPropID
    from {databaseOwner}[{objectQualifier}DynamicRegistration_Question] q
    inner join {databaseOwner}[{objectQualifier}ModuleSettings] ms
     on ms.ModuleId = q.ModuleId and ms.SettingValue = cast(q.DynamicQuestionId as varchar(2000))
    inner join {databaseOwner}[{objectQualifier}ProfilePropertyDefinition] pd
     on cast(pd.PropertyDefinitionID as varchar(10)) = substring(ms.SettingName, 6, len(ms.SettingName) - 5)
    inner join {databaseOwner}[{objectQualifier}Modules] m on ms.ModuleId = m.ModuleId
    inner join {databaseOwner}[{objectQualifier}ModuleDefinitions] md on m.ModuleDefId = md.ModuleDefId
    inner join {databaseOwner}[{objectQualifier}DesktopModules] dm on md.DesktopModuleId = dm.DesktopModuleId
    where dm.ModuleName = 'Dynamic Registration'
    and ms.SettingName like 'LINK_[0-9]%'

    go

    update {databaseOwner}[{objectQualifier}DynamicRegistration_Question]
     set {databaseOwner}[{objectQualifier}DynamicRegistration_Question].ProfPropId
       = {databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings].PropertyDefinitionID
    from {databaseOwner}[{objectQualifier}DynamicRegistration_Question]
    inner join {databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings]
     on {databaseOwner}[{objectQualifier}DynamicRegistration_Question].DynamicQuestionId
      = {databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings].DynamicQuestionId
    go

    -- Drop the view now that we're done. Skip this step if you want to see what's been updated.
    if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings]') and OBJECTPROPERTY(id, N'IsView') = 1)
    drop view {databaseOwner}[{objectQualifier}vw_TmpDynamicRegMappings]
    go

     

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi