Foros de discusión

Liferay 6.2 documentation dead link for resource importer samples

Simon Wiesmann, modificado hace 7 años.

Liferay 6.2 documentation dead link for resource importer samples

New Member Mensajes: 2 Fecha de incorporación: 15/04/16 Mensajes recientes
Hello Liferay community,


I'm currently investigating the resource importer and wanted to download the sample contents (sample-templates-importer-contents.zip). It seems the file is no longer available. There's a link to the file on this page: https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-2/creating-plugins-to-share-structures-templates-and-more

I'd find a batch of samples very helpful - any chance someone at Liferay Inc could upload it again? :-)


Thanks a lot,
Simon
thumbnail
Amos Fong, modificado hace 7 años.

RE: Liferay 6.2 documentation dead link for resource importer samples

Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
Hi Simon:

Here is an example:
https://github.com/liferay/liferay-plugins/tree/6.2.x/portlets/test-resources-importer-portlet

There are also some other themes that use it too. Search the repo for "resources-importer-web" in liferay-plugin-package.properties.
thumbnail
Jakub Bebjak, modificado hace 7 años.

RE: Liferay 6.2 documentation dead link for resource importer samples

Junior Member Mensajes: 25 Fecha de incorporación: 16/01/14 Mensajes recientes
Wow great sample!

One more question, when im importing pages where can I generate uuid?
{
	"layoutTemplate": {
		"columns": [
			[
				{
					"portletId": "58"
				}
			],
			[
				{
					"portletId": "47"
				}
			]
		],
		"description": "Page 1",
		"friendlyURL": "/page-1",
		"name": "Page 1",
		"title": "Page 1",
		"uuid": "371647ba-3649-4039-bfe6-ae32cf404737"
	},
	"layoutTemplateId": "2_columns_ii"
}


or I can use a random uuid?

Thank you!
thumbnail
Amos Fong, modificado hace 7 años.

RE: Liferay 6.2 documentation dead link for resource importer samples

Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
You can generate any uuid.