Question

1
Replies
195
Views
Close popover
Mariane Ammar (MarianeA)
Murex

Murex
LB
MarianeA Member since 2016 72 posts
Murex
Posted: March 8, 2017
Last activity: March 8, 2017
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.