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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...8/9 DAL2 SPA Module - Unable to Remove FeatureController8/9 DAL2 SPA Module - Unable to Remove FeatureController
Previous
 
Next
New Post
2/13/2018 6:33 PM
 

Hello,

I am attempting to play around with the DNN (DotNetNuke) 8/9 DAL2 SPA Module in order to create a React project. I tried deleting and removing any references to C# code that comes standard with the project.

However what I'm finding is that upon removing the following folders the module no longer renders on my sites page and edit mode no longer works on that page until I remove the module.

Folders/files removed:
- Documentation (optional)
- Scripts (no issues)
- Services
- Components
- ItemEdit.js
 (no issues)
- ItemView.js
 (no issues)

To track down exactly what it is that I removed that causes the module and page to no longer function I have removed each item one at a time and recompiled. It appears the only 'required' file is Components\FeatureController. Removing this file causes the issue although there are no errors in the developer console or in the build output to point me to what is happening here.

Quick note I have commented out the line within the .dnn file that references the FeatureController. Everything still works. I can add HTML and javascript just fine and can see test results in Chrome.

My goal being to remove as much as possible from the project until I have a bare-bones module that I can continue working on with React. So my question is what is so important about the FeatureController? Literally, everything within that file has been commented out. I assume at this point that when the module builds certain files (or a certain number of files?) are expected to be present. I can work with keeping this file and moving on. However, I'd like to know why it's required.

Thanks in advance.

 
New Post
3/6/2018 2:53 PM
 

Thanks to this post I was able to figure out what was going wrong. Simply remove the assembly component from the DNN manifest (.dnn file) and everything should compile and render properly. Example:

<component type="Assembly">

          <assemblies>

            <assembly>

              <name>MyDnnModule.dll</name>

              <path>bin</path>

            </assembly>

          </assemblies>

 </component>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...8/9 DAL2 SPA Module - Unable to Remove FeatureController8/9 DAL2 SPA Module - Unable to Remove FeatureController


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