Forums de discussion

Create user site programmatically

thumbnail
Emilio José Lamas Fraga, modifié il y a 11 années.

Create user site programmatically

Junior Member Publications: 57 Date d'inscription: 29/11/11 Publications récentes
Hi everyone!

I'm importing users from an external database and creating them into my Liferay installation. No problem so far.

I just want to create the user (public) site automatically, so I don't have to create it user by user from control panel.

I've been looking at the layouts classes but I didn't find an easy way to do what I want....

Any ideas...?

Thanks in advance!

Regards
thumbnail
Jose Jiménez, modifié il y a 10 années.

RE: Create user site programmatically

Regular Member Publications: 176 Date d'inscription: 23/08/12 Publications récentes
Hi Emilio,

You can create the default public pages for an user through configuration in properties, take a look if this covers your requirements.

Default User Public Pages

Kind regards!
Jose