1 Reply Latest reply on Jun 19, 2017 7:07 AM by itan RSS
    bleung Newbie

    In Axeda: How to find all the assets of a system?  DeviceFinder.findAll() limits the search results.

    I'm very new to Axeda Custom Object development.  I have a couple of questions regarding how to find all the available assets in a system.

     

    On our system, there are over 2000 assets.

     

    In our custom object, we are trying to get the total number of assets. Here's part of the code:

     

    :

    DeviceFinder deviceFinder = new DeviceFinder(CONTEXT)

    deviceFinder.setModel(model)

    deviceList = deviceFinder.findAll()

    :

     

    However, deviceFinder.findAll() only returns 1000 assets, even though there are over 2000 on our system! It appears that deviceFinder.findAll() returns a maximum of 1000 only. Can we changed that limit?

     

    Or better yet, what other calls can we make so that we could get the right asset count (without any limitations)?

     

    Thanks!