VTAP - App Creator
Vtiger Editions: One Enterprise | One Professional | One AI
Are you a web designer or a front-end developer with a business around CRM solutions?
The VTAP platform offers an App Creator toolkit to develop innovative applications that address business needs beyond CRM configuration.
The App Creator runtime provides developers with the capabilities to extend CRM functionality, strengthen business integration, or meet custom needs, requiring limited coding knowledge.
Using the App Creator, you can:
In this article, you will learn how to develop an application using VTAP App Creator.
|
|
|
|
|
|
|
|
|
Follow these steps to create an application using App Creator:
As soon as you click Save, the application editor window opens. You can design the application as per the requirement in the editor.
The application is structured into two main directories.
You will be able to create a new sub-folder or file under these as per your convention.
To help you get started quickly, default files are used as a template.
Follow these steps to edit the application:
To launch the published application, use the following URL:
|
|
|
|
Now, let us consider a sample web application.
Following is the script for a web application - Flipbook:
|
|
|
|
Click Save and Publish, and launch the application to see it in action.
Here is a prototype to represent time in a traffic signal theme. We will implement this in VTAP using a step-by-step process to understand the design of components and reuse the same.
Before implementing the application, identifying the data and visual scope makes it easy to structure the application. We have time (hour, minute, second) to be displayed as text (left side) and boxes (right side).
The boxes should further highlight the elapsed value and the remaining value.
|
|
| ||||||||||
So our data structure would be like
|
|
Box UI can be created using a span element:
|
|
We will be using VueJS to enable binding the Visual and Data rendering.
Now let's create the traffic_clock application in VTAP
Iteration - 1
Let us first get the timer display on HTML that changes every second.
views/index.html
|
|
CTRL+S (Save the file)
resources/index.js
|
|
CTRL+S (Save the file)
Publish the changes. Launch the application.
Iteration - 2
Let us now get the boxes displayed representing elapsed and remaining value of hour, minute, second.
views/index.html
|
|
CTRL+S (Save the file)
resources/index.css
|
|
CTRL+S (Save the file)
Publish the changes. Launch the application.
Iteration - 3
Let us now build a custom VueJS boxes component that takes care of representing the elapsed and remaining value. This will help us reduce HTML repetition as the component can be reused for hour, minute, and second by varying the inputs to the component through attributes (type, value, and max).
views/index.html
|
|
CTRL+S (Save the file)
resources/index.js
|
< span :class="type" class="box elapsed" v-for="v in value">< /span> < span :class="type" class="box" v-for="v in (max - value)">< /span> < /div>\` |
CTRL+S (Save the file)
Publish the changes. Launch the application.
Iteration - 4
Continue the journey to match the expected representation.