# Using External Bootstrap Framework

**URL:** <https://forums.losant.com/t/using-external-bootstrap-framework/2243>\
**Category:** Help\
**Tags:** experience\
**Created:** [October 2, 2019, 8:35pm UTC](https://forums.losant.com/t/using-external-bootstrap-framework/2243 "2019-10-02T20:35:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edward\_Szajner](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Edward\_Szajner](https://forums.losant.com/u/Edward_Szajner)\
**Post date:** [October 2, 2019, 8:35pm UTC](https://forums.losant.com/t/using-external-bootstrap-framework/2243/1 "2019-10-02T20:35:26Z")

</div>

I am trying to incorporate an external bootstrap framework into my Losant Experience application. I have copied the bootstrap framework files as well as CSS files to my Application/Files directory structure. I also have create an Experience view and modified the HTML code to point to the Bootstrap framework and CSS files but it appears not to recognize these. Can anyone provide some assistance to get this working?

Here is the HTML code

 Smart Building Manager| Verizon 

Toggle navigation

-        
  - 
    - [Smart Building Documentation](https://manage.mist.com/)

- |
- Link 1
- Link 2
- Link 3
- Link 4
- Link 5

- About

- 
- 

```
<div class="container whitepage">
  <div class="row row-eq-height">
    <div class="pageHeader col-md-12 col-sm-12">
      <h1>Smart Building Manager</h1>
    </div>
  </div>

  <div class="row">
    <!-- Left Side Bar -->
    <div class="col-md-2 col-sm-2 leftSideBar leftSideBarHeight scrollAction">
      <h2>Organizations/Sites</h2>
    </div>

    <!-- Content section -->
    <div class="col-md-10 col-sm-10 contentSection">
     <!-- Check to see if we have a valid org and site name -->
      <?php
        $orgName = "Smart Building"
        if ($orgName) {
      ?>
        <h2><?php echo $orgName . " Info"?></h2>

        <!-- Org Info section -->
        <div class="col-md-6 col-sm-6 column-separator contentHeight scrollAction">
          <h2>Org Info</h2>
        </div> <!-- End of Org Info section -->

        <!-- Site Info section -->
        <div class="col-md-6 col-sm-6 contentHeight scrollAction">
          <h2>Site Info</h2>
        </div> <!-- End of Site Info section -->
      <?php } else { ?>
        <div class="col-md-10 col-sm-10 contentSection emptyContentHeight">
        </div>
      <?php } ?>
    </div> <!-- End of Content section -->
  </div>
</div><!-- /.container -->

<!-- Global Footer -->
<footer class="container disclaimer padding-left-right-zero footerPage">
  <div class="row">
    <div class="col-md-8 col-xs-8">
      <p>Proprietary and Confidential. Not for disclosure outside of Verizon.</p>
    </div>
    <div class="col-md-4 col-xs-4">
      <p class="pull-right pull-mobile-none">Copyright ©
        <script>document.write(new Date().getFullYear());</script>
      </p>
    </div>
  </div>
</footer>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/vzdesign/scripts/jquery.min.js"></script>
<script src="/vzdesign/scripts/bootstrap.min.js"></script>
<script src="/vzdesign/scripts/vzbootstrap.min.js"></script>

```

I have also included images showing

```
o CSS file structure
o Root file structure (bootstrap framework)
o Output of HTML

```

Hope this can provide enough data to help identify the issue

thanks

ed

 ![Losant%20App%20Output](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/3/3bae607f774bb07fae021c7b6cfe9b4b13a894bc.png) ![Losant%20CSS%20File%20Dir](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/a/a085f9d50f44191d09b246a9dd1f7ab0c569e9b7.png) ![Losant%20Root%20File%20Dir](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/4/44372a2dc57c7ae1b8c3a50067c754f4c0397525.png)

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [October 2, 2019, 9:12pm UTC](https://forums.losant.com/t/using-external-bootstrap-framework/2243/3 "2019-10-02T21:12:07Z")

</div>

Hi @Edward_Szajner,

I believe the problem here is the path to your files. I opened DevTools on your experience page and was given a few “404: failed to load resources” error on the files you refer to above:

![59%20PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/755b08421a72d96e37d385b1eca71b5835e640d6.png)

You can get the path of these files by visiting them in Losant Files and copying the URL:

![45%20PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/1/1edb1587156fbaa9f0797bbda51d67d9e036a2ad.png)

Let me know if this works for you!  
Julia

---

<div class="post-metadata">

**Author:** ![Edward\_Szajner](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Edward\_Szajner](https://forums.losant.com/u/Edward_Szajner)\
**Post date:** [October 2, 2019, 9:41pm UTC](https://forums.losant.com/t/using-external-bootstrap-framework/2243/4 "2019-10-02T21:41:24Z")

</div>

Julia,

That appears to work as expected. I guess I am was under the impression that file paths for Application/Files was relative and not absolute. I don’t like the fact that I have to supply the https:// tag along with the UUID of the Experience application. It would make more sense to have the Application/Files structure relative to the actual Losant Experience application so that part of the path could be hidden from the code. This is how Webservers typically work where the base is defined and you only supply the file specific part of the path

thanks

ed
