Creating REALLY dynamic views.

Creating REALLY dynamic views.

Hey fellow Creator Zealots.

Another great find for me and I hope this helps you.

Subject-How to:

Open an html view with MULTIPLE conditional embedded views by passing parameters to those views!

Clarification: So instead of just having say ONE edit form open you can pass those record ID's to multiple embedded forms or views creating a whole page full of conditional information on the fly!

It starts with the following code COURTESY OF RUBEN! He's great!


<div elName='zc-component' formLinkName='Test_Form'  params='zc_Header=true&recLinkID=<%=recid%>&viewLinkName=viewName' >Loading Form...</div>

viewName -> Name of the View
recId - > record ID





So create your edit forms that you want and then ADD A PARAMETER(s) TO THE HTML PAGE. Then on the other page you are loading from just change the url to something like this

"#View:htmlpage?recid="+input.ID

And you can add multiple parameters so

"#View:htmlpage?recid="+input.ID+"other_field="+input.other_field_parameter

and so on.

Maybe you all have been doing this forever and I am clueless but MAN is this a way cool feature. This should really be in the WIKI.