Hi, I have a method in my plugin which takes a number of options (postid, category, userid and options of a custom type) like so:
public string GetButton(int postId, string category, int userId, MyOptions myOptions)
{
return "test";
}
However I don't get anything returned from the method when accessing it from nVelocity:
#set ($myoptions = "%{Name = 'test', ButtonType = 'Link'}")
#set($stringResponse = $myplugin_links_v1.GetButton(5120, 'web', 2100, $myoptions ))
$stringResponse
Any ideas on what I am doing wrong
Thanks
Adam