diff --git a/entity/Address_entity/Address_entity.aod b/entity/Address_entity/Address_entity.aod index e0b435ea730b0b91805aabdad316189cb366f1c4..e27e2fe4787c4b4d72b49142d4af07c37e69d1a0 100644 --- a/entity/Address_entity/Address_entity.aod +++ b/entity/Address_entity/Address_entity.aod @@ -344,6 +344,7 @@ </entityConsumer> <entityField> <name>AddressSearch</name> + <documentation>%aditoprj%/entity/Address_entity/entityfields/addresssearch/documentation.adoc</documentation> <title>Search</title> <consumer>FullAddressValidation</consumer> <stateProcess>%aditoprj%/entity/Address_entity/entityfields/addresssearch/stateProcess.js</stateProcess> @@ -400,6 +401,7 @@ </entityParameter> <entityField> <name>Zip_ws</name> + <documentation>%aditoprj%/entity/Address_entity/entityfields/zip_ws/documentation.adoc</documentation> <title>Postcode</title> <consumer>ZipValidation</consumer> <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/zip_ws/mandatoryProcess.js</mandatoryProcess> @@ -415,6 +417,7 @@ </entityField> <entityField> <name>City_ws</name> + <documentation>%aditoprj%/entity/Address_entity/entityfields/city_ws/documentation.adoc</documentation> <title>City</title> <consumer>CityValidation</consumer> <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/city_ws/mandatoryProcess.js</mandatoryProcess> @@ -429,7 +432,9 @@ </entityField> <entityField> <name>Address_ws</name> + <documentation>%aditoprj%/entity/Address_entity/entityfields/address_ws/documentation.adoc</documentation> <title>Street</title> + <description></description> <consumer>StreetValidation</consumer> <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/address_ws/mandatoryProcess.js</mandatoryProcess> <textInputAllowed v="true" /> diff --git a/entity/Address_entity/documentation.adoc b/entity/Address_entity/documentation.adoc index 3df0a5a5e2cf38f12d0b280c605ac8670bc35644..e50f759d6ac0cc4e9633c6e52571914239f2fc68 100644 --- a/entity/Address_entity/documentation.adoc +++ b/entity/Address_entity/documentation.adoc @@ -8,4 +8,6 @@ The entity manages storing postal addresses and provides features like validatio Every `CONTACT` has one standard address value that is used by default for some actions. Keep in mind that this standard address has a special status and therefore may cannot be deleted. -Webservice Validation: See WsValidation_lib \ No newline at end of file +Webservice Validation: See WsValidation_lib +To enable the nominatim webservice: go to Preferences -> _____PREFERENCES_PROJECT -> _____PREFERENCES_PROJECT +and enable the nominatim.enable checkbox \ No newline at end of file diff --git a/entity/Address_entity/entityfields/address_ws/documentation.adoc b/entity/Address_entity/entityfields/address_ws/documentation.adoc new file mode 100644 index 0000000000000000000000000000000000000000..f15b5e5649759538397e58f3fb934c7a60008ad3 --- /dev/null +++ b/entity/Address_entity/entityfields/address_ws/documentation.adoc @@ -0,0 +1,3 @@ +This is a field used for the address-webservice. It is only displayed if the webservice is enabled. + +See WsValidation_lib for technical implementation information. \ No newline at end of file diff --git a/entity/Address_entity/entityfields/addresssearch/documentation.adoc b/entity/Address_entity/entityfields/addresssearch/documentation.adoc new file mode 100644 index 0000000000000000000000000000000000000000..f15b5e5649759538397e58f3fb934c7a60008ad3 --- /dev/null +++ b/entity/Address_entity/entityfields/addresssearch/documentation.adoc @@ -0,0 +1,3 @@ +This is a field used for the address-webservice. It is only displayed if the webservice is enabled. + +See WsValidation_lib for technical implementation information. \ No newline at end of file diff --git a/entity/Address_entity/entityfields/city_ws/documentation.adoc b/entity/Address_entity/entityfields/city_ws/documentation.adoc new file mode 100644 index 0000000000000000000000000000000000000000..f15b5e5649759538397e58f3fb934c7a60008ad3 --- /dev/null +++ b/entity/Address_entity/entityfields/city_ws/documentation.adoc @@ -0,0 +1,3 @@ +This is a field used for the address-webservice. It is only displayed if the webservice is enabled. + +See WsValidation_lib for technical implementation information. \ No newline at end of file diff --git a/entity/Address_entity/entityfields/zip_ws/documentation.adoc b/entity/Address_entity/entityfields/zip_ws/documentation.adoc new file mode 100644 index 0000000000000000000000000000000000000000..f15b5e5649759538397e58f3fb934c7a60008ad3 --- /dev/null +++ b/entity/Address_entity/entityfields/zip_ws/documentation.adoc @@ -0,0 +1,3 @@ +This is a field used for the address-webservice. It is only displayed if the webservice is enabled. + +See WsValidation_lib for technical implementation information. \ No newline at end of file diff --git a/process/WsValidation_lib/process.js b/process/WsValidation_lib/process.js index d403d65873abb715954e17d2d149c59909264582..53fd37c61484e06d74992b9c93ca88c17ca7d832 100644 --- a/process/WsValidation_lib/process.js +++ b/process/WsValidation_lib/process.js @@ -16,6 +16,10 @@ import("AddressEntity_lib"); /******************************************************************************/ /******************************************************************************/ /* + +To enable the nominatim webservice: go to Preferences -> _____PREFERENCES_PROJECT -> _____PREFERENCES_PROJECT +and enable the nominatim.enable checkbox + 1. How to add a new Webservice type ----------------------------------- - Scroll down to WsValidationType.get