Embed Form Field Params

Embed Form Field Params

Good day,

I have an Embed Form in myCurrentApp, I want to prefill a lookup field in the Embed Form called  Projecto according   myCurrentApp projectname, I have this code but it doesn´t works.


htmlpage Reporte_Horometros_Combustible()
displayname = "Reporte Horometros/Combustible"
content
<%{
    projectname = Project[projectcod = 1].projectname;%>    <div elname="zc-component" applinkname="mantenimientoytaller" sharedby="czambrano1" formlinkname="HoursFuel" params="zc_Header=false&zc_SuccMsg=Project Requested!&zc_SubmitVal=Submit&zc_ResetVal=Reset&Projecto=<%=projectname%>">Loading Form...</div><%}%>

Best Regards,