<?xml version="1.0" encoding="UTF-8"?>
<kit:DataSet xmlns:ctd="http://www.memority.com/citadel/1_0" xmlns:ctdbpmn="http://www.memority.com/citadel/bpmn/1_0" xmlns:ctdbum="http://www.memority.com/citadel/bum/1_0" xmlns:ctdcore="http://www.memority.com/citadel/core/1_0" xmlns:ctdidm="http://www.memority.com/citadel/idm/1_0" xmlns:ctdrep="http://www.memority.com/citadel/rep/1_0" xmlns:ctdrule="http://www.memority.com/citadel/rule/1_0" xmlns:ctdtnt="http://www.memority.com/citadel/tnt/1_0" xmlns:kit="http://www.memority.com/toolkit/1_0" xmlns:rule="http://www.memority.com/toolkit/rule/1_0" xmlns:ruleaddon="http://www.memority.com/toolkit/addons/rule/1_0" xmlns:search="http://www.memority.com/toolkit/search-expression/1_0" xmlns:settings="http://www.memority.com/toolkit/addons/settings/1_0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <ctdbum:FeatureConfiguration id="user-card-create">
      <createdAt>2020-10-15T08:46:18.030Z</createdAt>
      <updatedAt>2021-09-20T09:05:49.378Z</updatedAt>
      <name>user-card-create</name>
      <description>Create a new user</description>
      <type>CREATE</type>
      <scope type="EXPRESSION" objectKind="IDENTITY">
         <searchExpression/>
         <objectTypes>
            <objectType>Employee</objectType>
         </objectTypes>
      </scope>
      <options>
         <completionRedirectURL>feature://user-card-read/{routeObjectId}</completionRedirectURL>
         <formLabelOnTop>false</formLabelOnTop>
         <initialization>
            <initRule>
               <script><![CDATA[import java.time.temporal.ChronoUnit
                    final def attributes = []					
					attributes.add(AttributeValue.from("status", ObjectStatus.NORMAL))
					attributes.add(AttributeValue.from("authMethodPasswordFrom", Instant.now()))
					attributes.add(AttributeValue.from("enabledFrom", Instant.now()))
					new ApiObject(attributes)
					]]></script>
            </initRule>
         </initialization>
         <pendingOperationBehaviour>WARN</pendingOperationBehaviour>
         <submit>
            <reportDisplay>DISPLAY_ALL</reportDisplay>
         </submit>
      </options>
      <screen>
         <views>
            <view id="view-1">
               <description>test-view-1</description>
               <icon>fa fa-id-card-o</icon>
               <sections>
                  <section id="test-section-1">
                     <layout>SINGLE</layout>
                     <frame>
                        <actions/>
                        <collapsible>false</collapsible>
                        <display>PORTLET</display>
                        <initiallyCollapsed>false</initiallyCollapsed>
                        <title>true</title>
                     </frame>
                     <columns>
                        <column>
                           <widgets>
                              <widget id="photo" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor>
                                       <editWidget xsi:type="ctdbum:ImageEditWidgetType">
                                          <hidden>false</hidden>
                                          <config>
                                             <conditional>false</conditional>
                                             <acceptedFileTypes>
                                                <fileType>*</fileType>
                                             </acceptedFileTypes>
                                             <maxFileSizeKb>5000</maxFileSizeKb>
                                             <resizeQuality>1.0</resizeQuality>
                                          </config>
                                       </editWidget>
                                    </editor>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>true</override>
                                 </config>
                                 <attributeId>photo</attributeId>
                              </widget>
                              <widget id="title" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor>
                                       <editWidget xsi:type="ctdbum:SelectEditWidgetType">
                                          <hidden>false</hidden>
                                          <config>
                                             <conditional>false</conditional>
                                             <required>false</required>
                                             <options>
                                                <option>
                                                   <id>Mrs</id>
                                                   <text>Mrs</text>
                                                </option>
                                                <option>
                                                   <id>Mr</id>
                                                   <text>Mr</text>
                                                </option>
                                             </options>
                                             <sort>VALUE</sort>
                                          </config>
                                       </editWidget>
                                    </editor>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>true</override>
                                 </config>
                                 <attributeId>title</attributeId>
                              </widget>
                              <widget id="firstName" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>firstName</attributeId>
                              </widget>
                              <widget id="lastName" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>lastName</attributeId>
                              </widget>
                              <widget id="email" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>email</attributeId>
                              </widget>
                              <widget id="birthDate" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor>
                                       <editWidget xsi:type="ctdbum:DateEditWidgetType">
                                          <hidden>false</hidden>
                                          <config>
                                             <conditional>false</conditional>
                                             <required>false</required>
                                             <dateFormat>DAY_MONTH_YEAR_SHORT</dateFormat>
                                             <dateOnly>true</dateOnly>
                                             <timeOnly>false</timeOnly>
                                             <timeZoneStrategy>BROWSER</timeZoneStrategy>
                                          </config>
                                       </editWidget>
                                    </editor>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>true</override>
                                 </config>
                                 <attributeId>birthDate</attributeId>
                              </widget>
                              <widget id="country" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>country</attributeId>
                              </widget>
                           </widgets>
                        </column>
                     </columns>
                  </section>
                  <section id="test-section-2">
                     <layout>TWO_EQUAL</layout>
                     <frame>
                        <actions/>
                        <collapsible>false</collapsible>
                        <display>PORTLET</display>
                        <initiallyCollapsed>false</initiallyCollapsed>
                        <title>true</title>
                     </frame>
                     <columns>
                        <column>
                           <widgets>
                              <widget id="1stContractDate" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>1stContractDate</attributeId>
                              </widget>
                              <widget id="arrivalDate" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>arrivalDate</attributeId>
                              </widget>
                              <widget id="endofvaliditydate" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>endofvaliditydate</attributeId>
                              </widget>
                           </widgets>
                        </column>
                        <column>
                           <widgets>
                              <widget id="Responsible_ID" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor>
                                       <editWidget xsi:type="ctdbum:AdvancedObjectReferenceEditWidgetType">
                                          <hidden>false</hidden>
                                          <config>
                                             <conditional>false</conditional>
                                             <popupAttributes>
                                                <attribute>id</attribute>
                                                <attribute>status</attribute>
                                             </popupAttributes>
                                             <search>
                                                <actions/>
                                                <allowExport>false</allowExport>
                                                <columns>
                                                   <column>
                                                      <attribute>true</attribute>
                                                      <dataKey>id</dataKey>
                                                      <dataType>string</dataType>
                                                      <dateFormat>DAY_MONTH_YEAR_LONG</dateFormat>
                                                      <ellipsis>false</ellipsis>
                                                      <hidden>false</hidden>
                                                      <sortAs>ALPHA</sortAs>
                                                      <sortDirection>ASC</sortDirection>
                                                      <sortable>true</sortable>
                                                      <sorted>true</sorted>
                                                      <type>general</type>
                                                   </column>
                                                   <column>
                                                      <attribute>true</attribute>
                                                      <dataKey>lastName</dataKey>
                                                      <dataType>string</dataType>
                                                      <dateFormat>DAY_MONTH_YEAR_LONG</dateFormat>
                                                      <ellipsis>false</ellipsis>
                                                      <hidden>false</hidden>
                                                      <sortAs>ALPHA</sortAs>
                                                      <sortDirection>ASC</sortDirection>
                                                      <sortable>true</sortable>
                                                      <sorted>false</sorted>
                                                      <type>general</type>
                                                   </column>
                                                </columns>
                                                <rowClickActions/>
                                                <additionalSearchAttributes>
                                                   <attribute>enabled</attribute>
                                                </additionalSearchAttributes>
                                                <displayFrozenOperators>true</displayFrozenOperators>
                                                <frozen>NO</frozen>
                                                <modes>
                                                   <mode>MULTICRITERIA</mode>
                                                </modes>
                                                <objectReferences/>
                                                <searchExpression>
                                                   <search:And>
                                                      <search:Prop op="IS_NOT_NULL" name="id"/>
                                                      <search:Prop op="EQUALS" name="lastName"/>
                                                   </search:And>
                                                </searchExpression>
                                             </search>
                                             <displayPopup>true</displayPopup>
                                             <scope type="EXPRESSION" objectKind="IDENTITY" xsi:type="ctd:DynamicObjectScopeType">
                                                <searchExpression>
                                                   <search:And>
                                                      <search:Prop op="EQUALS" name="enabled">
                                                         <value script="false">true</value>
                                                      </search:Prop>
                                                      <search:Prop op="EQUALS" name="status">
                                                         <value script="false">NORMAL</value>
                                                      </search:Prop>
                                                   </search:And>
                                                </searchExpression>
                                                <objectTypes>
                                                   <objectType>Employee</objectType>
                                                </objectTypes>
                                             </scope>
                                             <i18nKey></i18nKey>
                                          </config>
                                       </editWidget>
                                    </editor>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>true</override>
                                 </config>
                                 <attributeId>Responsible_ID</attributeId>
                              </widget>
                              <widget id="badgeAuthorized" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>badgeAuthorized</attributeId>
                              </widget>
                           </widgets>
                        </column>
                     </columns>
                  </section>
                  <section id="test-section-3">
                     <layout>SINGLE</layout>
                     <frame>
                        <actions/>
                        <collapsible>false</collapsible>
                        <display>PORTLET</display>
                        <initiallyCollapsed>false</initiallyCollapsed>
                        <title>true</title>
                     </frame>
                     <columns>
                        <column>
                           <widgets>
                              <widget id="securityOrganization" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>securityOrganization</attributeId>
                              </widget>
                           </widgets>
                        </column>
                     </columns>
                  </section>
                  <section id="test-section-4">
                     <layout>SINGLE</layout>
                     <frame>
                        <actions/>
                        <collapsible>false</collapsible>
                        <display>PORTLET</display>
                        <initiallyCollapsed>false</initiallyCollapsed>
                        <title>true</title>
                     </frame>
                     <columns>
                        <column>
                           <widgets>
                              <widget id="status" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>status</attributeId>
                              </widget>
                              <widget id="enabledFrom" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>false</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>enabledFrom</attributeId>
                              </widget>
                              <widget id="authMethodPasswordFrom" xsi:type="ctdbum:AttributeEditorWidgetType">
                                 <hidden>true</hidden>
                                 <config>
                                    <editor/>
                                    <label></label>
                                    <lockedInUi>false</lockedInUi>
                                    <mode>READ_WRITE</mode>
                                    <multiValued>false</multiValued>
                                    <override>false</override>
                                 </config>
                                 <attributeId>authMethodPasswordFrom</attributeId>
                              </widget>
                           </widgets>
                        </column>
                     </columns>
                  </section>
               </sections>
            </view>
         </views>
         <frame>
            <actions/>
            <collapsible>true</collapsible>
            <display>NONE</display>
            <initiallyCollapsed>false</initiallyCollapsed>
            <title>true</title>
         </frame>
      </screen>
      <authentication>
         <authenticationLevelComparison>MINIMUM</authenticationLevelComparison>
      </authentication>
      <operations>
         <operation>
            <actions/>
            <attributes/>
            <checkInheritedAttributes>
               <attributes/>
               <level>WARN</level>
            </checkInheritedAttributes>
            <type>READ</type>
         </operation>
         <operation>
            <actions/>
            <attributes/>
            <checkInheritedAttributes>
               <attributes/>
               <level>WARN</level>
            </checkInheritedAttributes>
            <type>CREATE</type>
         </operation>
      </operations>
      <operationOnSelf>false</operationOnSelf>
      <homeTile>
         <color>purple</color>
         <icon>fa fa-user-plus</icon>
         <url></url>
         <feature>user-card-create</feature>
         <id>user-card-create</id>
         <label>user-card-create</label>
      </homeTile>
   </ctdbum:FeatureConfiguration>
</kit:DataSet>
