LassoScript Utility
Basics Browse Detail

-LayoutResponse

Tag Link -LayoutResponse Category Database
Type Command Source Available No
Support Preferred Version 8.0
Change Unchanged Data Source FileMaker Pro
Output Type None Security None
Implementation Internal Sets Lasso 8.5, Lasso 8.0

Description

-LayoutResponse instructs FileMaker Server Advanced data sources which layout should be used to format the results of the database request. This allows one layout to be used to perform the database request and a second layout to be used to return the results of that request. By cutting down on the fields which are referenced on the response layout the speed of FileMaker requests can be improved.

Syntax

[Inline: -Layout='Layout_Name', -LayoutResponse='Layout_Name',  ...]

<a href="default.lasso?-Layout=Layout_Name&-LayoutResponse=Layout_Name&...">Link</a>

<form action="default.lasso" method="POST">
  <input type="hidden" name="-Layout" value="Layout_Name">
  <input type="hidden" name="-LayoutResponse" value="Layout_Name">
  ...
</form>

Parameters

Required Parameters
Layout Name The name of the layout which should be returned.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.