Skip to main content
1-Visitor
May 11, 2017
Solved

Service output InfoTable only returning maxItems 500 records

  • May 11, 2017
  • 4 replies
  • 6699 views

I am trying to use output of a service into another service, but I am only getting 500 records. When I run the same query in Oracle I get more records. Please let me know where and how can I set maxItems for output InfoTable to get full resultset.

Regards,

Hemant

    Best answer by ankigupta

    Hi Hemant Rastogi​,

    I had posted regarding Sql Queries Service in this Thread above.

    Here it is for the quick reference:

    There is a property called Max Rows for the SQL (Query) service type which is defined on the Service info tab of the service and it has a default value of 500. You can change it according to your requirement.

    4 replies

    5-Regular Member
    May 12, 2017

    Hi Hemant Rastogi​,

    There is a property called Max Rows for the SQL (Query) service type which is defined on the Service info tab of the service and it has a default value of 500. You can change it according to your requirement.

    I hope it helps.

    5-Regular Member
    May 12, 2017

    For ThingWorx core Java/JavaScript services with output as Infotable; Max Rows property can be defined on the Mashup by clicking the Service and updating it in the Right Pane.

    11-Garnet
    May 15, 2017

    Hi Ankit, i have a requirement to limit the number of "Infotable" rows displayed using Grid in the Mashup. Like you mentioned above, is the "Max Rows" a property in Mashup that can be used?

    5-Regular Member
    May 15, 2017

    Hi Varunraj Shanmugavelayudham​,

    Yes, Max Rows can be used for ThingWorx core Java/JavaScript services with output as Infotable.

    Max Rows property can be defined on the Mashup by clicking the Service and updating it in the Right Pane.

    hrastogi1-VisitorAuthor
    1-Visitor
    May 15, 2017

    Ankit,

    Thanks for the response. My issue is I have created the service using SQL Query which is giving me output in a InfoTable. I am using the service in another service (JavaScript based) to manipulate the data.

    The issue is from SQL Query service, my InfoTable is being restricted to 500 maxitems records.

    Let me know if you have solution for this,.

    Regards,

    Hemant

    ankigupta5-Regular MemberAnswer
    5-Regular Member
    May 16, 2017

    Hi Hemant Rastogi​,

    I had posted regarding Sql Queries Service in this Thread above.

    Here it is for the quick reference:

    There is a property called Max Rows for the SQL (Query) service type which is defined on the Service info tab of the service and it has a default value of 500. You can change it according to your requirement.

    hrastogi1-VisitorAuthor
    1-Visitor
    May 16, 2017

    Yes,. Thanks.

    5-Regular Member
    May 17, 2017

    Great! Could you please mark helpful and correct answers (if any) to close this Thread and let other members know that this Thread has a solution.