Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
master_t
Partner - Creator II
Partner - Creator II

On demand report and selections

Hello everybody

I'm using the NPrinting API from a mashup page to generate an NPrinting report on-demand.

This works correctly, however the current selections are not applied.

I noticed that the API call accepts two parameters regarding selections, from the API documentation:

selections

array[FieldSelection] The Sense selections (filters) to apply on reports with a Sense connection.

connectionId

String The ID of the Sense connection associated with the request. Needed only for selections.

However, I don't understand exactly if these have to be used together and how. My questions are:

  1. Does the "connectionID" refer to the id of the NPrinting connection that is tied to the report? Or is it something else?
  2. Can I somehow apply the CURRENT selections (I'm in a mashup page and I know the current app) in a simple manner, or do I have to use the "selections" field and manually re-create and provide the full selections specifications to the API?
  3. More in general, what is the best approach to apply the current selections to the report?
0 Replies