Skip to content
Snippets Groups Projects
Commit 7414ebb9 authored by David Büchler's avatar David Büchler
Browse files

#1048305 New context for "Userhelp" created; Uses context "documents" do...

#1048305 New context for "Userhelp" created; Uses context "documents" do handle image management; New filter view which displays the id of uploaded file added to documents, used in userhelp.
parent 36af0f88
No related branches found
No related tags found
Loading
......@@ -95,6 +95,7 @@
</entityParameter>
<entityField>
<name>UID</name>
<title>Id</title>
</entityField>
<entityField>
<name>DESCRIPTION</name>
......@@ -220,6 +221,12 @@
<fieldName>LogDocuments</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>2e6fcf27-ee98-4f7d-a99d-7ce02774076b</name>
<entityName>UserhelpResources</entityName>
<fieldName>Documents</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.14" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14">
<name>UserhelpResources</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityField>
<name>image</name>
</entityField>
<entityConsumer>
<name>Documents</name>
<dependency>
<name>dependency</name>
<entityName>Document_entity</entityName>
<fieldName>Documents</fieldName>
</dependency>
<children>
<entityParameter>
<name>AssignmentTable_param</name>
<valueProcess>%aditoprj%/entity/UserhelpResources/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>AssignmentRowId_param</name>
<valueProcess>%aditoprj%/entity/UserhelpResources/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
</entity>
import("system.result");
import("system.vars");
//result.string(vars.get("$field.CONTACTID"));
result.string("meinetestid");
\ No newline at end of file
import("system.result");
result.string("USERHELP");
\ No newline at end of file
......@@ -33,5 +33,9 @@
<name>cd17be33-73ae-4e8d-a852-65152a772926</name>
<view>DocumentMultipleEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>434ed60c-8219-4ef5-b795-6d72b9ae48c9</name>
<view>DocumentWithIdFilter_view</view>
</neonViewReference>
</references>
</neonContext>
<?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>Userhelp</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterView>Userhelp_FilterView</filterView>
<editView>Userhelp_EditView</editView>
<entity>UserhelpResources</entity>
<references>
<neonViewReference>
<name>44005781-a90b-468f-a970-7833d170f671</name>
<view>Userhelp_EditView</view>
</neonViewReference>
<neonViewReference>
<name>2a1dd62b-0f30-442b-aa1d-969b46312d2a</name>
<view>Userhelp_FilterView</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.6">
<name>DocumentWithIdFilter_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<tableViewTemplate>
<name>documentsTable</name>
<favoriteActionGroup1>Document_actions</favoriteActionGroup1>
<iconField>PREVIEW_IMAGE</iconField>
<titleField>NAME</titleField>
<subtitleField>TYPE</subtitleField>
<descriptionField>SIZE</descriptionField>
<entityField>#ENTITY</entityField>
<columns>
<neonTableColumn>
<name>3c8f789e-f62f-4756-8ee4-347e77712ebe</name>
<entityField>UID</entityField>
</neonTableColumn>
<neonTableColumn>
<name>9138d75e-c7d1-4b49-8fd3-c67ef53d0e8b</name>
<entityField>NAME</entityField>
</neonTableColumn>
<neonTableColumn>
<name>3c8d2e5e-9db9-4a76-844e-85e84ea73078</name>
<entityField>TYPE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>1709dcf6-33ea-46ec-a2bc-e488289389bc</name>
<entityField>SIZE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>86ef02d8-ca90-44c8-9dc4-b8527016f3a5</name>
<entityField>DATE_EDIT</entityField>
</neonTableColumn>
<neonTableColumn>
<name>9b140660-1918-48dd-852b-d9802fef872e</name>
<entityField>IS_MAIN_DOCUMENT</entityField>
</neonTableColumn>
</columns>
</tableViewTemplate>
</children>
</neonView>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.6">
<name>Userhelp_FilterView</name>
<title>Userhelp Ressources</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout>
<groupLayout>
<name>layout</name>
</groupLayout>
</layout>
<children>
<neonViewReference>
<name>baf3ef50-4798-47b6-bb1a-f311cf4b3307</name>
<entityField>Documents</entityField>
<view>DocumentWithIdFilter_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