Theme and style
No edit summary
No edit summary
Line 2: Line 2:
* <ModelName>_AssetsTK will be included in the Model sent to MDrivenServer when you Upload the model
* <ModelName>_AssetsTK will be included in the Model sent to MDrivenServer when you Upload the model
* Once on the server MDriven Turnkey will unpack the folder in AppData under the name  ExtractForExpansionInSite_AssetsTK
* Once on the server MDriven Turnkey will unpack the folder in AppData under the name  ExtractForExpansionInSite_AssetsTK
* Once extracted to ExtractForExpansionInSite_AssetsTK the MDriven Turnkey application will try and mirror the contents of the following folders from ExtractForExpansionInSite_AssetsTK to AppRoot: EXT_LateBoundAssembly, EXT_Scripts, SiteAssets, Content, Views\EXT_OverridePages
* Once extracted to ExtractForExpansionInSite_AssetsTK the MDriven Turnkey application will try and mirror the contents of the following folders from ExtractForExpansionInSite_AssetsTK to AppRoot: {| class="wikitable" !Folder name !Special purpose |- |EXT_LateBoundAssembly |When extending your turnkey app with c# built logic your assemblies goes here |- |EXT_Scripts |Use this to add you of js files  Add AppWideAngularScriptIncludes.html here and contents will be added to scripts in app - this is needed to load things before AngularJS compile as you need when creating directives. |- |SiteAssets |general purpose |- |Content |This is where the tkusercss.css should be. If you have it, it will be included in your page |- |Views\EXT_OverridePages |add your cshtml files here either name it as a ViewModel to override the whole page  - or put a matching name as you have in Content Override viewmodel column in the AngularUIOverride tagged value value |- |other names |You may have any folder depth with any content with special assets and plugins - they will be replicated on server side |}
This enables you to merge your own css, styles and c# assemblies for c# developed logic.
This enables you to merge your own css, styles and c# assemblies for c# developed logic.

Revision as of 21:30, 11 December 2016

If you name a folder to <ModelName>_AssetsTK and put next to your <ModelName>.modlr file, or <ModelName>.ecomdl file the following will happen:

  • <ModelName>_AssetsTK will be included in the Model sent to MDrivenServer when you Upload the model
  • Once on the server MDriven Turnkey will unpack the folder in AppData under the name ExtractForExpansionInSite_AssetsTK
  • Once extracted to ExtractForExpansionInSite_AssetsTK the MDriven Turnkey application will try and mirror the contents of the following folders from ExtractForExpansionInSite_AssetsTK to AppRoot: {| class="wikitable" !Folder name !Special purpose |- |EXT_LateBoundAssembly |When extending your turnkey app with c# built logic your assemblies goes here |- |EXT_Scripts |Use this to add you of js files Add AppWideAngularScriptIncludes.html here and contents will be added to scripts in app - this is needed to load things before AngularJS compile as you need when creating directives. |- |SiteAssets |general purpose |- |Content |This is where the tkusercss.css should be. If you have it, it will be included in your page |- |Views\EXT_OverridePages |add your cshtml files here either name it as a ViewModel to override the whole page - or put a matching name as you have in Content Override viewmodel column in the AngularUIOverride tagged value value |- |other names |You may have any folder depth with any content with special assets and plugins - they will be replicated on server side |}

This enables you to merge your own css, styles and c# assemblies for c# developed logic.

This page was edited 79 days ago on 02/10/2024. What links here