Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

How to reference css and javascript in web portals

Posted on by 130

Hi - I'm creating a page in web portal. And I have few css and javascript files. I wonder how can I reference these files into web portal. (the html page won't function without these files). Here's css and javascript files I want to reference. Any clue please?

<link type="text/css" rel="stylesheet" href="lib/ion.css">
<link type="text/css" rel="stylesheet" href="lib/main.bundle.css">
<script type="text/javascript" src="lib/player-0.0.11.min.js"></script>
<script type="text/javascript" src="lib/lzwcompress.js"></script>

  • Verified answer
    oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: How to reference css and javascript in web portals

    You need to create a Web File and attach your file as a note

    The web file can relate to your page that you need, or can be loaded in the Home Page and be available everywhere in your portal: docs.microsoft.com/.../web-files

    In this blog post I add a reference to a jQuery mask library, so you can follow the steps from there: oliverrodrigues365.com/.../

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans