Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCreate a module from manifest - Resources not loading?Create a module from manifest - Resources not loading?
Previous
 
Next
New Post
2/1/2017 8:41 AM
 

Hi,

when I try to create a module from a manifest in DNN 9(.0.1) by clicking the "Create New Module" button on the Persona Bar Extensions App, I can select "Manifest" in the "Create Module From" dropdownlist. Next step is to select a Module Folder ("Owner Folder" leaves "<Not Specified>", as the module resides in a folder directly under the DesktopModules folder). And then I should be able to select the manifest (*.dnn) file from the "Resource" dropdownlist, but this one does not fill with values.

Any ideas?

Happy DNNing!
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
2/3/2017 8:14 AM
 
I created a Jira ticket for this: https://dnntracker.atlassian.net/brow...

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
3/3/2017 4:17 PM
Accepted Answer 

Well i know this is not supposed to be done but i had to do it, so... here it goes the quick fix:

1. Open the project "Dnn.PersonaBar.Extensions" (only this project. not the entire solution)

2. Add the missing Refences to the project "Dnn.PersonaBar.Extensions" from the Builded solution "DNN.Platform" (dll files inside "Website\bin\")

3. Edit File "Services\ExtensionsController.cs"

- Go to method "GetModuleFiles" and change the switch to "switch ((int)type == 3 ? FileType.Manifest : type)"

4. Edit File "Components\CreateModuleController.cs"

- Go to method "CreateModuleFromManifest" and change 2 things:

1. "createModuleDto.Manifest" to "createModuleDto.FileName"

2. and change the "Path.Combine(..." to "Path.Combine(Globals.ApplicationMapPath, "DesktopModules/" + folder + "/" + createModuleDto.FileName)"

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCreate a module from manifest - Resources not loading?Create a module from manifest - Resources not loading?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out