Form: Difference between revisions

Jump to navigation Jump to search
2,446 bytes added ,  15 July 2019
Line 156: Line 156:
== Add map ==
== Add map ==


Click '''Add Map''' and select the entity parameters for GPS coordinates, then click '''OK'''. This will add a map tab to your form.
=== Prerequisites for the map, GPS, and [[geocoding]], as well as Update GPS option on custom entity’s form ===
You need to go through couple necessary steps to be able to see the Update GPS and Update Address command button and use them to assign the current GPS-enabled device’s GPS coordinates (and address based on the GPS position) to entity fields:
* The entity must have a floating point number fields with names ending with „latitude“ and „longitude“, for example, ''GPS_coordinates_latitude'' and ''GPS_coordinates_longitude''; or, as in case of accounts, contacts, and leads, ''Address1: Latitude'' and ''Address1: Longitude''.
* Precision needs to be set to 5 decimal numbers, the maximum value to 180.00000, the minimum value to -180.00000 for the longitude, and maximum value to 90.00000, minimum value to -90.00000 for latitude.
You need to have a detail tab named exactly “Address” on the edit form. It is possible to change this name to any other by using [[Localization]].
If you want to show more than one location for a single entity record (e.g., invoice address and shipping address), you can add map to the form multiple times, each time with different GPS fields.
== Add media ==
Click '''Add Media''' to link Notes attachments from the form. By default, media tab is set for capturing signatures, but you can set it up for other actions, like capture photo, record video, and more.
* As '''Name''', enter the label of the tab.
* As '''Required for Status''', you can configure the status to which the entity record changes when action in the media tab is performed. For example, capturing signature might change the status to ''signed''.
* As '''Entity''' select Note or Cloud Document.
* As '''Title''' enter the subject or title of the note where the file is attached.
* As '''Action''', select the actions for the media tab.
{{Note|You can add as many media tabs as you like, each with different options. You can have a dedicated signature tab, a dedicated photo/picture tab, a record tab, etc.}}
To allow further validation/logic of the Media tab, you can use Form rule where there are new options available for the Media tab items. To see it in action, you can watch this [https://youtu.be/VZQMwM0b-N8?t=27m34s part] of one of our webinars. {{Badge|Webinar}}


== Additional form components ==
== Additional form components ==

Navigation menu