Skip to content
Snippets Groups Projects
Commit d87e2e61 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

added documentation for 360degree on how to add a new module

parent 69205dd6
No related branches found
No related tags found
No related merge requests found
......@@ -3,4 +3,17 @@
The 360Degree_entity shows the Connection between datenmodells.
The entity has two providers for persons and organisations.
The 360Degree_entity shows direct connections, don´t be confused with the ObjectRelation_entity.
\ No newline at end of file
The 360Degree_entity shows direct connections, don´t be confused with the ObjectRelation_entity.
== Adding new modules to the 360° view
You may want to display more modules within the 360degree view (for example after creating and implemeting your own module).
.An Example:
You added a module called "T-Shirts" to your project. Every person-contact can have _n_ "T-Shirts" and whenever a person owns a T-Shirt you want to
display it in the 360degree view.
Heres is a list of what you need to do whenever you want to do this:
- Add an entry in the function `ContextUtils.getSelectMap` which is located in the `Context_lib` (check out the documentation there for further details). _Speaking of the example above you need to define there how to retrieve the t-shirt-data for a contact_
- Add an entry (with the name of the context you want to add) in the process of the `ObjectType_param` in the *corresponding provider* which is located in the `360Degree_entity`. _We would extend the array which is returned in the `PersonObjects`-provider by the name of our t-shirt-context: "TShirt" in our example_
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment