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

thumbnail
Mahammad Ashik A, modified 4 Years ago. Junior Member Posts: 81 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 4 Years ago. Liferay Master Posts: 593 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