Skip to main content

Get an Assets Template Id with asset.getTemplateId()

new API to get template Id of an asset, given path or id

asset.getTemplateId ( path or id )

Return:
0 for invalid asset - (check 0 for error!!)
pos integer for template id

Comments