App Connect

 View Only
  • 1.  Retrieve contents of a single blob in an Azure container

    Posted Wed November 30, 2022 11:19 AM
    I am trying to retrieve the contents of a single blob in a container. Please see the attached screenshot for details:
    I find that the ACE documentation on exactly what action to specify on what object type is not detailed enough. The Launch Connector Discovery wizard does not assist much in this regard.
    I have 3 questions:
    1. Can you provide me with the exact action and the exact name of the object I need to specify in order to complete the retrieval action I mentioned above?
    2.  Do I need to specify a Filter?
    3.  Do you know whether the message documentation for BIP4000 will be improved? Currently it provides information such as the following (which is not very helpful):
     I've set up the credentials correctly - I can get a list of blobs in the container, as well as the container metadata.

    Thanks


    ------------------------------
    Peter Von Hirschfeld
    ------------------------------


  • 2.  RE: Retrieve contents of a single blob in an Azure container

    Posted Fri December 16, 2022 04:46 AM
    Hello Peter,

    Unfortunately the images in your post aren't working and so I can't see your screenshots, but I'm going to have a guess at your problem.
    Are you trying to use the `Download blob content` action to retrieve your blob content? that is the one to use, however if you are trying on 12.0.6.0 or 12.0.5.0 then there is a defect that is stopping it from working that has been fixed in 12.0.7.0 so I would recommend to try 12.0.7.0 if you have not already.

    Following on from that you need to supply a correctly formatted message to the AzureRequest node so that the node knows which blob to retrieve the content from. When you configure the node through the discovery wizard it will return to you a request schema that is linked from the node properties. The message that you put to the AzureRequest node needs to match that format. For the `Download blob content` action then the properties required are the 'name' and 'contentType' properties, so a message something like `{"name":"myBlobName","contentType":"Text"}` when parsed with the JSON domain would be correct, or you could use a mapping node or compute node to build the correct structures.

    Thanks
    David



    ------------------------------
    David Coles
    App Connect Developer
    ------------------------------



  • 3.  RE: Retrieve contents of a single blob in an Azure container

    Posted Mon December 19, 2022 12:19 AM
    Hi David

    Thanks for your help. I tried using 12.0.7.0 and, as you suggested, it worked fine.

    Do you have any info on whether the content of BIP4000 error message will be changed? I find it to be not particularly helpful as in some error cases it just says something like:

    "We can't complete the Download blob content action on Microsoft Azure Blob storage because you provided incorrect data"

    Regards
    Peter


    ------------------------------
    Peter Von Hirschfeld
    ------------------------------



  • 4.  RE: Retrieve contents of a single blob in an Azure container

    Posted Tue December 27, 2022 09:31 AM
    vou pesquisar

    ------------------------------
    octavo magalhaes
    ------------------------------