# Create Application - Employee UI/UX Revamp

**Objective:** To provide the employees involved in the PT workflow with the functionalities to create a property Application in the create workflow.

## **Create Application**

A counter employee can raise an application to register a property.

![](https://content.gitbook.com/content/OorNqx5By246mkjipsn7/blobs/AbMHJFAfnBvG0sbUIQ8T/image%20\(190\).png)

## **Technical Implementation**

*The file to create the Application for PT can be found in:-*

<https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/pt/src/pages/employee/NewApplication/index.js>

*For creating an application, the employee enters all the details of the form manually, and Documents are uploaded based on the MDMS configuration found in the file:*

<https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/Documents.json>

**MDMS Data**

1. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/Floor.json>
2. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/OccupancyType.json>
3. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/OwnerShipCategory.json>
4. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/OwnerType.json>
5. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/PropertyType.json>
6. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/UsageCategory.json>
7. <https://github.com/egovernments/egov-mdms-data/blob/DEV/data/pb/PropertyTax/SubOwnerShipCategory.json>

*The MDMS data for documents is similar to that found in :*

{% file src="<https://content.gitbook.com/content/OorNqx5By246mkjipsn7/blobs/ixDEOOkoQOm7ibQjKo71/pt-mdms-configuration.pdf>" %}
Property Tax MDMS Configuration
{% endfile %}

\*\*with the noted addition of `formDataPath, formArrayAttrPath`, in `filterCondition` and `dropdownFilter` .

`formDataPath` path is the form path in the form of an array of keys that needs to be followed to a new UI form to check the entered value. similar to `jsonPath` and `parentJsonpath` in old UI, while the `formArrayAttrPath` replaces the `arrayAttribute`.

*The use of the MDMS data within the component can be found in :*

<https://github.com/egovernments/digit-ui-internals/blob/main/packages/modules/pt/src/pageComponents/SelectDocuments.js>

After adding all the valid documents and form values in the form, the user is allowed to submit the form

*which calls the property create API:*`1property-services/property/_create`

**Acknowledgement Screen**

If the Property creation is successful. Then the employee is directed to this screen that shows the Acknowledgement ID and the option to download a hard copy of the acknowledgement containing property details.

![](https://content.gitbook.com/content/OorNqx5By246mkjipsn7/blobs/FzcJrmfhMhUKk5uYQfoi/image%20\(137\).png)

## **Role Mapping**

|                                      |           |               |
| ------------------------------------ | --------- | ------------- |
| **Url**                              | **ROLE**  | **Action ID** |
| `property-services/property/_create` | `PT-CEMP` | `1895`        |
