Dnn object

Anything accessing the Dnn object won't work. Usually you can use CmsContext like

  1. CmsContext.Module.Id etc.
  2. DNN.Tab.TabId -> CmsContext.Page.Id
  3. Anything else ask iJungleboy

DotNetNuke Namespaces

Any code that access DotNetNuke namespaces cannot work. You have 2 strategies:

  • Either use another API which gives you the information, possibly on CmsContext
  • or create conditional sections using #if NETCOREAPP - see docs
    • if you do this, put a // TODO: comment there because the Oqtane side would need some code to do the right thing
open_in_new open in new window
code Share
code
URL copied to clipboard.
Embed Checklist close
Copy Copy
Content Copyright

CC-BY 4.0

Translations

None

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/acVozcAj
close

Durchsuche ganz Azing