FireDAC Components for REST

Build 23.0.8804


The api:else keyword is used to execute an alternate block of code when a test like api:exists or api:match fails. It can also be used to execute an alternate block of code within an api:call when the call fails to produce any output items.

Unlike other languages API Script requires the api:else statement to be within the scope of the test it belongs to.



Control Attributes



Return a placeholder title if the file does not have a name:
<api:call op="fileListDir" out="out">
  <api:null attr="filename">
    <api:set attr="title" value="Unnamed File"/>
      <api:set attr="title" value="[filename]"/>
  <api:push title="[title]">

See Also

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8804