All Collections
Automation
Functions
Function GenerateSignature()
Function GenerateSignature()

Sign your parameterized shared map's URL so users cannot change its parameters

Erik avatar
Written by Erik
Updated over a week ago

Use GenerateSignature(url) to create a signature from an unsigned parameterized URL of a shared map - to prevent users from changing the values of its parameters: if a user modifies a signed URL, for example updates a URL parameter, this will make the signature mismatch the URL content and Mapsly will not load such URL. Learn more about signing shared map URLs here.

How to use

Use the function in the following way:

GenerateSignature(url)

Input

  • url: the full URL of a parameterized shared map without a signature, for example:
    โ€‹https://app.mapsly.com/sharedmap/5f329d3e01d740ea8/?customer_id=58472

Output

The signature of the shared map. The signature can later be appended to the end of the URL - in the signature URL parameter. For the input example above, the output will look like:
โ€‹https://app.mapsly.com/sharedmap/5f329d3e01d740ea8/?customer_id=58472&signagure=gT7r0Iy6RLbfdU65ะ 8ะž9dE27V5k0hf67

Example

{{GenerateSignature('https://app.mapsly.com/sharedmap/g6r4551fgHg6f57?customer_id=' + record.id)}}

See also

Did this answer your question?