RSS
thumbnail
David H Nebinger | 16 Feb 2017

Recently I was lamenting how I felt that JSP fragment bundles could not introduce new dependencies and therefore the JSP overrides could really not do much more than reorganize or add/remove already supported elements on the page. For me, this is like only 5% of the use cases for a JSP override. I am much more likely to need to add new functionality that the original portlet...

37580
9
thumbnail
Mohammed yasin | 01 Mar 2017

By Default in Liferay, Resource Importer will import journal articles,structures,templates,sites and document to all portal Instances present in the System If we need to restrict Resource importer to one particular instance we can do it by following steps STEP 1 : In your Theme Plugin go to docroot/WEB-INF/liferay-plugin-package.properties file and add the Portal Instance Web...

15954
0
thumbnail
David H Nebinger | 15 Jan 2020

One of the things that I never really used in 6.x was the Liferay upgrade APIs. Sure, I knew about the Release table and stuff, but it just seemed kind of cumbersome to not only to build out your code but on top of that track your release and support an upgrade process on top of all of that. I mean, I'm a busy guy and once this project is done I'm already behind on the next one. ...

35571
6
thumbnail
David H Nebinger | 10 Nov 2023

In Liferay 6.x, scheduled tasks were kind of easy to implement. I mean, you'd implement a class that implements the Liferay Message Bus's MessageListener interface and then add the details in the <scheduler-entry /> sections in your liferay-portlet.xml file and you'd be off to the races. Well, things are not so simple with Liferay 7 CE / Liferay DXP. In fact, I...

71678
31
thumbnail
Neil Jin | 07 Feb 2017

This article talks about how to create json web service based on Service Builder Service.   Knowledge: Service Builder JSON Web Service   When we intent to make a service to be a web provider to serve json web service, we can utilize Service Builder to build our json web service. We have an article...

34275
1
thumbnail
David Truong | 03 Feb 2017

A search for a better SDK A little over a year ago, the Dev Tools Team began a new project hoping to fix the issues we encountered with the Plugins SDK. We had just finished modularizing our developer tools and were considering revamping the Plugins SDK to use all the new tools. This in itself would be a major improvement since we would no longer require a 300mb bundle just to use...

27072
0
thumbnail
Allen Ziegenfus | 02 Feb 2017

If you want to find out more information about how a search is being executed in Liferay, you can modify the logging settings to output search queries to the log. To do this, go into Control Panel-> Server Administration -> Log Levels -> Add Category and add a new entry for the class com.liferay.portal.kernel.search.SearchEngineUtil for log level DEBUG. (Please note that...

18141
0
thumbnail
David H Nebinger | 03 Feb 2017

When you start reviewing Liferay 7 CE/Liferay DXP code, you run into a lot of annotations in a lot of different ways.  They can all seem kind of overwhelming when you first happen upon them, so I thought I'd whip up a little reference guide, kind of explaining what the annotations are for and when you might need to use them in your OSGi code. So let's dive right in... ...

79609
10
thumbnail
David H Nebinger | 02 Feb 2017

Alt Title: Cool things you can do with OSGi Introduction So one thing that many organizations like to stand up in their Liferay environments is a "health check".  The goal is to provide a simple URL that monitoring systems can invoke to verify servers are functioning correctly.  The monitoring systems will review the time it takes to render the health check page and...

32845
2
thumbnail
Vikash Kumar | 31 Jan 2017

  Customize /html/portlet/journal_content/view.jsp   <%@ include file="/html/portlet/journal_content/init.jsp" %>   <% JournalArticle article = (JournalArticle)request.getAttribute(WebKeys.JOURNAL_ARTICLE); JournalArticleDisplay articleDisplay =...

600
0
thumbnail
Javeed Chida | 15 Mar 2017

Let me begin by clarifying that this post has nothing to do with the Harry Potter universe.   But seriously. You know what I mean by wizards, don’t you? Those helpful series of screens that gather a set of choices from the user and then use the captured choices to do something for the user. Often times, one user selection can lead to a different...

26537
1
Alex Swain | 26 Jan 2017

I fell over a problem the other day that I had solved ages ago and foolishly hadn't taken the time to write down how I did it. I guess it must be fairly rare as my standard "I might have forgotten to write it down, but someone must have" approach to finding the answer on the internet also failed. So, I have committed to solving both issues with one post. I'm running LifeRay 6.2...

14954
2
thumbnail
Neil Jin | 25 Jan 2017

As a supervisor of my department, some times I want to check how much progress of a work is done, who is working on a certain trading? who is reviewing a loan application? If a new business plan application is getting stuck for 2 weeks who is in charge of that? I want more information than a simple word pending...   With workflow out of the box, you can't review any...

17124
0
thumbnail
Jan Eerdekens | 25 Jan 2017

I've been working with Liferay for quite some time now, but I must confess that I still haven't really made the switch from Velocity to Freemarker for my templates. Even though I know there are a lot of benefits to using Freemarker, like better error messages, the Velocity knowledge and library of snippets I've build up through the years is hard to give up. But with the advent of...

38308
7
thumbnail
Justin Choi | 23 Jan 2017

Three weeks ago marked the sixth year anniversary for me. It came and went quietly. I probably would have not posted anything but something said at this past retreat prompted me to reconsider.  In the past six years, at each retreat, I have had the pleasure to work and play so many different nationalities and backgrounds. Some are married. Some are single. Some are male; some...

14951
1
thumbnail
Javeed Chida | 30 Jan 2017

This short post brings together the little pieces critical to crafting an ADT in velocity to provide direct download links to documents in your Documents and Media repository. You will find parts of this solution strewn across forums and blogs.    In essence, you'll have to do two things: 1. Add the following property to your...

29395
5
thumbnail
David H Nebinger | 02 Feb 2017

So in a recent project I've been building I reached a point where I believed my project would benefit from being able to issue user notifications. For those that are not aware, Liferay has a built-in system for subscribing and notifications.  Using these APIs, you can quickly add notifications to your projects. Foundation Before diving into the implementation, let's...

49052
18
thumbnail
Tim Telcik | 21 Apr 2018

Overview Sometimes you need to manually reindex some, or all, of the content search indices. Liferay Portal 6.2 provides search indexing functions for many content types. e.g. Blog Document Journal Article Wiki The content reindex functions apply to the registered search engine provider. e.g. Apache Lucene Apche Solr ...

14111
1
thumbnail
Jonathan Lundy | 18 Apr 2017

Hey! My name is Jonni and I'm a UI intern on the WeDeploy team. I joined back in November and wanted to share a couple things from my first three months at Liferay.                               I have no coding background. Before my...

18668
0
thumbnail
Neil Jin | 23 Jun 2017

The purpose of this tutorial is to let you know how to involve a 3rd part js lib in metal soy portlet and how to use them in ES6 script.    In Liferay DXP we provide abundant OOTB js lib to help the development. Jquery, AlloyUI, metal, lexicon component and etc.   They are all good, however, in real...

23809
5