Hi,
How to call azure blob storage container and upload files through appian?
Is any plugin available?
Discussion posts and replies are publicly visible
Azure blob storage provides an extensive Web API support. I suggest to read the documentation, do some R&D and come back with more specific questions.
I quickly checked the Appian App Market and did not find a plugin.
I can able to access azure storage through restapi. From appian i have used integration to access the blob.
In appian interface, i have a file upload component, while uploading files from local folder, the path of the file will be passed as parameter to the integration which will upload the file to azure blob
target is my azure storage . how to invoke integration in file upload.
a!fileUploadField( label: "Cover Letter", target: rule!AzureBlobCreation(local!filepath&ri!fileName,true,false), maxSelections: 1, value: ri!fileName, saveInto: {ri!fileName, })
Not. File upload is always going to a folder in Appian first. You can then move the file to Azure later in the process flow.
I have created folder
Created constant for that
when trying to Upload from interface, not getting any error but files are not in the created folder
{ a!localVariables( a!columnsLayout( columns: { a!columnLayout( contents: { a!fileUploadField( label: "File Upload", labelPosition: "ABOVE", target: cons!A_AzureFileFolderConstant, maxSelections: 10, value: ri!fileName, saveInto: {ri!fileName } ) } ) } ) ) }
Uploaded files are only accessible AFTER a submit action.
Hi Nandhini,
Could you please let us know how you configured the connected system and integration in order to connect to azure storage through restAPI and to access the blob.
Thanks in advance.
step1: integration system for generating bearer token
1. create an integration system. Given the token url in URL.
in body define the client_id, client_secret and scope
Step2: create another integration system. Given the blob storage url in URL here
In headers parameters, give the header name as Authorization and value "Bearer "&here need to call the integration which is created for generating bearer token.
Test the request by executing the integration system. Make sure that you have storage blob contributor access in azure
Hi Nandhini, can you please let me know how you generated the authentication token?