Search Results

ナレッジベース 1394
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
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...
Access multiple sites using the different domain name
Issue Run multiple Sites on a single instance using the different domain names Example: Site 1 running on the 'www.test.com:8080' domain and Site 2 running on the 'www.demo.com:8080' domain. Environment Liferay DXP [all versions] Resolution Modify the hostname, navigate to the...
Hide default login page /c/portal/login
Issue Is it possible to hide the default /c/portal/login page? We want users to use a specific login page, and prevent them from using /c/portal/login to log into the portal. Environment Liferay DXP 7.0+ Resolution You can leverage auth.login.url property to achieve this: # Enter a URL...
After activating Publications, publication users can make changes directly in production
Issue With Publications active, we want to prevent publication users from being able to make changes directly in production, we only want them to be able to change publications. Environment Quarterly Release 2023.q3 Resolution To prevent a user from being able to publish in Production,...
How to enable cookies and the banner, consent panel
Issue How to enable the cookie preference handling as well as the configuration options for both the banner and the consent panel. Environment Liferay DXP 7.4 Resolution This feature was introduced in the Liferay DXP 7.4 update 66. To enable this option, follow the below steps: Navigate...
How can administrator users pre-configure a category filters in a search page?
Issue In a search page, an administrator user can narrow search results using the Type Facet by pre-selecting specific object types in the widget configuration. We need to do a similar filtering selecting specific Categories, the problem here is the Category Facet lacks this capability,...
After migrating to DBStore, how to check it was (entirely) successful
Issue We are in the process of migrating documents and media from our file-system based store to the database (DBStore) How to find out if all active documents and media are migrated to the database? Is there a way to do a count? Environment DXP 7.x Resolution First of all, if the...
How can I disable web content history?
Issue We would like to have only one version of our web contents so we want to to disable the web content history/versioning. Environment Liferay DXP 7.4 + Resolution Edit the Journal Article Maximum Version Count from Control Panel > System Settings > Web Content. The other, already...
Font-weight is not being responsive on Heading Fragment
Issue Despite setting the font weight for the Heading Fragment, the fragment is unresponsive and doesn't respond to the applied setting.  Environment DXP 7.4 Resolution This is determined to be the intended behavior. This is because some common styles don't work with all the fragments...
Unable to see Multiple options for web content
Issue Trying to change the web content to multiple languages but users are unable to see multiple options for web content. Environment Liferay DXP 7.4 [all versions] Resolution There are the following steps to add multiple languages to the web content. 1. Add multiple languages in the...
How to disable the blue redirection box
Issue Navigate to the home page and change the URL http://localhost:8080/en/web/guest to http://localhost:8080/en-au/web/guest or http://localhost:8080/en-gb/web/guest and hit the URLs, the blue pop-up appears on the bottom left corner with the following message. Success: You were...
How to bulk edit Categories?
Issue How can a Liferay user bulk edit Categories in the Documents and Media? Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Go to a DXP site. Navigate to Content&Data --> Categorization --> Categories. Create a new vocabulary and a new category. Navigate to the Documents and...
Forbidden when trying to download openapi.json
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 unable to successfully download the openapi.json file using a web browser. I get a 403 error when accessing the URL...
Filter out the users based on the departments using objects and picklists
Issue How to create a filter using an object to filter users with respect to their department Environment Liferay DXP 7.4 Resolution Follow the below steps to create filter: 1. Navigate to Control Panel > Object > Objects. 2. Now create 'New custom object' say - Newuser and click on...
How to solve error: the parameter is null: _companyLogRoutingFilePatterns
Issue Trying to migrate from 7.4 to Q3, you could observe that in catalina.out file there are some errors such as the following: 2023-11-17 09:54:43,839 main ERROR The parameter is null: _companyLogRoutingFilePatterns 2023-11-17 09:54:43,840 main ERROR The parameter is null: _dirPattern...
How to check item display permissions
Issue If the container folder (JournalFolder) of a web content does not have VIEW permissions for Guest, the contents are not seen if we are not logged in. This was different in 7.2. What has changed? Environment DXP 7.4 DXP 7.2 (Migrated to 7.4) Resolution In DXP 7.2 there is a setting...
What are the differences between using name and property in metatags
Issue We were creating custom meta tags and we see there are created using "property" attribute instead of "name" attribute. Are there any differences between using name and property? Are they equivalent? Could we modify current implementation in order to use "name" instead of...

該当件数: 1,393 件中 161 - 200