Search Results

Knowledge Base 1395
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Obfuscating property values and rendering them as asterisks(*****) in the Control Panel.
Issue Certain property values need to be hidden in the Control Panel.  Environment DXP 7.4 Resolution To obfuscate the value of a portal property and have it appear as a string of asterisks (****) in the Control Panel, you have to include the name of that portal property in the...
Hide image formats to be returned in search result
Issue When users search for a specific keyword (let's say fav) using the Liferay search bar portlet, the search result shows each and every content with the keyword fav that are Web Content, Images, users, etc. The expectation is to hide image formats such as (png, gif, jpg, jpeg) to be...
How to remove file upload option for the particular user
Issue How to remove or add the file upload option in the web content for the specific user. Environment Liferay DXP 7.4 Resolution The following are the steps that can be taken to achieve this:  Log in as an administrator. Navigate to the Control Panel > Users > Users and Organization....
How to perform a log-out from a custom theme
Issue I want to perform a logout from a custom theme. Environment Liferay DXP 7.0+ Resolution Avoid calling /c/portal/layout directly. Instead, you can leverage the sign_out_url variable initialized in init.ftl for frontend-theme-unstyled base theme (see code). For instance, you can do...
Search Facet and Total Counts Accuracy and Dynamic Permission Inheritance
Overview Each search response includes the total result count and the count for each facet bucket. This applies to Liferay's faceted searches: from the Search Bar or a Headless Search API call. These counts are not guaranteed to be accurate because the indexed view permissions are...
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 Generate SAML Tracer export for Liferay Support
SAML Tracer can be a useful debugging tool for viewing SAML messages sent through the browser during single sign-on and single logout and helps with analyzing both SP- and IdP-initiated SAML flows, including viewing and exporting SAML requests and responses in various browsers. It is a...
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...

Showing 161 to 180 of 1,394 entries.