@halix/action-sdk
    Preparing search index...

    Function getObjectAsObservable

    • getObjectAsObservable retrieves a single object from the database by its data element ID and key.

      Parameters

      • dataElementId: string

        The ID of the data element

      • key: string

        The key of the object

      • OptionalfetchedRelationships: string[]

        Optional array of relationships to fetch; if provided, the returned object will include the specified related objects as nested objects

      Returns Observable<any>

      Observable resolving to the object data