* Add Quickstart Guide * Update installation * Remove unused files * Update support/backing * Tweaks in concepts * Setup file structure for API reference 2.0 * Setup page layout for reference * Add clean-urls plugin * getting started updates * Finish authentication rest * getting started updates * Render stylus in 2 spaces * Various * Various * Finish activity docs * Add collections reference * Add extension reference * concepts updates * Fields/tweaks * Add files doc * Add revisions * concepts docs * More api reference * Finish rest api reference (finally) * initial concepts * More things * Add assets api ref * Move sections from file to assets * Add environment variables * contributing docs * Add field transforms page * Left align table headers * concept links * Add API config * Fix mobile nav * Add migrating a project * doc link fixes Co-authored-by: Ben Haynes <ben@rngr.org>
7.2 KiB
Items
Item are objects within a Collection which contain values for one or more fields. Each collection represents a record in your database. Learn more about Items.
::: warning Permissions
The actions on this page assume the current user has permission to perform that action. However, certain features may be disabled or hidden based on permissions.
:::
Creating an Item
- Navigate to the Collections Module
- Navigate to the collection where you want to add an item
- Click on the "Create Item" (+ icon) button located in the header
- Complete the Item Detail form
- Click the "Save Item" (✓ icon) button located in the header
::: tip Singletons
If the Collection is configured as a "Singleton" in the data model settings, then the App will automatically skip step #3 above.
:::
Updating an Item
- Navigate to the Collections Module
- Navigate to the collection of the item you want to update
- Click on the item within the current layout (eg: on the row of the table)
- Update the Item Detail form
- Click the "Save Item" (✓ icon) button located in the header
::: tip Other Save Options
To the right of the primary Save button there is a "..." icon which contains the following alternate save options:
- Save and Stay (⌘S)
- Save and Create New (⌘⇧S)
- Save as Copy
:::
::: tip Singletons
If the Collection is configured as a "Singleton" in the data model settings, then the App will automatically skip step #3 above.
:::
Deleting an Item
- Navigate to the Collections Module
- Navigate to the collection of the item you want to delete
- Select the item(s) within the desired layout (eg: the checkbox on the table row)
- Click the "Delete Item" (trash icon) button located in the header
- Confirm the action within the dialog by clicking "Delete"
::: tip Deleting from the Item Detail page
You can also click on an item to navigate to its Detail page. From there, you can click on the "Delete Item" (trash icon) button located in the header.
:::
Archiving an Item
- Navigate to the Collections Module
- Navigate to the collection of the item you want to archive
- Select the item(s) within the desired layout (eg: the checkbox on the table row)
- Click the "Archive Item" (trash icon) button located in the header
- Confirm the action within the dialog by clicking "Archive"
::: warning Requires Configuration
This feature is only available if an Archive column has been configured in the Collection's data model settings.
:::
::: tip Archiving from the Item Detail page
You can also click on an item to navigate to its Detail page. From there, you can click on the "Archive Item" (archive icon) button located in the header.
:::
Reverting an Item
- Navigate to the Collections Module
- Navigate to the collection of the item you want to archive
- Click on an item to navigate to its Detail page
- Click "Revisions" in the page sidebar
- Click on the revision you wish to preview
- Click on the "Revert" button located in the drawer's header
- Confirm the action within the dialog by clicking "Revert"
Commenting on an Item
- Navigate to the Collections Module
- Navigate to the collection of the item you want to comment on
- Click on an item to navigate to its Detail page
- Click "Comments" in the page sidebar
- Type your message within the input
- Click the "Submit" button
Manually Sorting Items
- Navigate to the Collections Module
- Navigate to the collection of the items you want to sort
- Choose a layout that supports manual sorting (eg: the default "table" mode)
- Enable manual sorting. (eg: for the table layout, click on the Sort column's header)
- Drag items by their handle into a new position
The new sort order is saved automatically, so make sure you wait until the App's loading indicator finishes before navigating away from the page.
::: warning Requires Configuration
This feature is only available if a Sort column has been configured in the Collection's data model settings.
:::
Ordering Items
- Navigate to the Collections Module
- Navigate to a collection of items
- Choose a layout that supports manual ordering (eg: the default "table" mode)
- Set the Order Field and Order Direction
- Table Layout: Click on the field's column header, clicking again changes order direction
- Card Layout: Adjust the two dropdowns in the layout's subheader
::: tip Sort vs Order
Ordering is a non-destructive action (does not change your data) used to browse items alphabetically or numerically. Sorting (when enabled) saves a value in a Sort field, which can then be used to return data in a custom order.
:::
Adjusting Item Layouts
- Navigate to the Collections Module
- Navigate to the collection of the items you want to browse
- Click "Layout Options" in the page sidebar
- Choose the desired "Layout" you want to use
- Configure any other layout options that come after the layout dropdown
Searching Items
- Navigate to the Collections Module
- Navigate to the collection of the items you want to search
- Type your search query into the input located in the header
Filtering Items
- Navigate to the Collections Module
- Navigate to the collection of the items you want to filter
- Click "Advanced Filter" in the page sidebar
- Click the "Add Filter" dropdown and select the field to filter on
- Adjust the operator (eg: "Contains") as needed by clicking on it
- Enter a value in the field filter's input(s)
- Remove unwanted filters by hovering over the field and clicking "X"
Bookmarking Item Presets
- Navigate to the Collections Module
- Navigate to the collection of the items you want to bookmark
- Configure the page as desired (eg: layout, options, search, filters, order, etc)
- Click the "Create Bookmark" (bookmark icon) button in the header beside the page title
- Rename bookmarks by right-clicking them in the navigation sidebar and selecting "Rename Bookmark"
- Delete bookmarks by right-clicking them in the navigation sidebar and selecting "Delete Bookmark"
Exporting Items
- Navigate to the Collections Module
- Navigate to the collection of the items you want to bookmark
- Optional: Configure the dataset as desired (eg: layout, options, search, filters, order, etc)
- Click "Export Data" in the page sidebar
- Choose the desired format: either CSV or JSON
- Choose whether you want to use your current Filters and Settings in the export
- Click the "Export" button to download the file to your device