Foren

Liferay 6.2 documentation dead link for resource importer samples

Simon Wiesmann, geändert vor 7 Jahren.

Liferay 6.2 documentation dead link for resource importer samples

New Member Beiträge: 2 Beitrittsdatum: 15.04.16 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay 6.2 documentation dead link for resource importer samples

Liferay Legend Beiträge: 2047 Beitrittsdatum: 07.10.08 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay 6.2 documentation dead link for resource importer samples

Junior Member Beiträge: 25 Beitrittsdatum: 16.01.14 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay 6.2 documentation dead link for resource importer samples

Liferay Legend Beiträge: 2047 Beitrittsdatum: 07.10.08 Neueste Beiträge
You can generate any uuid.