Form Builder Summary
Access to http://myIpAddress:port/orbeon/fr/orbeon/builder/summary
Service Type: post
Servide Output: application/xml
Service Path: /search/orbeon/builder
This page display all available form definitions for the current user.
Orbeon request body (generic Summary -without search-):
<search>
<query/>
<query control="output" html-label="false" match="substring" name="application-name" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/application-name[1]" search-field="true" summary-field="true" type="xs:string"/>
<query control="output" html-label="false" match="substring" name="form-name" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/form-name[1]" search-field="true" summary-field="true" type="xs:string"/>
<query control="output" html-label="false" match="substring" name="title" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/title[@xml:lang = $fb-lang][1]" search-field="true" summary-field="true" type="xs:string"/>
<query control="output" html-label="false" match="substring" name="description" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/description[@xml:lang = $fb-lang][1]" search-field="true" summary-field="true" type="xs:string"/>
<page-size>10</page-size>
<page-number>1</page-number>
<lang>en</lang>
</search>
Orbeon request body (Summary with search by application):
<search>
<query />
<query name="application-name" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/application-name[1]" type="xs:string" control="output" search-field="true" summary-field="true" match="substring" html-label="false">my-orbeon-application</query>
<query name="form-name" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/form-name[1]" type="xs:string" control="output" search-field="true" summary-field="true" match="substring" html-label="false" />
<query name="title" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/title[@xml:lang = $fb-lang][1]" type="xs:string" control="output" search-field="true" summary-field="true" match="substring" html-label="false" />
<query name="description" path="xh:head[1]/xf:model[@id = 'fr-form-model'][1]/xf:instance[@id = 'fr-form-metadata']/*[1]/description[@xml:lang = $fb-lang][1]" type="xs:string" control="output" search-field="true" summary-field="true" match="substring" html-label="false" />
<page-size>10</page-size>
<page-number>1</page-number>
<lang>en</lang>
</search>
Persistence Layer Output Example:
<?xml version="1.0" encoding="utf-8"?>
<documents xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:f="http//www.orbeon.com/function" xmlns:frf="java:org.orbeon.oxf.fr.FormRunner" xmlns:odt="http://orbeon.org/oxf/xml/datatypes" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:saxon="http://saxon.sf.net/" xmlns:sql="http://orbeon.org/oxf/xml/sql" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xpl="java:org.orbeon.oxf.pipeline.api.FunctionLibrary" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xxf="http://orbeon.org/oxf/xml/xforms" search-total="9" total="9">
<document created="2015-07-15T22:11:24.849Z" draft="N" last-modified="2015-07-21T20:35:59.893Z" name="1526e81d6d405ec1ac1d4849f7cacfa18572220c" operations="*">
<details>
<detail>ue</detail>
<detail>complete-test</detail>
<detail>Complete Test</detail>
<detail/>
</details>
</document>
<document created="2015-06-13T23:44:05.993Z" draft="N" last-modified="2015-06-13T23:45:26.604Z" name="2e387e31fb83fb21d996708dc2c66c5e599ff4a1" operations="*">
<details>
<detail>ue</detail>
<detail>process-permission</detail>
<detail>Process Permission</detail>
<detail/>
</details>
</document>
<document created="2015-06-13T23:41:57.945Z" draft="N" last-modified="2015-06-13T23:46:04.939Z" name="a233448a57a88e4d5d38fe8ad154832a82c96386" operations="*">
<details>
<detail>ue</detail>
<detail>analyze-permission</detail>
<detail>Analyze Permission</detail>
<detail/>
</details>
</document>
</documents>