The Documents and Media folder URL is too long and complex. I would like to make it shorter and more user friendly

Issue

I use Documents and Media portlet to download files. The URL of the folder where the files are stored is too long and complex and can confuse users who would like to download files. I would like to have the folder URL shorter and friendlier.

Reproduction Steps:

  1. Start DXP 7.4 (any Quarterly Release version).
  2. Go to Content & data → Documents and Media and add a folder.
  3. Click on the folder, copy its URL, and check the URL

Checkpoint: The URL is too long:

http://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fview_folder&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26p_p_auth%3DbtGpOa4J&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37210&p_p_auth=btGpOa4J

     4. Create a subfolder from the previous one and check its URL.

Checkpoint: The URL is longer than the previous one:

http://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fview_folder&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName%3D%252Fdocument_library%252Fview_folder%26_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Fguest%252F%257E%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_document_library_web_portlet_DLAdminPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName%253D%25252Fdocument_library%25252Fview%2526p_p_auth%253DbtGpOa4J%26_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId%3D37210%26p_p_auth%3DbtGpOa4J&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37341&p_p_auth=btGpOa4J

    5. Create another subfolder within the previous subfolder and check its URL.

Checkpoint: The URL is longer than the previous ones:

http://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fview_folder&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName%3D%252Fdocument_library%252Fview_folder%26_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Fguest%252F%257E%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_document_library_web_portlet_DLAdminPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName%253D%25252Fdocument_library%25252Fview_folder%2526_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect%253Dhttp%25253A%25252F%25252Flocalhost%25253A8080%25252Fgroup%25252Fguest%25252F%25257E%25252Fcontrol_panel%25252Fmanage%25253Fp_p_id%25253Dcom_liferay_document_library_web_portlet_DLAdminPortlet%252526p_p_lifecycle%25253D0%252526p_p_state%25253Dmaximized%252526p_p_mode%25253Dview%252526p_p_auth%25253DbtGpOa4J%2526_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId%253D37210%2526p_p_auth%253DbtGpOa4J%26_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId%3D37341%26p_p_auth%3DbtGpOa4J&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37343&p_p_auth=btGpOa4J

Expected Result: I would like to have a shorter and friendlier folder URL.

Environment

  • Liferay DXP 7.4 Quarterly Release

Resolution

  • The current behavior is expected. A Feature Request is submitted for the Product Team to figure out a solution to make the folder URL shorter and more user-friendly: LPD-18506
  • You can inquire about the status of the request and/or add comments to it at the following Liferay Ask link: https://liferay.dev/ask/questions/feature-requests
Was this article helpful?
0 out of 0 found this helpful