Using contact action files

Use this Forum to post tips and techniques for using LongReach. Please explain in detail. This Forum is managed by the LongReach user community. LANSA cannot guarantee the accuracy of any information posted to this Forum.
Post Reply
Posts: 67
Joined: Fri Dec 09, 2011 7:52 am

Using contact action files

Post by alick » Mon Jun 18, 2012 4:45 pm

A .contact file allows a business to deliver a list of contacts to the LongReach end user.

A backend server program could generate a contact file which contains a range of contacts an end user might need to complete a work order.

If you create a file with the .contact extension and use the following JSON format, the end user can open this file and tap the table entry to open the iOS App associated with the contact type.

For example the could contain the following JSON data.

"title":"Work Order 124",
{"type":"sms","address":"89000000","title":"John Smith"},
{"type":"phone","address":"89000000","title":"John Smith","subtitle":"Business number"},
{"type":"phone","address":"+61289000000","title":"John Smith","subtitle":"Personal number"},
{"type":"facetime","address":"89000000","title":"John Smith","subtitle":"Facetime"},
{"type":"email","address":" 124&","title":"John Smith","subtitle":"Business email"},
{"type":"email","address":"","title":"John Smith","subtitle":"Personal email"},
{"type":"map","address":"122 Arthur St North Sydney, NSW","title":"John Smith","subtitle":"Business address"},
{"type":"web","address":"","title":"Corporate Website"},
{"type":"url","address":"facetime://89000000","title":"Custom URL"}

Post Reply