Fórum

Insert new listtype for type_='com.liferay.portal.model.Organization.email'

dejan ikodinovic, modificado 12 Anos atrás.

Insert new listtype for type_='com.liferay.portal.model.Organization.email'

New Member Mensagem: 1 Data de Entrada: 16/12/11 Postagens Recentes
Hi all,

I have request to add one more organization e-mail in `listtype` table for organization email address (type_='com.liferay.portal.model.Organization.emailAddress').

Can I just insert with SQL like:

INSERT INTO listtype VALUES(12007, Customer E-mail, 'com.liferay.portal.model.Organization.emailAddress')


Can this cause any problem with liferay counter for IDs?
Is there any liferay service class or other way, which I can use to insert new listtype?

Thanks in advance!