# Accessing the HTML template for a customAttribute

**URL:** <https://discourse.aurelia.io/t/accessing-the-html-template-for-a-customattribute/3670>\
**Category:** Blog Posts\
**Created:** [July 22, 2020, 3:22pm UTC](https://discourse.aurelia.io/t/accessing-the-html-template-for-a-customattribute/3670 "2020-07-22T15:22:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TGJGilmore](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/tgjgilmore/32/1864_2.png) [@TGJGilmore](https://discourse.aurelia.io/u/TGJGilmore)\
**Post date:** [July 22, 2020, 3:22pm UTC](https://discourse.aurelia.io/t/accessing-the-html-template-for-a-customattribute/3670/1 "2020-07-22T15:22:26Z")

</div>

I am attempting to access the HTML file used by a customAttribute to present a specialised tooltip. The URL for the file (using viewEngine.loadViewFactory) is fine until I bundle the project into a node package. Then, it becomes inaccessible from within the user project.

---

<div class="post-metadata">

**Author:** ![zewa666](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/zewa666/32/19_2.png) [@zewa666](https://discourse.aurelia.io/u/zewa666)\
**Post date:** [July 22, 2020, 6:15pm UTC](https://discourse.aurelia.io/t/accessing-the-html-template-for-a-customattribute/3670/2 "2020-07-22T18:15:07Z")

</div>

If you’re using Webpack make sure to wrap the string with PLATFORM.moduleName, this prevents the mangling
