Hello anonymous user-0048 and welcome back to Microsoft Q&A.
To summarize our offline discussion:
- You are using DataFlow, and writing to blob storage, using delimited text .
- The resulting blob has content-type as
application/octet-stream
. You want it to betext/html
. - This is important for you because the content-type affects the behavior of a web browser pointed to the blob. When set to text/html , the file is displayed. When set to application/octet-stream, it is downloaded.
- There does not seem to be any controls in DataFlow to alter this property.
- The custom metadata option in Copy Activity is not helpful, because content-type is a property, not metadata. This option instead creates a custom metadata named 'content-type'. Not useful.
As a temporary solution, I have suggested using Web Activity to call the blob api to set properties. This should be executed after the DataFlow completes.
Given that you are writing a text-like file, it would make more sense for the content-type to reflect this anyway. I will recommend this become a feature request.
@MarkKromer-MSFT for awareness.