Create folders



  • It's possible to create folders through the api's?
    It's also possible to create entities inside a specific folder?

    Many thanks



  • Yes. Open jsreport studio, create an entity in the folder and check in the F12 browser tools what kind of request is sent.

    The folder is created as any other entity.
    The entity inside folder is created by specifying folder shortid in the request body

    POST odata/templates

    {"folder":{"shortid":"G3i2B3"},"shortid":"HkliR_WhIS","name":"zzz","recipe":"chrome-pdf","engine":"handlebars", "content":"aaa"} 
    


  • Hi jan many thanks for your response!
    Best regards


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.