Skip to content
Snippets Groups Projects
Commit ae90d718 authored by Maximilian Hofmann's avatar Maximilian Hofmann
Browse files

DSGVO Tab Invisible property

parent d5051867
No related branches found
No related tags found
No related merge requests found
......@@ -886,6 +886,7 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
</entityActionField>
<entityConsumer>
<name>DSGVOEntries</name>
<stateProcess>%aditoprj%/entity/Person_entity/entityfields/dsgvoentries/stateProcess.js</stateProcess>
<dependency>
<name>dependency</name>
<entityName>DSGVO_entity</entityName>
......@@ -896,7 +897,6 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<name>currentPerson_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/dsgvoentries/children/currentperson_param/valueProcess.js</valueProcess>
<expose v="true" />
<triggerRecalculation v="true" />
<mandatory v="true" />
</entityParameter>
</children>
......
import("system.logging");
import("system.result");
import("system.project");
import("system.neon");
var isActive = project.getPreferenceValue("custom.dsgvo.active");
logging.log(isActive);
if(isActive)
{
result.string(neon.COMPONENTSTATE_EDITABLE);
}
else
result.string(neon.COMPONENTSTATE_INVISIBLE);
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<preferences xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="3.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/preferences/3.1.0">
<name>_____PREFERENCES_PROJECT</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<mailGlobalUserServerEnabled v="true" />
<projectName>xRM-Basic2019</projectName>
<jditoMaxContentSize v="57671680" />
<mailDefaultMailserver>mailServerIMAP</mailDefaultMailserver>
<mailRepositoryAlias>defaultDbRepository</mailRepositoryAlias>
<calendarCategoriesEvent>
<entry>
<key>Meeting</key>
<value></value>
</entry>
<entry>
<key>Organisation</key>
<value></value>
</entry>
<entry>
<key>auswärts</key>
<value></value>
</entry>
<entry>
<key>Urlaub</key>
<value></value>
</entry>
</calendarCategoriesEvent>
<clientSearchOptimizedForSpeed v="true" />
<clientSearchExcludeForIgnorecase v="true" />
<neonClientPermissionsEnabled v="true" />
<blobHandlingMethod>DATABASE</blobHandlingMethod>
<databaseAuditGetOldValueLobs v="false" />
<indexsearchGlobalEnabled v="true" />
<indexsearchFullIndexerEnabled v="true" />
<indexsearchFullIndexerInterval v="0" />
<indexsearchIncrementingIndexerEnabled v="true" />
<indexsearchIncrementingIndexerInterval v="1000" />
<indexsearchIncrementingIndexerBunchSize v="250" />
<indexsearchMaximumHits v="50000" />
<customProperties>
<customBooleanProperty>
<name>addressValidation.enable</name>
<property v="true" />
</customBooleanProperty>
<customStringProperty>
<name>addressValidation.url</name>
<property>https://services.aditosoftware.local/services/rest/ws_checkAddress</property>
</customStringProperty>
<customStringProperty>
<name>addressValidation.user</name>
<property>Admin</property>
</customStringProperty>
<customStringProperty>
<name>addressValidation.pw</name>
<property>a</property>
</customStringProperty>
<customStringProperty>
<name>addressValidation.countryParamName</name>
<property>country</property>
</customStringProperty>
<customBooleanProperty>
<name>zipCityValidation.enable</name>
<property v="true" />
</customBooleanProperty>
<customStringProperty>
<name>zipCityValidation.url</name>
<property>https://services.aditosoftware.local/services/rest/ws_checkZipCity</property>
</customStringProperty>
<customStringProperty>
<name>zipCityValidation.user</name>
<property>Admin</property>
</customStringProperty>
<customStringProperty>
<name>zipCityValidation.pw</name>
<property>a</property>
</customStringProperty>
<customStringProperty>
<name>zipCityValidation.countryParamName</name>
<property>country</property>
</customStringProperty>
<customBooleanProperty>
<name>phoneValidation.enable</name>
<description></description>
<property v="true" />
</customBooleanProperty>
<customStringProperty>
<name>phoneValidation.url</name>
<description></description>
<property>https://services.aditosoftware.local/services/rest/ws_checkPhoneNumber</property>
</customStringProperty>
<customStringProperty>
<name>phoneValidation.user</name>
<property>Admin</property>
</customStringProperty>
<customStringProperty>
<name>phoneValidation.pw</name>
<property>a</property>
</customStringProperty>
<customStringProperty>
<name>phoneValidation.countryParamName</name>
<property>Country</property>
</customStringProperty>
</customProperties>
</preferences>
<?xml version="1.0" encoding="UTF-8"?>
<preferences xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="3.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/preferences/3.1.0">
<name>_____PREFERENCES_PROJECT</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<mailGlobalUserServerEnabled v="true" />
<projectName>xRM-Basic2019</projectName>
<jditoMaxContentSize v="57671680" />
<mailDefaultMailserver>mailServerIMAP</mailDefaultMailserver>
<mailRepositoryAlias>defaultDbRepository</mailRepositoryAlias>
<calendarCategoriesEvent>
<entry>
<key>Meeting</key>
<value></value>
</entry>
<entry>
<key>Organisation</key>
<value></value>
</entry>
<entry>
<key>auswärts</key>
<value></value>
</entry>
<entry>
<key>Urlaub</key>
<value></value>
</entry>
</calendarCategoriesEvent>
<clientSearchOptimizedForSpeed v="true" />
<clientSearchExcludeForIgnorecase v="true" />
<neonClientPermissionsEnabled v="true" />
<blobHandlingMethod>DATABASE</blobHandlingMethod>
<databaseAuditGetOldValueLobs v="false" />
<indexsearchGlobalEnabled v="true" />
<indexsearchFullIndexerEnabled v="true" />
<indexsearchFullIndexerInterval v="0" />
<indexsearchIncrementingIndexerEnabled v="true" />
<indexsearchIncrementingIndexerInterval v="1000" />
<indexsearchIncrementingIndexerBunchSize v="250" />
<indexsearchMaximumHits v="50000" />
<customProperties>
<customBooleanProperty>
<name>addressValidation.enable</name>
<property v="true" />
</customBooleanProperty>
<customStringProperty>
<name>addressValidation.url</name>
<property>https://services.aditosoftware.local/services/rest/ws_checkAddress</property>
</customStringProperty>
<customStringProperty>
<name>addressValidation.user</name>
<property>Admin</property>
</customStringProperty>
<customStringProperty>
<name>addressValidation.pw</name>
<property>a</property>
</customStringProperty>
<customStringProperty>
<name>addressValidation.countryParamName</name>
<property>country</property>
</customStringProperty>
<customBooleanProperty>
<name>zipCityValidation.enable</name>
<property v="true" />
</customBooleanProperty>
<customStringProperty>
<name>zipCityValidation.url</name>
<property>https://services.aditosoftware.local/services/rest/ws_checkZipCity</property>
</customStringProperty>
<customStringProperty>
<name>zipCityValidation.user</name>
<property>Admin</property>
</customStringProperty>
<customStringProperty>
<name>zipCityValidation.pw</name>
<property>a</property>
</customStringProperty>
<customStringProperty>
<name>zipCityValidation.countryParamName</name>
<property>country</property>
</customStringProperty>
<customBooleanProperty>
<name>phoneValidation.enable</name>
<description></description>
<property v="true" />
</customBooleanProperty>
<customStringProperty>
<name>phoneValidation.url</name>
<description></description>
<property>https://services.aditosoftware.local/services/rest/ws_checkPhoneNumber</property>
</customStringProperty>
<customStringProperty>
<name>phoneValidation.user</name>
<property>Admin</property>
</customStringProperty>
<customStringProperty>
<name>phoneValidation.pw</name>
<property>a</property>
</customStringProperty>
<customStringProperty>
<name>phoneValidation.countryParamName</name>
<property>Country</property>
</customStringProperty>
<customBooleanProperty>
<name>dsgvo.active</name>
<property v="true" />
</customBooleanProperty>
<customDurationProperty>
<name>dsgvo.deletionTimeDays</name>
<description>Time elapses after delete flag is set until the db entry is automatically deleted</description>
</customDurationProperty>
<customDurationProperty>
<name>dsgvo.deletionTimeMonths</name>
<description>When no history entry exists within that duration to today a delete flag is set</description>
</customDurationProperty>
</customProperties>
</preferences>
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