Class StorageEngineUtil gone in Liferay 7 - liferay

I am working on a code migration project from Liferay 6.2 to Liferay 7.1. In Liferay 6.2 there is a class
com.liferay.portlet.dynamicdatamapping.storage.StorageEngineUtil
from where the method getFields(long classPK) is used. However in Liferay 7.1 the method is gone and I cannot find a replacement for it.
Is anybody here familiar with my issue or Liferay in general and can provide me with some guidance?
Greetings, Michael

Related

How change Powered By Liferay

How can i change powered by liferay to custom label and hyperlink when clicking liferay . I am new to liferay development . Can some suggest to create hook for changing basic functionalities in liferay 7.
You need to write a fragment in Liferay 7
Here is the tutorial
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/overriding-a-modules-jsps
The latest IDE Of Liferay (Released in Dec 2016) provides option to create Liferay fragment hook through IDE.
Previous IDE didnt had the support, other option is you can create through Blade.
To change powered by liferay you must create your custom theme for the liferay.
In liferay you can customize the liferay default theme and there you can modify powered by and liferay with any message as per your requirement.
For more info use these links: Creating theme and Creating basic theme.

Does Liferay 6.2 support apache wicket?

I started to read about wicket integration with liferay. I found very old information that wicket portlet is no longer supported, but wicket version 1.5.6 works fine with liferay 6.0. What about Liferay 6.2?
Just yesterday a user from the community created a Pull Request to fix the support for Liferay: https://github.com/wicketstuff/core/pull/476.
The Pull Request is for WicketStuff 7.x though. You are very welcome to port the fixes to wicket-6.x branch and we will add them for WicketStuff 6.23.0.
WicketStuff 1.5.x is not maintained anymore.
Apache Wicket version 6.x, 7.x and 8.x supports JSR286 portlets.
Please see the following wiki of how to use the apache wicket portlet bridge.
https://github.com/wicketstuff/core/wiki/Portlet

How to upgrade Struts version in Lifeary 6.2 CE?

How do we upgrade the Struts version to the latest in Liferay 6.2 CE?
If you are thinking of updating the struts version for the Liferay OOTB Portlets, then I have some very bad news for you -- You can't.
For your own portlets I think you can use Struts-2.
Will it be possible to let us know your requirement, so that the community might be able to help with an alternative.

Did anybody run the sample code of Liferay Portal Systems Development(2012) successfully on liferay 6.1?

I'm learning Liferay Portal Systems Development 2012 by Jonas X. Yuan. I tried to run sample code knowledge-base-portlet of chapter 3, but so many errors show up, like social-equity doesn't exist, viewJSP is not defined in java file etc., did anybody run it successfully on liferay 6.1.1? thanks
Not sure if he's using Liferay's standard knowledgebase plugin that you can find on the marketplace (source is available there or on github). It seems that the book is for 6.0 (couldn't find the information on the website, but it's released in January 2012), and it seems that knowledgebase is accessing deprecated APIs. Social Equity in Liferay 6.0 is called Social Activity in Liferay 6.1.

Liferay 6.1 portlet worked incorrect in 5.2.3

I have a portlet that worked fine on Liferay 6.1 portal but when I deploy it on Liferay 5.2.3
my configuration page did not even open.
How should I make it work ?
Here is a nice authoritative answer to a very similar question.
The portlets of newer versions are not designed to work on older installation of Liferay. Since they are compiled using the latest plugins-sdk and the also the different jars which have changed since the last version.
So if you want the newer version portlet to work with any older version then you have to compile the portlet with an older version of Liferay with that plugins-SDK. And I am sure there would be a lot of classes and jsp-tags in the Liferay 6.1 portlet which would not work in Liferay 5.2.3.

Resources