How to access your Turnkey site with FTP
No edit summary
(Automatically adding template at the end of the page.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:


When you work with turnkey and use page overrides and your own site assets you may want to access your site with FTP for uploading these. The MDriven Turnkey administration in LicenseAndTicket do allow for page overrides and site assets but it may be more practical for you to upload this with FTP.
When you work with Turnkey, using page overrides and your site assets, you may want to access your site with FTP for uploading these. The MDriven Turnkey administration in LicenseAndTicket does allow for page overrides and site assets, but it may be more practical for you to upload this with FTP.


To use FTP you need to find the address and password for your site.
To use FTP, find the address and password for your site.


You can find these details in the publishing profile that you can download in the ManageOneTurnkeySite dialog of LicenseAndTicket:
You can find these details in the publishing profile you can download in the ManageOneTurnkeySite dialog of LicenseAndTicket:
[[File:Acces ftp - 1.png|none|frame|396x396px]]
[[File:Acces ftp - 1.png|none|frame|396x396px]]


The publishing profile is an xml file with the information we need:
The publishing profile is an XML file with the information we need:
[[File:Acces ftp - 2.png|none|frame|498x498px]]
[[File:Acces ftp - 2.png|none|frame|498x498px]]


Make a note of publishUrl, userName and userPWD from the FTP section.
Make a note of publishUrl, userName, and userPWD from the FTP section.


Start your favorite FTP-program – mine is Filezilla – connect to your site using the information from above.
Start your favorite FTP program – mine is Filezilla – and connect to your site using the information above.


There are primarily 3 folders you may want to access:
There are primarily 3 folders you may want to access:
[[File:Acces ftp - 3.png|none|frame|286x286px]]
[[File:Acces ftp - 3.png|none|frame|286x286px]]
 
# '''Content''': This is where the CSS, script files, images, and anything else go.
'''Content''': here goes css,script files and images and what have you.
# '''EXT_OverridePages''': The cshtml files with markup that will replace a ViewModel auto-generated UI are stored here – matched by file name.
 
# '''EXT_LateBoundAssembly''': (Advanced) This is where the .net assemblies that fulfill the interface of the IExternalLateBoundService are kept. This will in turn allow for your MDriven Turnkey model to call any .net code that you want.<html>
'''EXT_OverridePages''': here goes cshtml files with markup that will replace a ViewModel auto generated UI – matched by file name.
 
'''EXT_LateBoundAssembly''': (Advanced) here goes .net assemblies that fulfills the interface of the IExternalLateBoundService. This will in turn allow for your MDriven Turnkey model to call any .net code that you want.<html>
<pre class="code"><span style="background: white; color: green;">// Eco.Interfaces.dll</span>
<pre class="code"><span style="background: white; color: green;">// Eco.Interfaces.dll</span>
<span style="background: white; color: blue;">namespace </span><span style="background: white; color: black;">Eco.Services
<span style="background: white; color: blue;">namespace </span><span style="background: white; color: black;">Eco.Services
Line 35: Line 32:
}</span></pre> </html>
}</span></pre> </html>
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]
{{Edited|July|12|2024}}

Latest revision as of 15:35, 10 February 2024

When you work with Turnkey, using page overrides and your site assets, you may want to access your site with FTP for uploading these. The MDriven Turnkey administration in LicenseAndTicket does allow for page overrides and site assets, but it may be more practical for you to upload this with FTP.

To use FTP, find the address and password for your site.

You can find these details in the publishing profile you can download in the ManageOneTurnkeySite dialog of LicenseAndTicket:

Acces ftp - 1.png

The publishing profile is an XML file with the information we need:

Acces ftp - 2.png

Make a note of publishUrl, userName, and userPWD from the FTP section.

Start your favorite FTP program – mine is Filezilla – and connect to your site using the information above.

There are primarily 3 folders you may want to access:

Acces ftp - 3.png
  1. Content: This is where the CSS, script files, images, and anything else go.
  2. EXT_OverridePages: The cshtml files with markup that will replace a ViewModel auto-generated UI are stored here – matched by file name.
  3. EXT_LateBoundAssembly: (Advanced) This is where the .net assemblies that fulfill the interface of the IExternalLateBoundService are kept. This will in turn allow for your MDriven Turnkey model to call any .net code that you want.
    // Eco.Interfaces.dll
    namespace Eco.Services
    {
      //
      // Summary:
      //     Allows you to supply domain object method implementations with late bound assembly
      public interface IExternalLateBoundService
      {
        IElement Execute(IClassifier classifier, IObject theobject, IMethod method, 
                  IModifiableVariableList variableList);
      }
    }
This page was edited 98 days ago on 02/10/2024. What links here