Question

1
Replies
58
Views
Close popover
Guangri Liang (liang)
PEGA
Sr. System Architect
Pegasystems Inc.
JP
liang Member since 2019 10 posts
PEGA
Posted: June 4, 2020
Last activity: June 30, 2020

how to include 3rdparty javascript libraly or css into control html?

I am trying to customize standard control (datepicker) by using 3rdparty javascript library and css.

how could I import these javascript and css into control html?

I tried in this as below, but it seems not works.

 

  <pega:onlyonce name="AngularMaterialCss">   <pega:static type="style" app="webwb">     <pega:file name="Infragistics_theme.css" />     <pega:file name="Infragistics.css" />

  </pega:static> </pega:onlyonce>

<!-- only include AngularJS once per page --> <pega:onlyonce name="pega_ui_angularjs"> <pega:static type="script" app="webwb">   <pega:file name="pzpega_ui_angularjs_min_172.js" />   <pega:file name="Jquery1113.js" />   <pega:file name="Modernizr283.js" />   <pega:file name="Jqueryuimin.js" />   <pega:file name="Infraqisticscore.js" />    <pega:file name="Infraqisticslob.js" />    </pega:static> </pega:onlyonce>

 

***Edited by Moderator Marissa to update Platform Capability tags****

Pega Platform User Experience