This one is a bit tricky, so let me give you some background: Each module shown in Dnn or Oqtane have a GUID identifier to a Content-Block. This Content-Block configuration in stored in the App. So everytime you restore the App in Oqtane, the Content-Blocks are reset to what was in the App-State. 

This means that modules you add in Oqtane would always be blank again, unless they have the same identifier as in Dnn.

Preparation in Dnn

  1. Make sure you have most tests etc. set up in DNN as you need them
  2. Tests that just show the initial state don't need much, but they do need that you used the pencil-edit once (but don't save the dialog that opens)
  3. Then re-export the app-state and sync with Github

Preparation in Oqtane

  1. Add the same amount of modules / pages as in DNN so the setup should be identical
  2. Now open SQL Management Studio and go to the Oqtane DB (usually server is Srv-Devweb-03.2sic.com\SQL2017 and the DB is 2sxc Oqtane Apps Dev)
  3. Open the Settings table in Edit-Mode and activate the SQL tab

Change Each Content-Block One by One

For each content-block, repeat these steps

  1. On each Oqtane module you must hit edit (pencil) once, so that the modules have a reference to a Content-Block (otherwise it's in preview mode, and the setting is wrong)
  2. Also publish each module in Oqtane, so we can see it in anonymous mode 
  3. Find out the ID of a Module in Oqtane [[label=Oqtane Id]]
  4. Find out the Content-Block GUID in Dnn [[label=Dnn GUID]]
  5. In SQL Studio find the Settings for this Module 
    SQL Statement is ca. this SELECT        TOP (200) SettingId, EntityName, EntityId, SettingName, SettingValue, CreatedBy, CreatedOn, ModifiedBy, ModifiedOn
    FROM            Setting
    WHERE        (EntityName = 'Module') AND (EntityId = 000)
    Tip: hit Ctl+R to run this query (but replace 000 with the right id first)
  6. Important: The SettingName must be EavContentGroup - if it's EavPreview then please replace that with the other one, as that's still the preview mode. 
  7. Now paste the DNN Guid into the Settings 
    once you leave the edit-line, it will save
  8. Oqtane may be even more broken after this, but that's ok. just repeat on all modules, then restart Oqtane