Exam4Training

What can Mark do to add a touch control to send an SMS message to the customer currently displayed on the documentMobilePage?

Mark has designed a mobile application with two mobile pages. For the first mobile page he set the pageName property to "viewMobilePage" and for the second mobile page he set the pageName property to "documentMobilePage". He designed the viewMobilePage to display a listing of customer names from the CustomersByName view. He designed the documentMobilePage to display the document details for the customer touched on the viewMobilePage. He specified "customerDoc" as the name for the Domino Document data source and the field with the customer phone number is named "phone".

What can Mark do to add a touch control to send an SMS message to the customer currently displayed on the documentMobilePage?
A . For the Edit Box control bound to the phone field add the property and value of type="sms".
B . Nothing, access to the SMS function of the mobile device is not supported for mobile applications developed using the Mobile controls inDomino Designer.
C . Add a Tool Bar Button control and compute its href property using this server-side JavaScript:return "sms:" + customerDoc.getItemValueString("phone");
D . Add a Rounded List Item control and compute its sms property using this server-side JavaScript:return customerDoc.getItemValueString("phone");

Answer: C

Exit mobile version