Liferay document viewer plugin portlet meera prince objective. Snippets for cmis content viewer portlet, a liferay plugin to query. The presentation provides an introduction to portlets using liferay portal. This tutorial is intended to provide you a full detailed explanation for getting. If you are using basic authentication, then you just need. The username value sets the user name for authentication. This viewer can display pdf and ms documents doc, docx, ppt, xsl, xslx without any. In case if you are using perties file in osgi module then using below snippet you can. The prerequisite for this tutorial is liferay 7 development setup before. Liferay document viewer plugin portlet liferay savvy.
Liferay portal enterprise builds upon the portlet api jsr 168 to provide users with a rich set of portlets. Liferay has an rss reader portlet that is minimally configurable. Documents and media portlet, liferay will process the pdf in a separate thread. Displaying pdf files on liferay website using some sort of viewer ask question.
Liferay is a open source platform which allows you to create websites. How to read perties file in liferay dxp jitendra rajput 3. Liferay reports portlet user guide all about liferay. Im going to override loginmvcactioncommand in this example. Fill out the form below and instructions to reset your password will be emailed to you. As liferay portal is open source, it has a large community of developers. You can view a document with a customized viewer that allows you to nav. How to open a pdf in a portlet portals and portlets forum. Liferary is a jsr 286 complaint leading portlet container. This is how a portlet application can be created using osgi modular framework. This is only used if you are using form authentication.
Liferay named a leader in the 2020 magic quadrant for digital experience platforms. This document lists the key capabilities and portlets in major functional categories. It is possible to create other types of portlets though i. I was just playing with reports ee portlet available on liferay market place. How to create portlet application using osgi in liferay 7. There are different types of portlet containers such as apache pluto, oracle web center and liferay. If we want see ms office documents and open office documents we need to configure. The latest release of liferays flagship product, liferay portal 6. I am trying to make a very basic portlet where 1 jsp page links to another. We at cignex developed online pdf viewer portlet using icefaces and icepdf frameworks. Digital experience software tailored to your needs liferay. Pdf document display all the pdf store in the documents media to be viewed in different styles. Portlet ui widget portlet is a pluggable javascript component that allows placing other widgets inside it and creating a flexible page layout.
Rivet logics costa rica developers forge presented this at a costa rica java users group meeting. A few words about liferay open source leader portal that implement portlet api 1. I have a requirement to provide report generation functionality on a button click. This pdf viewer portlet provides following features. Liferay xss filters java,liferay, liferay 7, soap, rest. This is an invaluable source of trouble shooting, code samples, tutorials, and addons, all of which are readily. You can use liferay portlet for creating an enterprise, standard and scalable web application. Its simple url request we need to pass document source to the url so that we can view the document.
If you had used websphere portal, the document viewer portlet comes out of the box, but looks like you are using liferay. Ive created a web content display portlet where ive added an example text that links to the url of. The only tool available that is 100% java and has a compatible license to be distributed with liferay is pdfbox. All these embedded portlets are noninstanceable as defined in the liferayportlet. It allows us to browse pdf documents available in document library. Liferay 7 portlet tutorial java,liferay, liferay 7, soap. In this tutorial, we will look into liferay 7 portlet module creation along with osgi configuration. After looking throught code current trunk i think i. Just wanted to add some points in addition to what has been said already.
Ftmaintenance is a robust and easy to use computerized maintenance management system cmms built by fastrak softworks. With this version we become a brand new concept which implements the osgi. Document viewer is not working in liferay jsf portlet, we have the following library versions. Merging rss feeds and displaying using saxreaderutil in. Liferay xss filters,liferay cross site scripting,liferay js injections, liferay javascript injections,xss filter, cross site scripts, js injections in form. The portlet is available under server in the control panel in 6. Displaying pdf files on liferay website using some sort. As liferay was written by developers for the developers to get the work done faster and easily. The following are examples from the portlets bundled with liferay. How to open a pdf in a portlet portals and portlets forum at. Snippets for cmis content viewer portlet, a liferay plugin to query and render. Javascript portlet ui widget for web apps developers.
There are three main types of portlets typically created in dotcms, the velocity, struts or jsp portlet. Total java for liferay hook plugin app provides options for exporting webcontents and blogs created in html to msword, msexcel and pdf viewer emdev limited. This article is intended to give you an overview of the steps required to migrate a legacy liferay mvc portlet to liferay 7, and give you some helpful pointers so your first liferay. Download liferay document viewer portlet from following location. I converted the war to ear and deployed it on the webcenter. If you are looking to override a portlet mvc action command then you are at correct place.
Migrating a legacy liferay mvc portlet to liferay dxp 7. So if we add this portlet on any communityorganization page. For this we need not to do any configuration so that it will automatically view the pdf documents. A noninstanceable portlet has only one instance on a portal page and therefore, its portlet id is.
188 1295 210 545 233 1049 1034 164 1055 1097 725 320 525 568 507 339 260 1208 69 115 1237 149 1609 1213 728 1149 25 496 41 905 357