how to add a container/widget/simple widget/vtl file dynamically in dotCMS -
scenario: have autocomplete country widget. when:
- i start typing country name in textbox, countries match query appears. lets type "co" , shows me "colombia" , "congo" in list.
- 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
Comments
Post a Comment