Skip to content

Commit 7868f2b

Browse files
Documentation / remove admin batch update section and update batch update process usage (#9220)
Co-authored-by: josegar74 <josegar74@gmail.com>
1 parent e304142 commit 7868f2b

File tree

9 files changed

+8
-99
lines changed

9 files changed

+8
-99
lines changed

docs/manual/docs/user-guide/workflow/batchupdate-from-admin.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

docs/manual/docs/user-guide/workflow/batchupdate-xsl.md

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,14 @@
22

33
## Applying changes {#batch-process-apply}
44

5-
Administrator user can use the catalog API to update a set of records with an XSLT transformation. The steps are the following:
6-
7-
- Sign in as admin user
8-
- Search records to be updated using the `q` service eg. select all templates in a specific standard: <http://localhost:8080/geonetwork/srv/eng/q?_schema=iso19115-3&_isTemplate=y>
9-
- Select all records matching the search with <http://localhost:8080/geonetwork/srv/eng/metadata.select?selected=add-all>
10-
- Trigger the process with <http://localhost:8080/geonetwork/srv/eng/md.processing.batch?process=my-custom-process>
11-
- Check the progress report with <http://localhost:8080/geonetwork/srv/eng/md.processing.batch.report>
12-
13-
At the end of the process, a summary describes:
14-
15-
- Number of records to process
16-
- Number of records to processed
17-
- Number of records not found (in case one record gets deleted since the selection)
18-
- Number of records with errors
19-
- Number of records with process not defined in its standard
20-
- Number of records that current user can't edit
21-
22-
A process can also be applied to one metadata record using the `md.processing` service. eg. <http://localhost:8080/geonetwork/srv/eng/md.processing?uuid=46eac9e4-33cb-45b7-a104-7bcc8e654c98&process=keywords-mapper&search=water&replace=Water>
23-
24-
Parameters are:
25-
26-
- uuid or id: the metadata UUID or the metadata internal identifier
27-
- process: The process identifier
28-
- add other extra parameters depending on the process (see below).
5+
Editor users can use the catalog API to update a set of records with an XSLT transformation. The steps are the following:
6+
7+
- Sign in as editor user or higher profile.
8+
- In the search page or the editor board page, select the metadata to be updated.
9+
- In the API page, use the process API http://localhost:8080/geonetwork/doc/api/index.html#/processes/processRecords where you can configure:
10+
- a set of metadata UUIDs to be updated or a search selection bucket. If you have done the selection from the search page use the bucket name `s101` or `e101` if you have done the selection from the editor board page and
11+
- the process to apply.
12+
- You can also use first in the API page, the preview API http://localhost:8080/geonetwork/doc/api/index.html#/processes/previewProcessRecords to preview the changes that will be applied, using the same parameters.
2913

3014
## Adding batch process {#batch-process-add}
3115

docs/manual/docs/user-guide/workflow/batchupdate/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
In some circumstances, users may want to update a set of records:
44

55
- [Updating a set of records from the edit console](../batchediting.md)
6-
- [Updating a set of records from the admin console](../batchupdate-from-admin.md)
76
- [Updating a set of records using XSLT](../batchupdate-xsl.md)
Binary file not shown.
-29.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/manual/mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ nav:
275275
- 'Updating a set of records':
276276
- user-guide/workflow/batchupdate/index.md
277277
- user-guide/workflow/batchediting.md
278-
- user-guide/workflow/batchupdate-from-admin.md
279278
- user-guide/workflow/batchupdate-xsl.md
280279
- user-guide/workflow/geopublication.md
281280
- user-guide/workflow/life-cycle.md

0 commit comments

Comments
 (0)