2023:Download or Upload Grooper Nodes: Difference between revisions
Dgreenwood (talk | contribs) |
Dgreenwood (talk | contribs) |
||
| Line 186: | Line 186: | ||
# Navigate to the "Usage" tab. | # Navigate to the "Usage" tab. | ||
# Note there are items listed in the "Outbound References" and/or "Inbound References". | # Note there are items listed in the "Outbound References" and/or "Inbound References". | ||
#* | #* Here, something in the selected '''Project''' has an "outbound reference" to an '''OCR Profile''' in another '''Project'''. | ||
#* "Outbound References" list any ''external'' objects in other '''Projects''' that are being referenced by ''internal'' objects in the selected '''Project'''. | |||
#* "Inbound References" list any ''internal'' objects in the selected '''Project''' being referenced by ''external'' objects other '''Projects'''. | |||
This '''Project''' is dependent on resources in another '''Project''' to work. In situations like this, you need to be aware if the destination Grooper Repository has all the resources it needs to upload the ZIP you download. This '''Project''' makes reference to a "Shared Resources" '''Project'''. If the user does '''''not''''' have the "Shared Resources" '''Project''' in their Grooper Repository. You will need to download ''both'' '''Projects''' to ensure the user has all the assets they need when uploading the ZIP file. Go to the "Downloading Multiple Projects" tab to see how to download multiple '''Projects'''. | |||
" | {|class="attn-box" | ||
|- | |||
| | |||
⚠ | |||
| | |||
Grooper will '''''NOT''''' alert you if a reference is missing when you download a '''Project''' (or any other Grooper object). It is up to you to ensure all referenced objects are included in the downloaded ZIP, if required. | |||
|} | |||
| | | | ||
[[File:Download-and-Upload-Projects-02.png]] | |||
|- | |} | ||
==== Additional Tips and Best Practices ==== | |||
{|class="how-to-table" | |||
| | | | ||
{|class="fyi-box" | {|class="fyi-box" | ||
| Line 201: | Line 210: | ||
| | | | ||
Use the "Usage" tab to track down references in your '''Project'''. | Use the "Usage" tab to track down references in your '''Project'''. | ||
|} | |||
For "Outbound References": | For "Outbound References": | ||
| Line 206: | Line 216: | ||
#* Here we see the following reference path: <code>Shared Resources > OCR Assets > Standard OCR</code> | #* Here we see the following reference path: <code>Shared Resources > OCR Assets > Standard OCR</code> | ||
#* From right to left, the object being referenced is in a '''Project''' named "Shared Resources", in a folder named "OCR Assets", and finally the object being referenced is named "Standard OCR" | #* From right to left, the object being referenced is in a '''Project''' named "Shared Resources", in a folder named "OCR Assets", and finally the object being referenced is named "Standard OCR" | ||
# The "FR" line will show you the object within the selected '''Project''' that is referencing the "TO" object. | # Expand a "TO" line to display the "FR" line. The "FR" line will show you the object within the selected '''Project''' that is referencing the "TO" object. | ||
#* Here we see the following reference path: <code>Invoices Process > Recognize</code> | #* Here we see the following reference path: <code>Invoices Process > Recognize</code> | ||
#* From right to left. the object making the reference is in a '''Batch Process''' named "Invoices Process" and finally referenced by the step named "Recognize". | #* From right to left. the object making the reference is in a '''Batch Process''' named "Invoices Process" and finally referenced by the step named "Recognize". | ||
# Clicking any of these reference paths will take you directly to the object in the Grooper Node Tree. | |||
| | |||
[[File:Download-and-Upload-Projects-03.png]] | |||
|- | |||
| | |||
We clicked the following reference path: | |||
<code>Shared Resources > OCR Assets > Standard OCR</code> | |||
# This takes us directly to the referenced object. | |||
#* In our case this is an '''OCR Profile''' named "Standard OCR" | |||
# Note the first item in the path is the '''Project''' containing the referenced object. | |||
#* In our case the '''Project''' named "Shared Resources" | |||
This can be a quick way to navigate to referenced objects and track down what '''Projects''' contain them. | |||
| | |||
[[File:Download-and-Upload-Projects-04.png]] | |||
|- | |||
| | |||
{|class="attn-box" | |||
|⚠ | |||
| | |||
BE AWARE!! Just because nothing is listed in a '''Project's''' '''''Referenced Projects''''' does not mean there are no external references. | |||
|} | |} | ||
# When a '''Project''' references objects in another '''Project''' it should list that external '''Project''' in the '''''Referenced Projects''''' property. | |||
| | | | ||
2 | [[File:Download-and-Upload-Projects-05.png]] | ||
|- | |||
| | |||
However, there are circumstances where '''Project''' references are inadvertently removed. This is NOT best practice, but it can happen. | |||
#<li value=2> Note here '''''Referenced Projects''''' lists ''(none)''. | |||
#* We've manually removed the '''Project''' reference for the purposes of this demonstration. | |||
| | |||
[[File:Download-and-Upload-Projects-06.png]] | |||
|- | |||
| | |||
Removing the '''Project''' reference DOES NOT remove the reference to the object in the external '''Project'''. However, Grooper will tell you something is wrong if you use the "Usage" tab. | |||
#<li value=3> Navigate to the "Usage" tab. | |||
# Notice there is a red warning sign next to our reference path in "Outbound References". | |||
#* This lets us know the selected '''Project''' is missing a '''Project''' reference. | |||
#* It is ALWAYS best practice to resolve this warning. If you see these missing '''Project''' references, please assign the reference using the '''Project's''' '''''Referenced Projects''''' property. | |||
| | |||
[[File:Download-and-Upload-Projects-07.png]] | |||
|} | |} | ||
| Line 309: | Line 361: | ||
</tab> | </tab> | ||
</ | </tabs> | ||
<tab name="Exporting Objects in a Project | <tabs> | ||
<tab name="Exporting Objects in a Project"> | |||
=== Exporting Objects in a Project === | === Exporting Objects in a Project === | ||
Revision as of 11:30, 13 June 2023
| WIP | This article is a work-in-progress or created as a placeholder for testing purposes. This article is subject to change and/or expansion. It may be incomplete, inaccurate, or stop abruptly.
This tag will be removed upon draft completion. |
How can you share Grooper objects, like Content Models, Batch Processes, Batches and more, with other Grooper users and environments?
Download them from one Grooper Repository and upload them to another!
About
Grooper allows you to download Grooper objects from a Grooper Repository to a ZIP archive file. You can then bring in those objects into a Grooper Repository by uploading the ZIP file.
When download/upload Grooper objects, you can do one of three things.
You can:
- Download/upload Batches
- Download/upload full Projects
- Download/upload Grooper objects inside a Project
The process is straightforward, but there are a few things to watch out for.
Most notably be aware of the following:
- When downloading a Project, it is best practice to use the "Usage" tab to verify there are no broken references to objects in other Projects.
- You may only upload Batches to the Batches > Test folder, the Batches > Production folder or one of their subfolders.
- You may only upload Projects to the Projects folder or one of its subfolders.
- For other Grooper objects downloaded from a Project, you may only upload them to a Project (or a valid location inside a Project).
- When uploading Batches, Projects and other Grooper objects, if the item exists in the selected branch of the Node Tree, Grooper will overwrite the existing object.
- For example, if you import a Project to a folder named "Grooper" and that folder already contains that Project (i.e. has the same GUID), that Project will be overwritten.
- When uploading folders containing multiple Batches, Projects or other Grooper objects, if the folder exists in the selected branch of the Node Tree, Grooper will overwrite the existing folder and all its contents.
- For example, if you import a folder named "Grooper" to the Projects node, and that folder already exists (i.e has the same GUID), that folder and everything inside it will be overwritten.
- When uploading Batches, Projects and other Grooper objects, if an object in the ZIP already exists in the Grooper Repository at a different level, the upload will fail.
- Grooper will check each node's GUID. If any GUID in the ZIP matches any GUID in the Grooper Repository, Grooper will throw an error.
- When uploading a folder, Grooper will also check all objects inside the folder. If any of its contents exist in the Grooper Repository, the upload will fail.
|
FYI |
Additionally you can "publish" full Projects from one Grooper Repository to another. This allows Grooper users connected to multiple Grooper environments to copy objects directly from one environment to another without the need to export and import a zip file. This will be covered in the #Publish Projects to a Connected Repository section of this article. |
| WIP | EDITORS NOTE: All content below this point was taken from the Import or Export Grooper Objects - 2022 article. Largely, the guidance is the same, with some UI differences.
This article is under construction and will be updated using 2023 terminology and screenshots. |
How To
Download Grooper Objects to a ZIP File
Downloading Batches
One or more Batches can be downloaded from a Grooper Repository.
- Both "Production" and "Test" Batches can be downloaded.
- "Production" Batches are downloaded from the "Batches > Production" folder or one of its subfolders in the Node Tree.
- "Test" Batches are downloaded from the "Batches > Test" folder or one of its subfolders in the Node Tree.
- To download multiple Batches, they must be placed in the same folder first. See the "Downloading Multiple Batches" tab below for more information.
Downloading Single Batches
|
|
|
|
|
|
|
|
Downloading Multiple Batches
What if you want to download more than one Batch?
To download multiple Batches, first put all the Batches you want to download in a folder. Then, select and download the folder.
- When you export a folder to a ZIP file, all its contents are exported as well.
|
After moving the Batches you want to download to a subfolder in the "Production" or "Test" folder:
|
|
|
|
|
|
|
|}
Downloading Projects
You can also download full Projects as ZIP files.
- All the Project's contents will be exported as well.
- To download multiple Projects, they must be placed in the same folder first. See the "Downloading Multiple Projects" tab below for more information.
Before Downloading: Check References
Generally speaking, a Project contains all the processing resources necessary to execute a Batch Process and process a particular document set. This may include:
- A Content Model
- A Batch Process
- Other Grooper objects like OCR Profiles and IP Profiles
However, sometimes a Project will reference resources in other Projects using one or more Referenced Projects.
- If you are downloading a Project ZIP so another Grooper user can upload it to their own environment, you will need to ensure both the Project and any referenced Project will need to be downloaded together. This will ensure the user uploading the ZIP has all the resources necessary to upload the ZIP into their Grooper Repository.
For this reason, it is best practice to analyze your Project references prior to downloading to ensure you are not missing a referenced resource.
- Use a Project's "Usage" tab to give you information about references to any object in other Projects.
- BE AWARE!! Uploading a ZIP will fail if an referenced object is not present in the destination Grooper Repository.
Example 1: A Project With No External Project References
|
In this example, we will use the "Usage" tab to verify a Project has no external references.
|
Example 2: A Project With External Project References
|
In this example, we will use the "Usage" tab to inspect a Project that does have external references.
This Project is dependent on resources in another Project to work. In situations like this, you need to be aware if the destination Grooper Repository has all the resources it needs to upload the ZIP you download. This Project makes reference to a "Shared Resources" Project. If the user does not have the "Shared Resources" Project in their Grooper Repository. You will need to download both Projects to ensure the user has all the assets they need when uploading the ZIP file. Go to the "Downloading Multiple Projects" tab to see how to download multiple Projects.
|
Additional Tips and Best Practices
For "Outbound References":
|
|||
|
We clicked the following reference path:
This can be a quick way to navigate to referenced objects and track down what Projects contain them. |
|||
|
|||
|
However, there are circumstances where Project references are inadvertently removed. This is NOT best practice, but it can happen.
|
|||
|
Removing the Project reference DOES NOT remove the reference to the object in the external Project. However, Grooper will tell you something is wrong if you use the "Usage" tab.
|
Downloading Single Projects
|
|
|
|
|
Exporting Projects - Exporting Multiple Projects and Projects With References
If you want to export multiple Projects, you'll need to place them in a folder, and export the folder (as we did when we exported multiple Batches in the previous tab of this article).
The same advice is true for Projects with references to other Projects.
|
|
|||
|
|
|||
|
|
|||
|
|
Exporting Objects in a Project
You may also export individual objects within a Project. For example, you may want to share a particular profile you've created with another Grooper user or repository.
|
The process is essentially identical to what we've seen so far. Right-click the object, select export to zip archive, configure the file's path and name. We're going to export an IP Profile named "Permanent Cleanup" in the "URLA" Project.
|
|||
|
|
|||
|
|
Import Grooper Objects from a ZIP File
If you wish to follow along with this tutorial, you may import the ZIP archive files linked below into your Grooper Repository.
- Media:Sample Batch - v2022.zip
- Media:Sample Project - v2022.zip
- Media:Sample Content Model - v2022.zip
In previous versions of Grooper, you imported Grooper objects from one location, the Root Node of the Grooper Repository. Grooper would then place the imported assets in the Grooper Repository in a way that mirrored their location in the node tree they were exported from. In Grooper 2022, you will choose where you want the imported objects to land by importing to a node location of your choosing.
Importing Batches
You can only import Batches to a folder location that can house Batches. Batches can be either imported to the Batches > Production folder node, the Batches > Test, folder node, or any of their child folders.
|
|
|||
|
|
|||
|
|
Importing Projects
Importing Projects is much the same as importing Batches. The only difference is at what node in the node tree you can import them.
You can only import Projects to a folder location that can house Projects. Projects can be only be imported to the Projects folder node or any of its child folders.
|
Otherwise, the process is identical.
|
|||
|
|
Importing Objects in a Project
You can also import a variety of other Grooper resources, including Content Models, profiles (such as OCR Profiles), extractors (such as Data Types) or other Grooper objects. If it can live in a Project, you can import it to a Project or a subfolder within a Project.
We will demonstrate this by showing you how to import a Content Model.
|
|||
|
|
Common Issues
Issue #1: Importing Objects That Already ExistIf you try to import an object that is already present in your Grooper Repository, Grooper will not let you. If the GUIDs of the items match, you will be presented with the following error:
|
|
Issue #2: Importing Objects To the Wrong LocationRemember, you can only import objects to a node location designed to hold that type of object.
|
|
Issue #3: Importing Objects With Missing ReferencesThis issue can happen when objects were exported incorrectly from Grooper in the first place. When importing Grooper objects that reference other Grooper objects, both objects must be imported together. If the referenced object is missing, Grooper will give you an error.
|
|
|
|
Publish Projects to a Connected Repository
If you're connected to multiple Grooper Repositories and need to get a Project from one Repository to another, there's no need to export a ZIP file from one Repository, then import the ZIP in another Repository. You can save yourself some steps by "publishing". This allows you to copy Projects and their contents from one Grooper Repository to another.
Publishing Projects is like exporting and importing all at once from one Grooper Repository to another. The same guidance detailed above when exporting and importing objects applies to publishing Projects as well.
- The biggest difference is you can only publish full Projects, not Batches or individual objects contained within a Project.
- You can also only publish one Project at a time. This means if you are attempting to publish a Project that references another Project, you will need to publish the referenced Project first.
| ⚠ |
Be aware "Publishing" is a essentially a "copy and paste" operation. The Project is "copied" from the source Grooper Repository and "pasted" to the destination Grooper Repository. You will need to ensure you have enough disk space to make the copy and paste. This means:
|
|
Aside from that, the process is straightforward.
|
|
|
|
|
|
|



































