Liferay 6.2 authentification-hook migration to Lr 7.2 fragment? - liferay

I asked a question regarding a hook migration lr7.2 fragment but I didn't found any response form the liferay community!
This is the link
https://liferay.dev/forums/-/message_boards/message/118727647
Please any help is appreciated.
Regards

Related

Migrating to Liferay 7 from liferay 6.1.2

I have been reading the liferay documentation about migrating from liferay 6 to liferay 7 (https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/from-liferay-6-to-liferay-7).
I have a basic liferay 6.1.2 application bundle with tomcat that contains a few portlets and all I need is to make it work the same way, without using any new feature (OSGI and all) with liferay 7.
Do you know where I could find a list of new configuration files and a list of the ones that have been deleted?
Is there a place where I can find the new dependencies required by liferay 7 for each of my portlets?
I used the liferay tool to generate the new theme so that's a start...
Any links or advices would be appreciated,
Thanks
EDIT :
I can start liferay 7 with the portlet inside the /deploy. I get no errors, only info like "portlet1.war does not have a WEB-INF/liferay-plugin-package.xml or liferay-plugin-package.properties."
The localhost_host_access.log show a few 404 but not as an error...
I really dont know how to proceed to have information (errors, logs,....) to make this work : my portal is still empty.
You can follow the upgrade procedure (read through the link you've provided) and it should be able to
upgrade your database
upgrade parts of your code
If you are using Liferay IDE or Developer Studio there is code migration wizard. It will not solve all issues but will examine your code and advise you how to change things it can not change itself. This recording in an year old but it will give you an idea of what IDE does (probably more by now). It uses a database of breaking changes, most of which is published here so you can check what is relevant to you.
I do not recommend you do that. First migrates from 6.1 to 6.2 and after 6.2 to 7 or you can redo the entire portal, from Liferay we do not recommend making such low migrations. I recommend you look at the community and OSGI ...

Liferay custom structure ID

Setting in liferay-portal-6.2-ce-ga2/tomcat-7.0.42/webapps/ROOT/WEB-INF/classes/portal-ext.properties:
journal.structure.force.autogenerate.id=false
journal.template.force.autogenerate.id=false
used to enable YOU editing structure and template id.
This DOES NOT work anymore in liferay 6.2
Using liferay 5.x (and I've read on the web about liferay 6.1) was fine.
Does anybody know how to do this again?
It seems that there is a fix implemented for this in Liferay 6.2 EE. I am experiencing the same problem on Liferay 6.2 CE though. Hopefully I will be able to solve it.
The fix is discussed in the following Liferay Issue: https://issues.liferay.com/browse/LPS-48441. You can follow it as a possible direction to get the solution.
Regards.
EDIT: If you want to "avoid the patching" of this issue, you could use the Scripting Console from the Control Panel and change the structures or templates ids running a script. You can get it from my response in the Liferay thread in here:
Structures and Templates Ids autogeneration not working - Liferay 6.2 CE GA2
Structure-Template of Journal Article got changes in Liferay 6.2 version.
dynamic.data.mapping.structure.force.autogenerate.id=false
dynamic.data.mapping.template.force.autogenerate.key=true
are the new properties for having structure-id and template-id as editable.

Index polls portlet in Liferay

In Liferay 6.1, how one can index polls portlet to allow search portlet to retrieve old polls ?
I found answers like you need to index Polls portlet, but I'm new to Liferay and I really don't know how to proceed.
Please help me with some source code.
Thanks alot.
Halim

Alfresco 4.0 and Liferay Integration?

I want to know what all integrations is possible for alfresco 4.0 & liferay as i was googling it and could find some links also but most are for alfresco 3+.
http://www.liferay.com/web/jonas.yuan/blog/-/blogs/integrating-alfresco-3-4-in-liferay-6-1-via-cmis-1-0
http://www.liferay.com/community/wiki/-/wiki/Main/Alfresco+Portlet
http://www.liferay.com/documentation/liferay- http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/document-library-portlet
Can anybody help for 4.0?
Regards.
If you are using Liferay 6.1, you can try adding Alfresco as a new repository.
If you follow the tutorial on Liferay wiki you should be able to access Alfresco documents directly from Documents and Media portlet. But I haven't tried it myself yet.

Integrating Liferay and Alfresco

Im using Liferay version 5.2.3 and Alfresco Community Edition.I want to integrate Alfresco with Liferay . I want to show Alfresco as a portlet within Liferay.
Can someone please tell me how to go about doing this ?
Thank You
There are a couple well-travelled links on the liferay community site.
The most often recommended is this one ...
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Full+Integration+-+Liferay,+Alfresco,+SSO+and+LDAP
This one describes a more basic setup :
http://www.liferay.com/web/jonas.yuan/blog/-/blogs/integrating-alfresco-web-client-as-a-set-of-portlets-with-liferay
Since CMIS was approved as a standard last month, the new best way to achieve this is probably via CMIS, as explained here.
I used this one :
http://www.liferay.com/it/web/navin.agarwal11/blog/-/blogs/integration-with-alfresco-4-x-and-liferay-6-1
And this solution is still valid even with Alfresco 5

Resources