Message Boards

How to create Widget Template programmatically in LR 7.3?

thumbnail
Mahammad Ashik A, modified 2 Years ago.

How to create Widget Template programmatically in LR 7.3?

Junior Member Posts: 77 Join Date: 7/17/17 Recent Posts

We currently have some widget template LAR files that we manually inport when we go from dev to qa and then to production. How we can create Widget Template  programmatically?

Or else Is there any way to resolve?

Thanks in advance..

 

thumbnail
Mohammed Yasin, modified 2 Years ago.

RE: How to create Widget Template programmatically in LR 7.3?

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts

Hi ,

You can try site Site Initializer, Refer this blog

Also you can refer

https://github.com/lfrsales/site-se-site-initializer/blob/master/modules/site-se-site-initializer/src/main/java/com/liferay/site/se/site/initializer/internal/SESiteInitializer.java#L635