Save calculated records on non-calculated datasource











up vote
0
down vote

favorite












First of all, really sorry for my english, I'll try to be as clear as possible. From the client I set query parameters of a datasource in a calculated model and reload the datasource. The query script call a server script that create new records for the calculted datasource. At the end I have data correctly displayed on a chart widget. Now I would like to save this data permanently in a non calculated model. Which is the best way ? I've tried to run a server script then create calculated records again, read and save all them in the non-calculated model, but in this way I created the calculated records twice, and it's not so efficient. Unfortunatly is not possible to pass items that I display on chart to server script, so which is a better ways?










share|improve this question


























    up vote
    0
    down vote

    favorite












    First of all, really sorry for my english, I'll try to be as clear as possible. From the client I set query parameters of a datasource in a calculated model and reload the datasource. The query script call a server script that create new records for the calculted datasource. At the end I have data correctly displayed on a chart widget. Now I would like to save this data permanently in a non calculated model. Which is the best way ? I've tried to run a server script then create calculated records again, read and save all them in the non-calculated model, but in this way I created the calculated records twice, and it's not so efficient. Unfortunatly is not possible to pass items that I display on chart to server script, so which is a better ways?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      First of all, really sorry for my english, I'll try to be as clear as possible. From the client I set query parameters of a datasource in a calculated model and reload the datasource. The query script call a server script that create new records for the calculted datasource. At the end I have data correctly displayed on a chart widget. Now I would like to save this data permanently in a non calculated model. Which is the best way ? I've tried to run a server script then create calculated records again, read and save all them in the non-calculated model, but in this way I created the calculated records twice, and it's not so efficient. Unfortunatly is not possible to pass items that I display on chart to server script, so which is a better ways?










      share|improve this question













      First of all, really sorry for my english, I'll try to be as clear as possible. From the client I set query parameters of a datasource in a calculated model and reload the datasource. The query script call a server script that create new records for the calculted datasource. At the end I have data correctly displayed on a chart widget. Now I would like to save this data permanently in a non calculated model. Which is the best way ? I've tried to run a server script then create calculated records again, read and save all them in the non-calculated model, but in this way I created the calculated records twice, and it's not so efficient. Unfortunatly is not possible to pass items that I display on chart to server script, so which is a better ways?







      appmaker






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 8 at 11:50









      Daniele Zappala'

      12




      12





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53207169%2fsave-calculated-records-on-non-calculated-datasource%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53207169%2fsave-calculated-records-on-non-calculated-datasource%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Guess what letter conforming each word

          Port of Spain

          Run scheduled task as local user group (not BUILTIN)