Referencing Javascript Files - Cloud Functions

2 posts, 0 answers
  1. adm
    adm avatar
    1 posts
    Member since:
    Aug 2014

    Posted 13 Sep 2014 Link to this post

    Is it possible referencing other javascript files from cloud functions? i need a workaround to do this.
  2. Anton Dobrev
    Anton Dobrev avatar
    608 posts

    Posted 16 Sep 2014 Link to this post


    Unfortunately, in the current stage this is not possible. We have plans to support this in future releases. However currently we cannot commit to a particular time-frame or to the actual implementation.

    At the moment you can include your custom code in the code canvas and use it from within the cloud function. For instance:
    function doSomething() {
        return "Hello";
    Everlive.CloudFunction.onRequest(function(request, response, done){
       response.body = doSomething();

    Thus said you can include a small helper library and use it from the cloud function. Note that this may introduce some overhead in the cloud function's execution time which is limited. You can read more about these restrictions here.

    If you have further suggestions you may share them with us in our Feedback portal. The portal is constantly monitored and I can ensure you that we prioritize our development accordingly.

    Best regards,
    Anton Dobrev
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
Back to Top