PDA

View Full Version : Passing arguments to api functions from template


devoidfeast
07-26-2015, 01:57 AM
i wonder How To call the following api function from any template.
autoPopulatePreviewImage($nodeId);
i am trying to call from the search widget template like the following but its not working.
{vb:data result, autoPopulatePreviewImage,{vb:raw conversation.nodeid}}

Any Help will be highly appreciated.
Thank You

Replicant
07-26-2015, 02:09 AM
use {vb:raw result} after the data statement.