Dear DNN Guru
Recently I develop a module for Dnn 8.0.4. I want to get other modules data, so that I use "modulecontroller.getmodulesettings(ModuleId)" . This "ModuleId" is other Module's ID.
But When I Debug the Mogule, I got modulecontroller.getmodulesettings(int) deprecated in DNN 7.3. I am not sure what the API in new DNN should be use. Please help me ! Thanks in advance !
Jimmy
Jimmy,
I am not a guru, but the "new" way is this:
ModuleInfo module = ModuleController.Instance.GetModule(int moduleId, int tabId, bool ignoreCache); Hashtable settings = module.ModuleSettings;
Happy DNNing! Michael
Michael TobischDNN★MVP
Dear Michael
Thank you very much ! I will try it as your instructions.
Thanks again!
Dear Craig
I am using DNN 8.0.4 to develop a module.
Thanks!
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.