Question

1
Replies
183
Views
MarianeA Member since 2016 72 posts
Murex
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed
Solved

Install Bootstrap in Pega 7.2.1 (unsuccessful but no error message )

Hello,

We need to use some components from Bootstrap. For that we need to reference external files. Adding the below in our HTML rule works fine:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

However, we would like to store/install them in Pega and reference them as we reference local js/css file.
I have currently downloaded bootstrap 3.3.7 and copy pasted its content in a Text File rule.
(More specifically I copy pasted the content of those files: bootstrap.min.js and bootstrap.min.css. They didnt work, so I also tried referencing bootstrap.js and bootstrap.css)
I then referenced those Text File from the HTML rule.
I am not getting any error but it doesnt seem that Pega is referencing Bootstrap

Any hint or help will be greatly appreciated:)

Thank you in advance for your help :)

Mariane

***Moderator Edit: Vidyaranjan | Updated Categories***

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn