Phone Control

Overview:  

Phone is a new addition that has been introduced in the framework which shows phone number with country flag  and also shows a phone icon. By clicking on phone icon it will open the calling UI and make a call to given number if Communication module  is installed.   
 

Pre-requisites for Phone Control:   

  • Vienna Advantage Framework 5.2.0.0 

  • Vienna Advantage Base File 2.1.0.0 

 

To add this control new Data type is introduced called "Phone". User need to follow the same steps as one follow to use existing Data Types at Column Tab of Database schema window like ( text, table etc.). 

 

Steps to Create phone Control : 

 

Step 1 

  • Login with System Administrator role. Open the Database schema window.  

  • Select the table/view from header tab in which table user want to create a column then Move to the "column" tab and create a new Column.  

  • Enter the Name and DB Column Name. In my example I am entering name as "Phone" but you should create column name with you module prefix. 

  • Select phone in the Reference column.  Save the record, click on the Synchronize Column button and click on Okay button, a column by the name of phone will be created. 

Step 2  

  • Go to "Screen Configuration" window afterwards. 

  • Select a target Screen from the header tab. 

  • Select the Tab record which is linked with the target table in which we added phone column. 

  • Move to the "Field" tab of the selected Tab. 

  • Select "Phone_Phone" from the Column dropdown. (The column that was created in the above mentioned step). 

  • Save the Record.  

View Phone Control 

Now after done all above changes, when user will open the target screen/tab he/she will see the phone control on the tab as shown in below screen. 

User can select the Specific country code from the list  by Clicking on the flag on phone column  

Make Phone Call 

User can make a call to the save phone number, by clicking on the Phone icon. It will make a call by open the Calling Interface popup If communication module is installed. 

User can make a call to the save phone number, by Click on the Phone icon. It will make a call by open the Calling Interface popup If communication module installed.. 

If Communication module is not installed if user click on the phone icon it will display a  Info popup "Please install the Communication module". 

Note:  

  • User Should enter the county code with ' + ' Symbol  For example:- +91 

  • On Enter a valid country code, system will automatically pick the County flag with country code.  

  • Enter Phone Number in the phone control for example:- 9592323898  and  Press  enter. 

  • On enter phone number without country code system will pick the browser request IP Address country 

  • It will make a call by open the Calling Interface popup If communication module is installed. 

  • For the Card View and  Header Panel Phone Column is read only.