tobania / VSTS.Extension.SqlReportingServices

VSTS Extension for uploading SSRS Reports
MIT License
14 stars 20 forks source link

Resources publishing issue #13

Closed PierrickLux closed 7 years ago

PierrickLux commented 7 years ago

Using PowerBi reporting Services over SQL 2016:

When publishing Resources files (such as images), file extension is lost, and MimeType provided in CreateCatalogItem() is not identified as such by RS. Once uploaded, file is recognized as application/octet-stream.

The $fileName provided to CreateCatalogItem should contains the complete FileName (extension included). $fileName = [System.IO.Path]::GetFileNameWithoutExtension($_.FullName) + [System.IO.Path]::GetExtension($_.FullName);

Not sure the best to do it in Powershell :)

Still:, nice Tasks, thank you.

A few additional enhancements:

anton-kirschhock commented 7 years ago

@PierrickLux Next week I have time to review your issue. (got a few deadlines this week). Ill keep you posted

anton-kirschhock commented 7 years ago

@PierrickLux You can now check the option "Add the extension to the resource files" in the advanced section.

Can you let me know if this is now resolved (could not test it 100%)

anton-kirschhock commented 7 years ago

@PierrickLux FYI, there is a new task, which can deploy the whole folderstructure you have on your local machine :)

ygeelen-tb commented 7 years ago

@PierrickLux Is this issue resolved?

PierrickLux commented 7 years ago

@ygeelen-tb Yep, perfect thx! I owe you a beer :)

anton-kirschhock commented 7 years ago

@PierrickLux You are welcome :). FYI Our address for the beer is: Tobania Corda Campus - Gebouw I Kempische steenweg 311 box 6.02 3500 Hasselt Belgium