Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Send message to fetch-DSRequest after an add-DSRequest

    I have criteria added automatically to all my requests of type="fetch". I add the client-ID in a DMI method. This works fine.

    When I execute an add request, a fetch request is automatically executed, and in this automatic fetch-request gets the automatic criteria, since it is a fetch-request.
    What I want is to send a message to the fetch-request in order to NOT add the criteria. But I only have access to the original add request. So how to pass a message to the automatic fetch request in order to have this logic in the DMI Method ?

    #2
    Ok, I solved by using a copy of my datasource, which doesn't add any criteria to the fetch requests. But it is still interesting to know if there is a way to pass a message to the automatic fetch request.

    Comment


      #3
      Hi edulid,

      why don't you do your add-client-ID in a subclass of IDACall instead of in DMI?
      This way you also have to do it only once (but it will only be applied to requests coming from the browser).

      Best regards
      Blama

      Comment


        #4
        See operationBinding.cacheSyncOperation.

        Comment

        Working...
        X