6D Labs / CQ Extended Tag Library / API / Expression Language Functions / getUniqueId
Generates a Unique ID for the resource at the specified path. Does this by appending the name of the resource with a CRC32 checksum of the path to the resource.
java.lang.String
- the path for which to generate the idjava.lang.String
- the unique ID
Example:
<div data-id="${ext:getUniqueId(resource.path)}">
</div>