What is UI section of the Spec
Ui specific paths and mappings to enable the UI to render correctly
Where is UI section of the Spec
part of cspace-config usually found in the tenant specific local settings
Structure
<ui>
<web>
<login-dest>/collectionspace/ui/lifesci/html/myCollectionSpace.html</login-dest>
<login-failed-dest>/collectionspace/ui/lifesci/html/index.html</login-failed-dest>
<front-page>/collectionspace/ui/lifesci/html/index.html</front-page>
<find-page>myCollectionSpace</find-page>
<mappings>
<map>
<url></url>
<recordtype>procedure</recordtype>
<file>/lifesci/html/record.html</file>
<configure>
<meta id="title">LifeSci CollectionSpace - {record/web-url}</meta>
</configure>
</map>
</mappings>
</web>
</ui>
Single elements
login-dest
- String
- no default
- url of ui page to go to after successful login
login-failed-dest
- String
- no default
- url of ui page to go to after unsuccessful login
front-page
- String
- no default
- url of ui page to go to after you click the logout button
find-page
- String
- no default
- name of the page for findedit so a specific uispec can be created for it based on the records that are specified as being in-findedit
Mappings
holds magic mappings that map procedure/authority specific urls onto generic UI pages. You can also specify simple regexes to perform on the content of those pages
url
- String
- *
recordtype
file
configure meta
, multiple selections available,