1 Reply Latest reply: Jun 1, 2016 7:17 AM by VALERII TERESHCHENKO RSS

    Specified recipient  in On-Demand request not found - Custom Application Example

    Richard Bartley

      Hello,

       

      I am currently following the NPrinting On-Demand Custom Application example as described here:

       

      On-Demand Custom Application Example – Customer Feedback for Vizubi

       

      I have imported the Service Reference as indicated and all seems to be ok up to that point.  However, when I hit the start button and select option1) Run Report, I receive an error:

       

      Request 7110295c-65cf-4b5a-9a56-b897df526203 failed. Reason: Specified recipient

      in On-Demand request not found: Elvis Presley

       

      (see full trace below).

       

      I have verified that this recipient exists in the NPrinting file OnDemand.nsq and also I have run an import of recipients task in NPrintingTraining.nsq (and I can see Elvis Presley in the list of recipients in that nsq) in case that was the problem. However, I still get the same error.

       

       

      Does anyone have any ideas?

       

       

      Thanks in advance.

       

       

      Full console output:

       

      -------------------------------------------------------------------------------------------------------------------------------------------

       

       

      Available examples:

      1) Run report

      2) Run task

       

      Which example?

      1

      Entity Id

      ---------

       

       

      {

        "EntityName": "Excel - Simple Report with an Image and a Table",

        "Filename": "C:\\NPrintingTraining\\NPrintingFiles\\NPrintingTraining.nsq"

      }

       

       

      Report settings

      --------------

       

       

      {

        "OutputFormat": "PDF",

        "RecipientName": "Elvis Presley",

        "CustomFilters": [

          {

            "ConnectionName": "SalesDemo",

            "Selections": [

              {

                "FieldName": "Year",

                "FieldValues": [

                  {

                    "IsNumeric": true,

                    "Value": "2012"

                  },

                  {

                    "IsNumeric": true,

                    "Value": "2013"

                  }

                ]

              }

            ]

          }

        ],

        "LinkedFieldFilters": null,

        "SavedFilters": [

          "Brazil"

        ]

      }

       

      Submit report

       

      RequestId is 7110295c-65cf-4b5a-9a56-b897df526203

       

      Processing request

      ...

       

      Request 7110295c-65cf-4b5a-9a56-b897df526203 failed. Reason: Specified recipient

      in On-Demand request not found: Elvis Presley

       

       

      Press any key to exit