Invoke MS Graph REST API to fetch email with attachment

Certified Associate Developer

Hi Everyone,

I'm trying to invoke MS Graph REST API to fetch email with attachment and that the attachment in response body location is fetched correctly but When specifying fv!result.body.value.name in 'Name', we get error as shown above. Does it accept only static names? 

As our requirement is to retain the same name of the attatchment as fetched.

Need your suggestions on the above query.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi ,

    To retain the original name of the document, use the below 2 step process:

    Step 1: Call Intergation

    The fv! domain is not available for the name column and hence you should really put any generic name or leave it blank.

    This would store your document in the respective folder with the name you have provided.

    Step 2: Use Edit Document Properties function / SS

    Now, as part of the response of this integration object, you would receive the remaining body (base 64 values would be replaced with the Appian document created).

    You can use this info which has the document name from your integration response to update the name of your stored document.

    and this can be achieved by a!editDocumentProperties() function or "Edit Document Properties" smart service

Reply
  • 0
    Certified Lead Developer

    Hi ,

    To retain the original name of the document, use the below 2 step process:

    Step 1: Call Intergation

    The fv! domain is not available for the name column and hence you should really put any generic name or leave it blank.

    This would store your document in the respective folder with the name you have provided.

    Step 2: Use Edit Document Properties function / SS

    Now, as part of the response of this integration object, you would receive the remaining body (base 64 values would be replaced with the Appian document created).

    You can use this info which has the document name from your integration response to update the name of your stored document.

    and this can be achieved by a!editDocumentProperties() function or "Edit Document Properties" smart service

Children
No Data