Skip to content
Snippets Groups Projects
Commit f6b61aff authored by S.Listl's avatar S.Listl
Browse files

Objectselection attributes with lookup

parent 1a3b2136
No related branches found
No related tags found
No related merge requests found
......@@ -337,6 +337,12 @@
<fieldName>Tasks</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>0a5c7719-8f33-4647-a81d-02763c0df0a3</name>
<entityName>ObjectProxy_entity</entityName>
<fieldName>Tasks</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
......
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.1">
<name>ObjectProxy</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<entity>ObjectProxy_entity</entity>
</neonContext>
......@@ -20,6 +20,10 @@
<name>ada9c77a-f37b-4021-a01a-a06edd75cb25</name>
<entityField>VALUE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>197c3752-8d8d-4c46-90db-8399c4bce2e5</name>
<entityField>VALUE_LOOKUP</entityField>
</neonTableColumn>
</columns>
</genericMultipleViewTemplate>
</children>
......
......@@ -22,6 +22,10 @@
<name>abec86c9-3d77-4129-b34b-d30da0526572</name>
<entityField>VALUE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>7c82a0bd-a397-46ff-83a4-5fd4a0a08493</name>
<entityField>VALUE_LOOKUP</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</children>
......
......@@ -44,7 +44,7 @@
</genericViewTemplate>
<neonViewReference>
<name>25a498e5-5e01-4b34-88e5-c94189922c8a</name>
<entityField>Contacts</entityField>
<entityField>Contracts</entityField>
<view>PersonMultiEdit_view</view>
</neonViewReference>
<neonViewReference>
......
......@@ -984,6 +984,11 @@ AttributeTypeUtil.isSingleSelection = function (pAttributeType)
return AttributeTypeUtil._getProperty(pAttributeType, "singleSelection", false);
}
AttributeTypeUtil.useLookup = function (pAttributeType)
{
return pAttributeType.trim() == $AttributeTypes.OBJECTSELECTION.toString();
}
/**
* function to get a property of an attribute type
*/
......
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