Design: Accessing BoM items by pagination

Modified on Thu, 21 Mar 2024 at 10:42 AM

BoM items can be accessed by pagination.

Pagination helps keep network responses small and fast. If you are experiencing issues with speed, or timeout errors, this could be a solution.

Here is an example:

query bomIdPagination {
  desBomById(
    id: "RGV..."
  ) {
    id
    #After value is the end cursor for the previous page
    items(first: 5, after: "OQ==") {
      nodes {
        quantity
        bomItemInstances {
          designator
        }
        component {
          details {
            parameters {
              name
              value
            }
          }
          name
          description
          isManaged
        }
      }
      pageInfo {
        endCursor
      }
    }
  }
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article