How to edit a record in htmlview?

How to edit a record in htmlview?

Hey -

I know how to edit a record using standard Form/View URL, e.g.:  /#Form:<formlinkname>?recLinkID=<recordID>&viewLinkName=<viewlinkname>
It works great while the  <viewlinkname> is a standard view.

It fails to work when I use htmlview as the  <viewlinkname>.

Any idea how can I do this properly using alike:
<div elName='zc-component' formLinkName='newXYZForm' params='XYZType=<%=openFormAs%>&amp;zc_Header=true&amp;zc_SuccMsg=Data Added Sucessfully!&amp;zc_SubmitVal=Submit&amp;zc_ResetVal=Reset'>Loading Form...</div> 


Kind regards,