Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
How can i do a new row(\n) in a email plugin?
Example:
one \n two \n three \n
I would like to see this:
one
two
three
Pls help me, thx.
4 Comments
dimuthu suranga wijegunarathna
Hi Miklos ,
Did you found any solution for following issue?if you foud a solution please sheir with me.how can i access the hash variable with Beanshell plugin?
String test1 = new String("#variable.test#");
PreparedStatement stmt = con.prepareStatement("SELECT id, c_SzKor_Nev from formdata_Jogosultsagok_BF WHERE c_Szolg_Id LIKE 'SAP' and c_user_name = '"test1"' "); // SQL query
Miklos Daru
If you are using Joget V3.0 just only use like this:
PreparedStatement stmt = con.prepareStatement("SELECT c_SZF1_igeny,c_SZF1_jovahagy,c_szf1_rendszer,c_SZF2_igeny,c_SZF2_jovahagy,c_szf2_rendszer,c_SZF3_igeny,c_SZF1_jovahagy,c_szf1_rendszer,c_SZF4_igeny,c_SZF1_jovahagy,c_szf1_rendszer,c_SZF5_igeny,c_SZF2_jovahagy,c_szf2_rendszer,c_SZF6_igeny,c_SZF2_jovahagy,c_szf2_rendszer,c_SZF7_igeny,c_SZF4_jovahagy,c_szf4_rendszer,c_SZF8_igeny,c_SZF3_jovahagy,c_szf3_rendszer from app_fd_JOG1 where '#variable.generator#' LIKE c_generator"); // SQL query
ResultSet rs = stmt.executeQuery();
if you would like to set to local variable:
String generator = "#variable.generator#";
That'all
dimuthu suranga wijegunarathna
Thank you very much for your reply.but i am using Joget V2.is there any different way to do this with V2?
Miklos Daru
Yes, but you cannot use in V2 because the interface is different than in V3.
You just use this funcition in V3.