BoldMinded Docs
  • Overview
  • Advanced Categories
    • Docs
      • Installation
      • Requirements
      • Setup & Configuration
        • Hidden Config Options
        • Multi-Site Manager
      • Template Tags
      • FAQs
  • Ansel
    • Docs
      • Installation
      • Upgrading
      • Requirements
      • Settings
      • Usage
        • Channel:Form
      • Troubleshooting
      • Template Tags
    • FAQs
  • Bloqs
    • Docs
      • Why Bloqs?
      • Features
        • Add Bloq Menu
        • Nesting
        • Cloning
        • Drafts
        • Bloq Usage
        • Deprecated Bloqs
        • Caching
        • Profiling
        • Bloq Components
        • Bloq Groups
      • Installation
      • Requirements & Compatibility
      • Setup & Configuration
        • Hidden Config Options
      • Creating Bloqs
      • Template Tags
        • Twig/Blade
        • Examples
      • Context Variables
      • Add-on Developers
    • FAQs
  • Carson
    • Docs
      • Installation
      • Requirements
      • Fields
        • Omni
          • Hidden Config
        • Assistant
        • SEO
      • Troubleshooting
  • Custom System Messages
    • Docs
      • Installation
      • Requirements
      • Variables
      • Template Tags
  • DataGrab
    • Docs
      • Installation & Upgrading
      • Requirements
      • Troubleshooting
      • Configuring Imports
      • Running Imports
      • Automatic Imports
        • Importing with cron
        • Importing with cron (Deprecated)
      • Endpoints
      • Configuration Options
        • Config File Options
        • Increasing PHP memory limit
      • Import Types
        • CSV
          • Importing into Grid or Matrix field
        • JSON
          • Example file
        • WordPress
        • XML
          • Example file
        • Creating your own import type
      • Assigning Authors
      • Field Types
        • Assets
        • Ansel
        • Bloqs
        • Calendar
        • Channel Images
        • Date
        • File
        • File Grid
        • Fluid
        • Grid
        • Low Events
        • Relationships
        • Simple Grids & Tables
        • Tag & Tagger
        • Matrix (Deprecated)
        • Creating your own fieldtype
      • Publisher
      • Version 5.0
      • Version 6.0
    • FAQs
  • Feature Flags
    • Docs
      • Installation & Upgrading
      • Requirements
      • Configuration
      • Template Tags
      • A/B Testing
    • FAQs
  • Fluidity
    • Docs
      • Installation & Upgrading
      • Requirements
      • Configuration
      • Demos
    • FAQs
  • Logit
    • Docs
      • Installation
      • Requirements
      • Configuration
    • FAQs
  • Publisher
    • Docs
      • Installation
      • Requirements
      • Issues & Tips
      • Languages
      • Template Tags
        • Forms
        • Email Notification Templates
        • Channel:Form
        • Twig
      • URL Translations
      • Auto Translations
      • Diffs
      • Drafts
      • Categories
      • Phrases
      • Persistence
      • Performance
      • Add-ons
        • First Party
        • Third Party
      • Hidden Config
      • Extending Publisher
    • FAQs
  • Reading Time PRo
    • Docs
      • Installation
      • Requirements
      • Configuration
      • Template Tags
  • Reel
    • Docs
      • Installation
      • Requirements
      • Settings
      • Field Tags
    • FAQs
  • Simple Grids & Tables
    • Docs
      • Installation
      • Requirements
      • Template Tags
      • CSV File Imports
      • Field Settings
      • GraphQL
      • Advanced Configuration (deprecated)
    • FAQs
  • Sitemap
    • Docs
      • Installation
      • Requirements
      • Configuration & Usage
    • FAQs
  • Snaptcha
    • Docs
      • Installation
      • Requirements
      • Configuration
      • Template Tags
      • Developers
    • FAQs
  • Speedy
    • Docs
      • Installation & Updating
      • Requirements
      • Configuration
      • Template Tags
      • Static Caching
        • Real World Example
      • Frontedit Support
      • Control Panel
      • Migrating from CE Cache
      • Diagnostics
      • CLI Commands
      • Cloudflare Support (Reverse Proxy Purging)
    • FAQs
  • Trek (unreleased)
    • Docs
      • Configuration
    • FAQs
  • Queue
    • Docs
Powered by GitBook
On this page

Was this helpful?

  1. DataGrab
  2. Docs
  3. Field Types

Grid

Last updated 10 months ago

Was this helpful?

If you're using Publisher, and the Publisher DataGrab Connector, unfortunately Relationship fields inside of a Grid field do not import. We have not been able to find a working solution and apologize for the inconvenience.

Configuration options

Grid configuration

You should get a field for each column of the Grid. The example above has 2 columns: Name and File

Select the datasource field that you want to import into each column. If your data source has repeated data (eg, see the example file below), DataGrab will try and be clever enough to work this out and import one row for each set of data.

The final option “Action to take when an entry is updated” allows you to select which option DataGrab should take when import is re-run on an existing entry.

Delete all existing rows will empty the Grid and re-fill it with new values from the data source.

Keep existing rows will keep the existing entry’s data and add any new rows to the end.

You can also get DataGrab to try and update a row of the Grid if a value is the same.

Example file

<root>

	<entry>
		<id>F1</id>
		<title>File entry #1</title>
		<summary>Load a file from a upload folder</summary>
		<files>
			<file>https://mysite.com/images/uploads/bnb5.png</file>
			<label>BNB5</label>
		</files>
		<files>
			<file>https://mysite.com/images/uploads/bnb3.png</file>
			<label>BNB3</label>
		</files>
		<status>open</status>
	</entry>

	<entry>
		<id>F2</id>
		<title>File entry #2</title>
		<summary>Load a file from a URL</summary>
		<files>
			<file>https://mysite.com/images/newmoon.jpg</file>
			<label>New Moon</label>
		<files>
		</files>
			<file>https://mysite.com/images/es.jpg</file>
			<label>Elliott Smith</label>
		<files>
		</files>
			<file>https://mysite.com/images/basement.jpg</file>
			<label>From a Basement on the Hill</label>
		</files>
		<status>closed</status>
	</entry>

	<entry>
		<id>F3</id>
		<title>File entry #3</title>
		<summary>Load a file from its filename</summary>
		<files>
			<file>es.jpg</file>
			<label>Elliott Smith</label>
		</files>
		<status>Pending</status>
	</entry>