# JavaScipt in Factory studio

**URL:** <https://forum.tatsoft.com/t/javascipt-in-factory-studio/419>\
**Category:** Displays, Symbols, Charts\
**Created:** [October 2, 2023, 8:48am UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419 "2023-10-02T08:48:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manh](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@Manh](https://forum.tatsoft.com/u/Manh)\
**Post date:** [October 2, 2023, 8:48am UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/1 "2023-10-02T08:48:35Z")

</div>

Dear Expert  
I’m create Html display application from Factory studio.  
I realize that, code behind of Html5 display support only Javascript language.  
I have some external library which downloaded from internet . How can I import them and use them in factory studio.  
Best

---

<div class="post-metadata">

**Author:** ![Felipe\_support](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@Felipe\_support](https://forum.tatsoft.com/u/Felipe_support)\
**Post date:** [October 17, 2023, 2:44pm UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/2 "2023-10-17T14:44:30Z")

</div>

Hello Manh,

In order to use JS external libraries in FS you have to use our HTML5 Control tool.

In the minute 44 of this video you can find some informations about HTML5 Controls: [What’s In The Box | Episode 008 | Creating HTML5 Pages with Real-Time Data](https://www.youtube.com/watch?v=LnDKkGi6-9w&t=806s)

Here are some links to download projects that implements HTML5 Controls:  
[HTML5\_Dashboard.tproj](https://partners.tatsoft.com/dl/hqQHsysF3k)  
[HTML5Controls.tproj](https://partners.tatsoft.com/dl/PkigAl3Sci)

Hope it helps. Any questions we are available.

Bests,  
Tatsoft Team.

---

<div class="post-metadata">

**Author:** ![Manh](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@Manh](https://forum.tatsoft.com/u/Manh)\
**Post date:** [October 18, 2023, 4:04am UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/3 "2023-10-18T04:04:01Z")

</div>

Dear Expert  
Thank for your support.  
I have some issues.

1. The library have 2 type. One is script function library which include availabe instruction in order to using code behind. The other one is Control Object library which include Symbol in order to import into display. I think that The HTML5 Control tool only import Control Object library into display, isn’t it?  
How can i use both of library type?
2. My factory studio is Demo license. It can’t your sample project.  
Best

---

<div class="post-metadata">

**Author:** ![Manh](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@Manh](https://forum.tatsoft.com/u/Manh)\
**Post date:** [October 23, 2023, 4:18am UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/4 "2023-10-23T04:18:17Z")

</div>

Dear Expert  
Please continue help me this case?  
Best

---

<div class="post-metadata">

**Author:** ![Felipe\_support](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@Felipe\_support](https://forum.tatsoft.com/u/Felipe_support)\
**Post date:** [October 24, 2023, 12:25pm UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/5 "2023-10-24T12:25:46Z")

</div>

Hi Manh,

Is it possible to send us the library you are trying to import, in order to make some tests and find the best way to import it?

To see HTML5 Control working, you can try to run this project in your Demo license: [HTML5ControlExpress.tproj](https://partners.tatsoft.com/dl/KsaLr9bvHv)

Bests,  
Tatsoft Team.

---

<div class="post-metadata">

**Author:** ![Manh](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/m/c2a13f/32.png) [@Manh](https://forum.tatsoft.com/u/Manh)\
**Post date:** [October 28, 2023, 8:19am UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/6 "2023-10-28T08:19:20Z")

</div>

Dear Expert.  
Thank for your feedback.  
In my Project, I create HTML5 display which opened on Webserver.  
I need to import Java Excel library into Factorystudio and use it in code bihind HTML display.  
Best

---

<div class="post-metadata">

**Author:** ![Felipe\_support](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@Felipe\_support](https://forum.tatsoft.com/u/Felipe_support)\
**Post date:** [October 30, 2023, 3:11pm UTC](https://forum.tatsoft.com/t/javascipt-in-factory-studio/419/7 "2023-10-30T15:11:02Z")

</div>

Hello Manh,

It’s possible to use the Spreadsheet library from Kendo UI with our HTML5 Control.

To do this, you need to add these URLs to the HTML5 Control Configuration:

 ![html5Control](https://forum.tatsoft.com/uploads/default/original/1X/11609de4ffaf9f8a6d97da4f029f723f97de650c.png)

This link contains an example project that uses this library, so you can see how to implement it on the “HTML5\_MainPage” display: [SpreadSheet-HTML5Control.tproj](https://partners.tatsoft.com/dl/7pi3ESYROr)

In the following link, you can review the example code we used in the code-behind of the project we’ve sent you: [Example Spreadsheet Kendo.UI](https://demos.telerik.com/kendo-ui/spreadsheet/index)

The following link contains the library documentation, which may help with your implementation: [Spreadsheet Kendo.UI Documentation](https://docs.telerik.com/kendo-ui/api/javascript/ui/spreadsheet)

We want to emphasize that at the 44th minute of this video, you can find some information about HTML5 Controls: [What’s In The Box | Episode 008 | Creating HTML5 Pages with Real-Time Data](https://www.youtube.com/watch?v=LnDKkGi6-9w&t=806s)

We hope this helps. If you have any questions, we are available.

Best regards,  
Tatsoft Team.
