we are developing a js - web application (with TypeScript) which should be integrated into a website based on Umbraco CMS. We now got told that uploading our js/html/css & images to Umbraco CMS system is not possible or at least very very complicated and therefore we should be hosting the data externally where we can upload via ftp and than only link to the data.
As I have never used Umbraco before I was wondering if this is really a problem. Something I can't really beliefe.
I cant imagine that is the case. You can access and add scripts from the backoffice as needed. The same is true if you want custom pages. Further, you add a RichText Editor, you can almost copy/paste html and it just works.
Hi thanks for the swift replay. I have been watching umbraco.tv for the last hour. And I think I know how to adapt my codepackage so that I could include it as documentType...
However this is some work which I wouldn't like to do.
The complete web-application is in a folder (with subfolders including the js / css / images / a json configuration file and an index.html) so where would I upload the folder two in Umbraco environment to be able to set a link to the index.html from where the rest is loaded based on relative paths?
You can upload all the files you want to the media section. But Umbraco by default disallows a number of file types. This can be set in /config/umbracoSettings.config.
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,xhtml,html,htm,svg,php,htaccess</disallowedUploadFiles>
that link was very helpful. I figured out that you can actually upload files there pretty easy, directly into the wwwroot directory and also access them via the web from there. Exactly what I needed.
Just wondering. Will Umbraco CMS remove a folder that I have manually added there when updating / deploying the website?
It should automatically add the files to your git repository (at least thats what I have experienced :)), so you will get them when you pull, and they wont disappear unless you delete them yourself.
thanks again. Nearly there I have uploaded to wwwroot (chrome works edge not....). now the problem is how to set file permissions so that I can access the index.html contained from the web...
Hosting 3d party html in umbraco
Dear all,
we are developing a js - web application (with TypeScript) which should be integrated into a website based on Umbraco CMS. We now got told that uploading our js/html/css & images to Umbraco CMS system is not possible or at least very very complicated and therefore we should be hosting the data externally where we can upload via ftp and than only link to the data.
As I have never used Umbraco before I was wondering if this is really a problem. Something I can't really beliefe.
Thankful for any response
Elsa
I cant imagine that is the case. You can access and add scripts from the backoffice as needed. The same is true if you want custom pages. Further, you add a RichText Editor, you can almost copy/paste html and it just works.
Hi thanks for the swift replay. I have been watching umbraco.tv for the last hour. And I think I know how to adapt my codepackage so that I could include it as documentType...
However this is some work which I wouldn't like to do.
The complete web-application is in a folder (with subfolders including the js / css / images / a json configuration file and an index.html) so where would I upload the folder two in Umbraco environment to be able to set a link to the index.html from where the rest is loaded based on relative paths?
Couldn't I simply upload it into Media Folder?
Thanks Elsa
Hi Elsa
You can upload all the files you want to the media section. But Umbraco by default disallows a number of file types. This can be set in /config/umbracoSettings.config.
Check out the docs: https://our.umbraco.org/Documentation/Reference/Config/umbracoSettings/
Thanks again, getting closer, However the content is hosted via umbraco cloud, can I change the settings there as well and only for one specific user?
Yes, you can either edit the file through the kudu portal (http://yourproject.scm.s1.umbraco.io), or by installing the package Config Tree.
The setting is global though, so all users will have access to upload.
You could also just upload the necessary files through Kudu, you have full access to the filesystem there.
Hello Soren,
that link was very helpful. I figured out that you can actually upload files there pretty easy, directly into the wwwroot directory and also access them via the web from there. Exactly what I needed.
Just wondering. Will Umbraco CMS remove a folder that I have manually added there when updating / deploying the website?
Thanks so much
Elsa
It should automatically add the files to your git repository (at least thats what I have experienced :)), so you will get them when you pull, and they wont disappear unless you delete them yourself.
Hi soren,
thanks again. Nearly there I have uploaded to wwwroot (chrome works edge not....). now the problem is how to set file permissions so that I can access the index.html contained from the web...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.