On Wednesday, November 22, 2017 at 12:07:56 PM UTC+1, Ramos wrote: > > Not that easy :) > > i´m reading your links and also this link > > https://github.com/jobsta/reportbro-designer/blob/master/demos/custom_save.html > > where i´m stuck in the save part > > what url do i put in the save url ? >
that's up to you. e.g. '{{=URL('report', 'save')}}' so you would need a controller file report.py with a function save in your application. There you have to save the report (available as data parameter) yourself wherever you want to. E.g. you could save it in your db or as a file. In your case you don't have the controller you specified in the url, therefor the ajax call fails. > [image: Imagem inline 1] > > i moved the run function from the reportbro_web2py.py to a controller and > i use it in the above "your save controller url" but i get a bad request in > the browser when i do in the console > $('#reportbro').reportBro('save') > > Thank you > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.