function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
frank zhang 9frank zhang 9 

How to import HTML files into salesforce, need your help, followed with the screenshot

Hi guys,

Need your help to know how to import the files into salesforce, thanks
The first picture is structure of the files:
User-added image
The second picture is what the files is

User-added image

 
pconpcon
What do you mean "import?"  Are you trying to recreate the HTML page in Visualforce?  Are you trying to upload this as a static resource?  Are you trying to attach this data to something like a support case?  What is your end goal here?
frank zhang 9frank zhang 9
Hi pcon,
Thanks for your reply.
The first picture shows us the metadata screenshot our vendor give us, It's built on an E-Learning system where our colleagues can learn how to use the CRM system , The course works like the second picture shows.
What we do is to import the metadata into SFDC, and let our colleauges learn the course in SFDC, I want to know what should I do?
pconpcon
This is not a particularly simple thing to do.  You can upload this all as a static resource [1] and create a simple Visualforce page that uses an iframe to get it from the static resource [2].  However for the best experience you're better off re-writing this as a Visualforce page that references your static resource files (images, CSS, etc).

[1] https://developer.salesforce.com/trailhead/visualforce_fundamentals/visualforce_static_resources
[2] https://developer.salesforce.com/forums/?id=906F00000009AIUIA2
frank zhang 9frank zhang 9
Hi pcon,
If the data size is great than 100K, what should I do? size great than 100K can't be stored in SFDC.
pconpcon
I'm not sure where you see that files greater than 100K cannot be stored as static resources.  Right now the max file size is 5Mb with a max storage of a combined 250Mb.  If you have a single zip file that exceeds 5Mb then you can split into multiple zip files.
Brice Mbouani 9Brice Mbouani 9
Hi Franck,
There's a nice plugin on appxchange to import SCORM Package into Salesforce.
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FtU9NUAV