Skip to content

Commit 5f1686c

Browse files
update readme and metadata
1 parent 042c3e7 commit 5f1686c

File tree

9 files changed

+45
-27
lines changed

9 files changed

+45
-27
lines changed

src/MAUI/Maui.Samples/Samples/Data/GeodatabaseTransactions/GeodatabaseTransactions.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace ArcGIS.Samples.GeodatabaseTransactions
2121
name: "Geodatabase transactions",
2222
category: "Data",
2323
description: "Use transactions to manage how changes are committed to a geodatabase.",
24-
instructions: "When the sample loads, a feature service is taken offline as a geodatabase. When the geodatabase is ready, you can add multiple types of features. To apply edits directly, uncheck the 'Require a transaction for edits' checkbox. When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back. At any point, you can synchronize the local geodatabase with the feature service.",
24+
instructions: "Tap on the map to add multiple types of features. To apply edits directly, uncheck the \"Requires Transaction\". When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back.",
2525
tags: new[] { "commit", "database", "geodatabase", "geometry editor", "transact", "transactions" })]
2626
[ArcGIS.Samples.Shared.Attributes.OfflineData("43809fd639f242fd8045ecbafd61a579")]
2727
public partial class GeodatabaseTransactions : ContentPage

src/MAUI/Maui.Samples/Samples/Data/GeodatabaseTransactions/readme.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Transactions allow you to control how changes are added to a database. This is u
1010

1111
## How to use the sample
1212

13-
When the sample loads, a feature service is taken offline as a geodatabase. When the geodatabase is ready, you can add multiple types of features. To apply edits directly, uncheck the 'Require a transaction for edits' checkbox. When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back. At any point, you can synchronize the local geodatabase with the feature service.
13+
Tap on the map to add multiple types of features. To apply edits directly, uncheck the "Requires Transaction". When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back.
1414

1515
## How it works
1616

17-
1. Take the feature service offline as a geodatabase and display the local tables from the geodatabase in feature layers.
18-
2. If the checkbox is checked, begin the transaction on the geodatabase.
19-
3. Add one or more features.
20-
4. When ready, either commit the transaction to the geodatabase or roll back the transaction.
21-
5. Use a geodatabase sync task to sync changes to the local geodatabase with the feature service.
17+
1. Create a `Geodatabase` using the mobile geodatabase file location.
18+
2. Display the `Geodatabase.FeatureTables` in feature layers.
19+
3. If a transaction is required, begin one using `Geodatabase.BeginTransaction()`.
20+
4. Add one or more features to the feature table(s).
21+
5. When ready, either commit the transaction to the geodatabase with `Geodatabase.CommitTransaction()` or roll back the transaction with `Geodatabase.RollbackTransaction()`.
2222

2323
## Relevant API
2424

@@ -29,9 +29,13 @@ When the sample loads, a feature service is taken offline as a geodatabase. When
2929
* Geodatabase.RollbackTransaction
3030
* GeometryEditor
3131

32+
## Offline data
33+
34+
This sample downloads the [Save The Bay Geodatabase](https://www.arcgis.com/home/item.html?id=43809fd639f242fd8045ecbafd61a579) item from ArcGIS Online.
35+
3236
## About the data
3337

34-
The sample uses a publicly-editable, sync-enabled [feature service](https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer) demonstrating a schema for recording wildlife sightings.
38+
The mobile geodatabase contains a collection schema for wildlife sightings around Christmas Bay, TX, USA. It was created using data from the [Save The Bay Feature Service](https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer).
3539

3640
## Tags
3741

src/MAUI/Maui.Samples/Samples/Data/GeodatabaseTransactions/readme.metadata.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"transact",
1515
"transactions"
1616
],
17-
"offline_data": [],
17+
"offline_data": [
18+
"43809fd639f242fd8045ecbafd61a579"
19+
],
1820
"redirect_from": [
1921
"/net/latest/maui/sample-code/geodatabase-transactions.htm"
2022
],

src/WPF/WPF.Viewer/Samples/Data/GeodatabaseTransactions/GeodatabaseTransactions.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace ArcGIS.WPF.Samples.GeodatabaseTransactions
2828
name: "Geodatabase transactions",
2929
category: "Data",
3030
description: "Use transactions to manage how changes are committed to a geodatabase.",
31-
instructions: "When the sample loads, a feature service is taken offline as a geodatabase. When the geodatabase is ready, you can add multiple types of features. To apply edits directly, uncheck the 'Require a transaction for edits' checkbox. When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back. At any point, you can synchronize the local geodatabase with the feature service.",
31+
instructions: "Tap on the map to add multiple types of features. To apply edits directly, uncheck the \"Requires Transaction\". When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back.",
3232
tags: new[] { "commit", "database", "geodatabase", "geometry editor", "transact", "transactions" })]
3333
[ArcGIS.Samples.Shared.Attributes.OfflineData("43809fd639f242fd8045ecbafd61a579")]
3434
public partial class GeodatabaseTransactions

src/WPF/WPF.Viewer/Samples/Data/GeodatabaseTransactions/readme.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Transactions allow you to control how changes are added to a database. This is u
1010

1111
## How to use the sample
1212

13-
When the sample loads, a feature service is taken offline as a geodatabase. When the geodatabase is ready, you can add multiple types of features. To apply edits directly, uncheck the 'Require a transaction for edits' checkbox. When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back. At any point, you can synchronize the local geodatabase with the feature service.
13+
Tap on the map to add multiple types of features. To apply edits directly, uncheck the "Requires Transaction". When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back.
1414

1515
## How it works
1616

17-
1. Take the feature service offline as a geodatabase and display the local tables from the geodatabase in feature layers.
18-
2. If the checkbox is checked, begin the transaction on the geodatabase.
19-
3. Add one or more features.
20-
4. When ready, either commit the transaction to the geodatabase or roll back the transaction.
21-
5. Use a geodatabase sync task to sync changes to the local geodatabase with the feature service.
17+
1. Create a `Geodatabase` using the mobile geodatabase file location.
18+
2. Display the `Geodatabase.FeatureTables` in feature layers.
19+
3. If a transaction is required, begin one using `Geodatabase.BeginTransaction()`.
20+
4. Add one or more features to the feature table(s).
21+
5. When ready, either commit the transaction to the geodatabase with `Geodatabase.CommitTransaction()` or roll back the transaction with `Geodatabase.RollbackTransaction()`.
2222

2323
## Relevant API
2424

@@ -29,9 +29,13 @@ When the sample loads, a feature service is taken offline as a geodatabase. When
2929
* Geodatabase.RollbackTransaction
3030
* GeometryEditor
3131

32+
## Offline data
33+
34+
This sample downloads the [Save The Bay Geodatabase](https://www.arcgis.com/home/item.html?id=43809fd639f242fd8045ecbafd61a579) item from ArcGIS Online.
35+
3236
## About the data
3337

34-
The sample uses a publicly-editable, sync-enabled [feature service](https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer) demonstrating a schema for recording wildlife sightings.
38+
The mobile geodatabase contains a collection schema for wildlife sightings around Christmas Bay, TX, USA. It was created using data from the [Save The Bay Feature Service](https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer).
3539

3640
## Tags
3741

src/WPF/WPF.Viewer/Samples/Data/GeodatabaseTransactions/readme.metadata.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"transact",
1515
"transactions"
1616
],
17-
"offline_data": [],
17+
"offline_data": [
18+
"43809fd639f242fd8045ecbafd61a579"
19+
],
1820
"redirect_from": [
1921
"/net/latest/wpf/sample-code/geodatabase-transactions.htm"
2022
],

src/WinUI/ArcGIS.WinUI.Viewer/Samples/Data/GeodatabaseTransactions/GeodatabaseTransactions.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace ArcGIS.WinUI.Samples.GeodatabaseTransactions
2929
name: "Geodatabase transactions",
3030
category: "Data",
3131
description: "Use transactions to manage how changes are committed to a geodatabase.",
32-
instructions: "When the sample loads, a feature service is taken offline as a geodatabase. When the geodatabase is ready, you can add multiple types of features. To apply edits directly, uncheck the 'Require a transaction for edits' checkbox. When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back. At any point, you can synchronize the local geodatabase with the feature service.",
32+
instructions: "Tap on the map to add multiple types of features. To apply edits directly, uncheck the \"Requires Transaction\". When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back.",
3333
tags: new[] { "commit", "database", "geodatabase", "geometry editor", "transact", "transactions" })]
3434
[ArcGIS.Samples.Shared.Attributes.OfflineData("43809fd639f242fd8045ecbafd61a579")]
3535
public partial class GeodatabaseTransactions

src/WinUI/ArcGIS.WinUI.Viewer/Samples/Data/GeodatabaseTransactions/readme.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Transactions allow you to control how changes are added to a database. This is u
1010

1111
## How to use the sample
1212

13-
When the sample loads, a feature service is taken offline as a geodatabase. When the geodatabase is ready, you can add multiple types of features. To apply edits directly, uncheck the 'Require a transaction for edits' checkbox. When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back. At any point, you can synchronize the local geodatabase with the feature service.
13+
Tap on the map to add multiple types of features. To apply edits directly, uncheck the "Requires Transaction". When using transactions, use the buttons to start editing and stop editing. When you stop editing, you can choose to commit the changes or roll them back.
1414

1515
## How it works
1616

17-
1. Take the feature service offline as a geodatabase and display the local tables from the geodatabase in feature layers.
18-
2. If the checkbox is checked, begin the transaction on the geodatabase.
19-
3. Add one or more features.
20-
4. When ready, either commit the transaction to the geodatabase or roll back the transaction.
21-
5. Use a geodatabase sync task to sync changes to the local geodatabase with the feature service.
17+
1. Create a `Geodatabase` using the mobile geodatabase file location.
18+
2. Display the `Geodatabase.FeatureTables` in feature layers.
19+
3. If a transaction is required, begin one using `Geodatabase.BeginTransaction()`.
20+
4. Add one or more features to the feature table(s).
21+
5. When ready, either commit the transaction to the geodatabase with `Geodatabase.CommitTransaction()` or roll back the transaction with `Geodatabase.RollbackTransaction()`.
2222

2323
## Relevant API
2424

@@ -29,9 +29,13 @@ When the sample loads, a feature service is taken offline as a geodatabase. When
2929
* Geodatabase.RollbackTransaction
3030
* GeometryEditor
3131

32+
## Offline data
33+
34+
This sample downloads the [Save The Bay Geodatabase](https://www.arcgis.com/home/item.html?id=43809fd639f242fd8045ecbafd61a579) item from ArcGIS Online.
35+
3236
## About the data
3337

34-
The sample uses a publicly-editable, sync-enabled [feature service](https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer) demonstrating a schema for recording wildlife sightings.
38+
The mobile geodatabase contains a collection schema for wildlife sightings around Christmas Bay, TX, USA. It was created using data from the [Save The Bay Feature Service](https://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer).
3539

3640
## Tags
3741

src/WinUI/ArcGIS.WinUI.Viewer/Samples/Data/GeodatabaseTransactions/readme.metadata.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"transact",
1515
"transactions"
1616
],
17-
"offline_data": [],
17+
"offline_data": [
18+
"43809fd639f242fd8045ecbafd61a579"
19+
],
1820
"redirect_from": [
1921
"/net/latest/winui/sample-code/geodatabase-transactions.htm"
2022
],

0 commit comments

Comments
 (0)