<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Is there any official work around to override 7.4's portlet js files?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121378096" />
  <subtitle>Is there any official work around to override 7.4's portlet js files?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121378096</id>
  <updated>2026-04-03T18:27:33Z</updated>
  <dc:date>2026-04-03T18:27:33Z</dc:date>
  <entry>
    <title>Is there any official work around to override 7.4's portlet js files?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121378095" />
    <author>
      <name>旻 吴</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121378095</id>
    <updated>2025-04-15T00:43:36Z</updated>
    <published>2022-03-15T08:24:32Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We are seeking for some official work around to override LF7.4's
  portlet javascript files, especially those written in ES6 with react.
  What we are expecting is somthing like &lt;a
    href="https://help.liferay.com/hc/en-us/articles/360017881192-Overriding-Liferay-DXP-s-Default-YUI-and-AUI-Modules"&gt;Overriding
    Liferay DXP's Default YUI and AUI Modules&lt;/a&gt; in the old versions.&lt;/p&gt;
&lt;p&gt;Indeed it is possible to apply &lt;em&gt;jspackage.replaceJSModule()&lt;/em&gt;
  on the destinate portlet's npm modules with some tricky overriding
  modules created by liferay-npm-bundler, through NpmRegistry service,
  but this approach is far from perfect.&lt;/p&gt;
&lt;p&gt;Is there any hint for this topic? Thank you very much.&lt;/p&gt;</summary>
    <dc:creator>旻 吴</dc:creator>
    <dc:date>2022-03-15T08:24:32Z</dc:date>
  </entry>
</feed>
