how to add a container/widget/simple widget/vtl file dynamically in dotCMS -


scenario: have autocomplete country widget. when:

  1. i start typing country name in textbox, countries match query appears. lets type "co" , shows me "colombia" , "congo" in list.
  2. then select "congo".

when select congo want call widget/container/vtl file/whatever brings me information want formatted way widget formatted. lest say, info of congo, location, population, brief description, etc.

i tried restapi , thought of using dotparse()? i'm new on have no idea if possible. searched in docs, didn't find similar.

so how can possible?

i have widget created, need call via restapi?

do have create container first?

thanks in advance, help.

thanks i

it sounds want restful widget api. remote call return widget rendered. see:

http://dotcms.com/docs/latest/widgetapi

and

http://dotcms.com/docs/latest/remote-widgets


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -