Creating data from frontend to send to backend

8 posts, 0 answers
  1. Marcel
    Marcel avatar
    25 posts
    Member since:
    Mar 2015

    Posted 26 Apr Link to this post

    Hello I believe I contacted you all once before to get an understanding why I cant send data to my backend from the frontend and the pictures I have attached gives an explanation of what might be going on int he app. 

    thank you  

    ps. I cant send reset password to emails anymore, is it any issues with the email templates?
  2. Martin
    Admin
    Martin avatar
    67 posts

    Posted 28 Apr Link to this post

    Hi Marcel,

    From the attached images the code looks OK.

    You can change these lines in the "else" statement:

    Angry_Act.Post($scope.arpostData).then(function(data) {
                $scope.$apply();
                if (data.result) {
                    $scope.postmodal.hide();
                } else {
                    $ionicPopup.alert({
                        title: data.code,
                        template: data.message
                    });
                }

    in order to be able to see the error message returned from the server.

    Also, if you are using user authorization in your app, please make sure that there is only one Everlive instance (you call new Everlive(); only once inside your app). Otherwise the login details (the access token) will be stored in one Everlive instance and you will make request with another instance - thus the POST request will be sent without an access token which will result in error from the server. This might be the reason for the resetPassword function not to work as well.

    Please check the returned error from the server and let me know if you need more help.


    Regards,
    Martin
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
  3. Marcel
    Marcel avatar
    25 posts
    Member since:
    Mar 2015

    Posted 28 Apr in reply to Martin Link to this post

    Hello Martin,

    I looked in email templates and i dont see any reset password templates or etc.

     

    thank you 

  4. Marcel
    Marcel avatar
    25 posts
    Member since:
    Mar 2015

    Posted 28 Apr Link to this post

    All of the registered, welcome. reset password templates arent available.
  5. Dimitar Dimitrov
    Admin
    Dimitar Dimitrov avatar
    26 posts

    Posted 29 Apr Link to this post

    Hello Marcel,

    How did you create the Backend Services project - Is your application a duplicate of another or freshly created new one? The Automated Emails always have 4 default email templates for the Users Management and either they were deleted or not present at the time of creation of your app. Would you please share your AppId in order to check our logs and see if there was a problem with the email templates.

    Looking forward to your reply.

    Regards,
    Dimitar Dimitrov
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
  6. Marcel
    Marcel avatar
    25 posts
    Member since:
    Mar 2015

    Posted 29 Apr in reply to Dimitar Dimitrov Link to this post

    hello, 

    the backend service i just enabled when i created the hybrid app template but it proves me wit kendo ui which i dont want to use so i delete all the folders and continue with my application i uploaded 

  7. Marcel
    Marcel avatar
    25 posts
    Member since:
    Mar 2015

    Posted 29 Apr Link to this post

    its happening everytime i upload my an existing app
  8. Martin
    Admin
    Martin avatar
    67 posts

    Posted 04 May Link to this post

    Hi Marcel,

    I am sorry to hear you are experiencing such strange behavior with automated email templates.

    I tried to reproduce the described behavior but without success. Could you please describe the exact steps that lead to email template disappearing so that we can reproduce them?

    Are the automated email templates available before editing/importing the code base in the app?

    Optionally, you can record a video and attach it here.

    I am looking forward to your reply.


    Regards,
    Martin
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
Back to Top