Search Results

Knowledge Base 1362
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Existing template is not found when creating a web content in Global Site
Issue When trying to add a Web Content in a new created template under the Global Site, the new template is not displayed or available to select. Environment DXP 2023.q3.4 Resolution This is the expected behavior. The template was not associated with a structure so it will not appear in...
White space in the html source
Issue When viewing page source, is it possible to remove the white spaces in order to make it easier to read? Environment Liferay DXP 7.3+ Resolution Set the following properties in your portal-ext.properties file, to filter the extra white spaces in the html source. # The strip filter...
How to Query for Javascript Alerts in Web Content Articles across multiple sites
Issue How do I search for Javascript Alerts that are located in Web Content Articles across different Liferay sites?   Environment Liferay 7.4   Resolution The overall approach towards querying the alerts is: Get a list of Web Content articles that have the "alert(" Javascript code in...
How can I restart just one Liferay node from the Cloud Console?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue One node isn't working as expected, but I don't want to redeploy the entire Liferay service. Environment Liferay PaaS Resolution To...
Is there a way to bypass CAPTCHA without having to disable it?
Issue We will do some Automation tests in our QA environment and would like to know if it is possible to bypass CAPTCHA using configuration settings without having to disable it. Environment Liferay DXP 7.4 Resolution A way out of the box to not require CAPTCHA for authenticated users...
Use Javascript with Client Extension on pages
Issue How to run Javascript on pages using a client extension? Environment Liferay DXP 7.4 Resolution With a JavaScript (JS) client extension you can run your own JavaScript on any page in Liferay without worrying about dependencies on Liferay code or developing a theme. Following are...
How to remove languages in Instance Settings?
Issue How can a user remove languages in Instance Settings? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Start up a vanilla bundle without any specific language settings. Go to Control Panel > Instance Settings > Localization. Make sure all languages are available.  Stop the...
How to enable conversions for document library files.
Issue How to download converted document through Liferay Document Media portlet while using OpenOffice? Environment Liferay DXP 7.4  LibreOffice 7.1.6  OpenOffice 4.1.11  Resolution Add the dl.file.entry.conversions.enabled=true property in the portal-ext.properties file and restart the...
How to get a list of portal Users and what Roles are assigned to them?
Issue I would like to get a list of Liferay portal users and what roles are assigned to them. Environment Liferay DXP 7.2+ Resolution Please run the attached Groovy script: ListUsersAndRoles.groovy  Additional Information Running Scripts From the Script Console, content:...
How to set up antivirus scanning of files uploaded to Liferay Documents & Media in Liferay PaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Customers who aren't familiar with Docker can't easily setup ClamAV in Liferay PaaS. How to setup ClamAV in Liferay PaaS to antivirus...
How to use anchors in CKEditor
Issue I need to make use of anchors in my content Environment Liferay 7,3, 7.4, Quarterly Releases Resolution To be able to use anchors in your content, you'll need to follow these steps: Add a Rich Text field in your structure. Click on the Link option and choose 'Link to anchor in the...
Good practices in using Publications
Issue I would like to understand from the Product's point of view what would be the best way to create a new website using the Publications tool. What would be the best option among the scenarios below: Create the website first, then the publication for pages and content? Create the...
How to set up OpenOffice/LibreOffice integration in a Docker environment
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I am running Liferay through Docker and I would like to enable the OpenOffice integration as described at...
Different behavior if you call a non-existing jpg or a gif
Issue A user tries to open a non-existing file with the documents path For example: localhost:8080/documents/abc.jpg or localhost:8080/documents/abc.gif The user will get a "Not Found" Page but it is not the same for the 2 extensions   Environment Liferay DXP 7.4+   Resolution The...
Rest API to perform web content structure Import and Override
Issue Does Liferay provide any Rest API that can be used to save exported JSON of structures into Liferay DB, like the option "Import and Override" in Structure tab of Web Content? To be more precise, imagine a simple use case like this: Create a site S1 and in it create a web content...
Security Vulnerability CVE-2023-28708
Issue This security vulnerability (CVE-2023-28708) has been reported, and it is fixed in Tomcat 9.0.72. However, our current Liferay DXP 7.3 SP1 has a 9.0.40 Tomcat version. Environment Liferay DXP 7.3 Resolution To mitigate this vulnerability, update Liferay DXP 7.3 to Liferay 7.3...
Improve Performance in Gradle time compilation
Issue When a Liferay workspace becomes larger and has a number of modules, the build process slows down. Environment DXP 7.3+ DXP 7.4+ Quarterly releases Resolution Once the workspace is created and you only need to compile a specific module instead of the entire project, you can do so...
Check the Java version in Liferay PaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue You want to know which Java version is running. Environment Liferay 7.2+  Liferay PaaS Resolution You can run the following command...
How to hide the particular folder from user under document and media
Issue How to hide a particular folder from a particular user in the document and media section. Environment Liferay DXP 7.4 Resolution Follow the steps to achieve this requirement: Navigate to the Control Panel > Users > Roles and create a role say- 'Management' Navigate to Control Panel...
Single Approver Workflow: how to bypass for admin role
Issue We have implemented a single approver workflow for content review. The requirement is to bypass this workflow for users with the Admin role, allowing them to directly create new content and publish it without going through the workflow process. For users without the Admin role, the...

Showing 161 to 180 of 1,361 entries.