What a team folder destination is
Section titled “What a team folder destination is”A team folder destination is one Nextcloud Team Folder that jobs write their files into. Each has an ID of its own, and every job with Destination Type Nextcloud Team Folder points at its Team Folder by that ID.
- A new name reaches every job at once. The job keeps a copy of the Team Folder's name in
Nextcloud Team Folder, and a rename in Manage team folder destinations writes it into every job that writes into that Team Folder. - SMART Migration gets both. A claimed job carries the name as before, and the destination's ID as
destinationId, which stays the same while the name changes. - Users are not listed here. A Nextcloud user already has an ID that never changes, the user name, which a job's
Destination Userholds; the app creates no users and renames none. - SharePoint, OneDrive and file share destinations are not listed either. They keep their own fields,
Destination URL,Destination UPNandDestination UNC.
Open the list with Manage team folder destinations on the ⋯ menu at the far right of the Dashboard's, the Jobs tab's or the Run History tab's bar, beside Manage groups, or with Manage team folder destinations… beside Nextcloud Team Folder in the job dialog. Every user of the app can change destinations, as with jobs and groups.
Nextcloud and typed destinations
Section titled “Nextcloud and typed destinations”A destination's Origin column says Nextcloud or Typed.
Nextcloud
Loaded from Nextcloud: a Team Folder that Nextcloud has. It carries Nextcloud's own reference, the Team Folder's ID, so it stays the same destination when its name changes in Nextcloud.
Typed
A name Nextcloud does not have yet, such as a Team Folder that SMART Migration creates when the job first runs. It is added the moment a job naming it is saved, or with Add team folder.
When the app was upgraded to the registry, every Team Folder Nextcloud had was loaded with the origin Nextcloud, and every job was given its destination: Nextcloud where Nextcloud had the name, Typed where it did not.
Load from Nextcloud
Section titled “Load from Nextcloud”Load from Nextcloud loads the Team Folders that Nextcloud has now.
- New ones are added with the origin
Nextcloud. - A Team Folder renamed in Nextcloud keeps its destination and takes the new name, and so does every job that writes into it.
- A Team Folder deleted and made again under its old name — as SMART Migration does on the next run — keeps its destination.
- A Team Folder deleted in Nextcloud and not made again turns
Typed: it is a name again, for SMART Migration to create on the next run. The list does this by itself each time it is shown, too. - Every job is given its destination, should one not have it yet.
- Typed names that Nextcloud has after all are suggested as links, without regard to case. They are never merged on their own; see Confirm or turn down a suggested link.
A load that added, renamed, turned typed or suggested anything is a row of the Dashboard's Event log, with how many; one that found nothing new is not.
Rename a destination
Section titled “Rename a destination”Click the pencil at the end of a row, or double-click the row, to change the name and the Description. What may change depends on the destination:
| Destination | The name |
|---|---|
| A typed Team Folder Nextcloud does not have | Changes freely. The new name is written into every job that writes into it. |
A Team Folder Nextcloud has — origin Nextcloud, or typed under a name Nextcloud has | Does not change here: the field is greyed and says why. Rename the Team Folder in Nextcloud, then Load from Nextcloud. |
A name another destination already has is refused, without regard to case. Each rename is a row of the Event log, with how many jobs took the new name.
See whether Nextcloud has the team folder
Section titled “See whether Nextcloud has the team folder”Edit destination says whether Nextcloud has the Team Folder now. A typed one is matched by its name.
- Nextcloud has it: the name field says so and cannot be changed, and Delete is not offered. A typed destination can be linked to it in the list.
- Nextcloud does not have it yet: SMART Migration creates it on the first run. Tick Create it in Nextcloud now and Save to create it at once, for Nextcloud's administrators and the groups under Who can use the app. The destination becomes found, and the Event log has a row.
Delete a destination
Section titled “Delete a destination”Delete in Edit destination takes a destination out of the list. It is offered only for a destination Nextcloud does not have: a typed one whose name Nextcloud has no Team Folder of — a Nextcloud one whose Team Folder is gone from Nextcloud turns typed. A Team Folder Nextcloud has is never deleted from here — hide it instead.
Its jobs lose their team folder
A warning first says how many jobs write into it. Once deleted, a job not Finished has no Nextcloud Team Folder and is not validated, so it cannot run until it is given one; a Ready job goes back to Hold. A Finished job keeps the name and its status, as the record of where its files went. When a Team Folder of that name is added again — by hand, typed on a job, or read from Nextcloud — it is that job's destination again. Nothing in Nextcloud is touched. While SMART Migration runs one of its jobs, the delete is refused.
Each delete is a row of the Event log, with how many jobs lost the team folder.
Hide a destination from the job dialog
Section titled “Hide a destination from the job dialog”Untick Shown to keep a Team Folder out of the job dialog's list, such as the reports Team Folder. The jobs that already write into it keep it. Show hidden lists the hidden ones again, and ticking Shown offers one in the job dialog once more.
Add a team folder by hand
Section titled “Add a team folder by hand”Add team folder adds a Team Folder before any job names it, with a description of what it is for.
- It is a reference. What is added is a name jobs can write into; the Team Folder itself is not created. SMART Migration creates it when the first job writing into it runs, and until then it is typed.
- Create it in Nextcloud now creates the Team Folder at once instead, and adds it with the origin
Nextcloud. The app's users get it with full permissions — Nextcloud's administrators and the groups chosen under Who can use the app on the Settings tab, as with the reports Team Folder — so whoever created it sees it straight away. Give anyone else access under Administration settings → Team folders. - A Team Folder Nextcloud already has is added with the origin
Nextcloud, either way.
The list then shows it as the current row, and clears its filters if they would hide it. Each team folder added is a row of the Event log.
Confirm or turn down a suggested link
Section titled “Confirm or turn down a suggested link”A suggested link says that a typed destination is probably one Nextcloud has: a job named hr before Nextcloud had a Team Folder called HR, for instance. The row says Nextcloud has "HR": the same destination?, and a note above the list counts the suggestions, with Show them to list only those.
- Link them moves the typed destination's jobs to the one Nextcloud has, with its name, and removes the typed one. It asks first. A row of the Log.
- Not the same takes the suggestion away, and it is not made again.
Choose a team folder on a job
Section titled “Choose a team folder on a job”In the job dialog, Nextcloud Team Folder lists the destinations that are shown, and the Team Folders Nextcloud has that are not in the list yet. Type to search.
- A name not in the list can be typed and taken: it is added to the destinations at once, as typed, and the Team Folder is created when the job first runs. A Team Folder Nextcloud has that was not in the list is added with the origin
Nextcloud. Either is in Manage team folder destinations straight away, even before the job is saved. - Manage team folder destinations… beside the field opens the list as Select or manage team folder destinations: click a Team Folder and Select to put it in the field. A hidden one cannot be selected.
- Change selected jobs … on the Jobs tab offers the same list.
See also Destinations and Groups and tags