Foren

Get portal-ext.properties value in init_custom.vm

Nisarg Parikh, geändert vor 12 Jahren.

Get portal-ext.properties value in init_custom.vm

Expert Beiträge: 262 Beitrittsdatum: 31.12.09 Neueste Beiträge
Hi All,

I have one proeprty in portal-ext.properties.

I want to use it in init_custom.vm file.

Is this possible? If yes, how to achieve that?

Thanks in Advance,


-Nisarg
thumbnail
Hetal R Malaviya, geändert vor 12 Jahren.

RE: Get portal-ext.properties value in init_custom.vm (Antwort)

New Member Beiträge: 12 Beitrittsdatum: 15.09.08 Neueste Beiträge
Hi Nisarg,

You can use below line to access property of portal-ext.properties file.
$propsUtil.get("<property name>"))</property>


Regards,
Hetal Malaviya
CIGNEX Technologies Pvt. Ltd.
Nisarg Parikh, geändert vor 12 Jahren.

RE: Get portal-ext.properties value in init_custom.vm

Expert Beiträge: 262 Beitrittsdatum: 31.12.09 Neueste Beiträge
Hi Hetal,

Thanks for the response.
I got it few days back.. emoticon

-Nisarg
Bhavik Shah, geändert vor 8 Jahren.

RE: Get portal-ext.properties value in init_custom.vm

Junior Member Beiträge: 64 Beitrittsdatum: 21.05.15 Neueste Beiträge
Hello Experts,

I have one proeprty in portal-ext.properties.

I want to use it in liferay-look-and-feel.xml

Is this possible? If yes, how to achieve that?

Thanks in Advance,

Bhavik Shah
Knowarth Technologies Pvt. Ltd
thumbnail
Olaf Kock, geändert vor 8 Jahren.

RE: Get portal-ext.properties value in init_custom.vm

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Bhavik Shah:
...I have one proeprty in portal-ext.properties....


The question has been answered here. Please don't crosspost without linking the questions.