diff --git a/entity/360Degree_entity/documentation.adoc b/entity/360Degree_entity/documentation.adoc index 5f89647c9f841c96d4282003953e06f43cf158e6..8e7c8f36286a41ba018d8bcccc7a9e52efc0ae55 100644 --- a/entity/360Degree_entity/documentation.adoc +++ b/entity/360Degree_entity/documentation.adoc @@ -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