Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
55a86a6d
Commit
55a86a6d
authored
4 years ago
by
Johannes Goderbauer
Browse files
Options
Downloads
Patches
Plain Diff
Address_lib: added small documentation with FAQ-section.
parent
0f0a1719
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
process/Address_lib/Address_lib.aod
+1
-0
1 addition, 0 deletions
process/Address_lib/Address_lib.aod
process/Address_lib/documentation.adoc
+29
-0
29 additions, 0 deletions
process/Address_lib/documentation.adoc
with
30 additions
and
0 deletions
process/Address_lib/Address_lib.aod
+
1
−
0
View file @
55a86a6d
...
...
@@ -2,6 +2,7 @@
<process
xmlns=
"http://www.adito.de/2018/ao/Model"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
VERSION=
"1.2.1"
xsi:schemaLocation=
"http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.2.1"
>
<name>
Address_lib
</name>
<majorModelMode>
DISTRIBUTED
</majorModelMode>
<documentation>
%aditoprj%/process/Address_lib/documentation.adoc
</documentation>
<process>
%aditoprj%/process/Address_lib/process.js
</process>
<variants>
<element>
LIBRARY
</element>
...
...
This diff is collapsed.
Click to expand it.
process/Address_lib/documentation.adoc
0 → 100644
+
29
−
0
View file @
55a86a6d
= Address_lib
This is a library for working with big amounts of the combination of the following data:
* addresses
* person-contacts
* organisation-contacts
as well as related data like the standard communication data.
This is mainly done via the `AddressObject` which uses database access for loading the data and
placeholder-definitions for preparing and formatting the data.
== FAQ
[qanda]
How to get the correct formatted standard address for a single contact, depending on the country?::
This can be easily done via the following code-snippet where the variable `contactId` is
the `CONTACT.CONTACTID` of the address where you want to load the data:
new AddressObject(contactId).getFormattedAddress();
How to get the correct formatted standard address for several contacts, depending on their country?::
This can be easily done via the following code-snippet where the variable `contactIds` is
an array of `CONTACT.CONTACTID` where you want to load the address data from and `config` the
placeholder configuration:
getAddressesData([contactIds], config);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment