TranscludeSubform

From ARK
(Redirected from TranscludeSubforms)
Jump to: navigation, search

This method is used to return the an HTML rendered representation of a subform. Available subforms in the ARK instance can be queried using describeSubforms

Path

http://your.ark.instance/api.php?req=transcludeSubform

Arguments

  • sf_conf - the name of the subform to be transcluded

If anonymous logins are not enabled a username and password will need to be supplied:

  • handle - username
  • passwd - password

Example

Example - transcluding a text subform

http://your.ark.instance/api.php?req=transcludeSubform&item_key=hut_cd&hut_cd=LK12_1&sf_conf=settlements&handle=johndoe&passwd=johndoepassword

Example return (returned as HTML):

TranscludedSubform.png