ODataCollectionView access metadata/schema

Posted by: paulr on 12 January 2021, 3:47 am EST

  • Posted 12 January 2021, 3:47 am EST

    I am using ODataCollectionView and my backend is sending annotations as part of the metadata properties. I would like to access the schema (returned by the call to $metadata). Is it possible?
  • Replied 12 January 2021, 11:25 pm EST

    Hi Paul,

    The ODataCollectionView sents a request to the Odata server and uses the response internally. There is no way to access the response outside of ODataCollectionView.
    If you require to use the metadata, you may need to call your OData server manually using the wijmo.httpRequest method.

    https://www.grapecity.com/wijmo/api/index.html#httprequest

    Regards,
    Ashwin
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels