Skip to content
Snippets Groups Projects
Commit 934ed573 authored by Tobias Feldmann's avatar Tobias Feldmann
Browse files

Attributes in Person and Edit-Views

parent 3164a2d8
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,12 @@
<fieldName>AttributeChildren</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>ba8046ba-f58c-48f1-9c35-fe897247534a</name>
<entityName>Person_entity</entityName>
<fieldName>Attributes</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
......
......@@ -526,6 +526,29 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>Attributes</name>
<title>Attributes</title>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
<entityName>AttributeRelation_entity</entityName>
<fieldName>RelationsForSpecificObject</fieldName>
</dependency>
<children>
<entityParameter>
<name>objectRowId_param</name>
<code>%aditoprj%/entity/Person_entity/entityfields/attributes/children/objectrowid_param/code.js</code>
<expose v="true" />
<triggerRecalculation v="true" />
</entityParameter>
<entityParameter>
<name>objectType_param</name>
<code>%aditoprj%/entity/Person_entity/entityfields/attributes/children/objecttype_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("system.result");
result.string(vars.get("$field.PERSONID"));
\ No newline at end of file
import("system.result");
import("Context_lib");
result.string(ContextUtils.getCurrentContextId());
\ No newline at end of file
......@@ -52,5 +52,10 @@
<entityField>Communications</entityField>
<view>CommunicationMultiEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>2037ef93-6719-49af-9352-9ca3c03d6972</name>
<entityField>Attributes</entityField>
<view>AttributeRelationEdit_view</view>
</neonViewReference>
</children>
</neonView>
......@@ -70,5 +70,10 @@
<entityField>Communications</entityField>
<view>CommunicationMultiEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>520f3056-2a24-4469-a86f-76ba80090829</name>
<entityField>Attributes</entityField>
<view>AttributeRelationEdit_view</view>
</neonViewReference>
</children>
</neonView>
......@@ -39,5 +39,10 @@
<entityField>ObjectRelations</entityField>
<view>AnyObjectRelationFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>be48c6fe-1837-4c40-aef1-130fc1a5c544</name>
<entityField>Attributes</entityField>
<view>AttributeRelationFilter_view</view>
</neonViewReference>
</children>
</neonView>
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