Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup Report email not displaying images #2029

Open
sangling opened this issue Oct 16, 2022 · 3 comments
Open

Backup Report email not displaying images #2029

sangling opened this issue Oct 16, 2022 · 3 comments
Assignees

Comments

@sangling
Copy link

The email reports are not embedding the images correctly.

As an example:
<img src=\"cid:@{body ('Run_query_and_visualize_results-PolicyTrend')? ['attachmentName']}\" width:\"50px\"/>

Should be:
<img src=\"data:image/jpeg;base64,@{body ('Run_query_and_visualize_results-PolicyTrend')? ['attachmentContent']}\" width=\"50px\"/>

I have tested my changes by testing by changing directly in the Logic Ap and subsequently cloned and branched the repository to update the files.

Commit: 91f2a21

I should be able to test using https://portal.azure.com/?feature.workbookGalleryBranch=sangling-BackupReportEmailImages

Workbooks are being redirected correctly:
image

However, as it can't be deployed from Workbooks, I get the following error when deploying from the Recover Services Vault:
image

Thanks,

@gardnerjr
Copy link
Collaborator

if you're building from a custom branch, there are some restrictions on the names of files/folders inside that have to match up exactly so it can find the right files in github. the custom gallery instructions are more accurate/functional.

@adityabalaji-msft
Copy link
Contributor

Thanks for reaching out - Looking into this. @tmalhotra2428 for visibility

@sangling
Copy link
Author

sangling commented Nov 8, 2022

if you're building from a custom branch, there are some restrictions on the names of files/folders inside that have to match up exactly so it can find the right files in github. the custom gallery instructions are more accurate/functional.

I was wondering if I am unable to test is related to the fact that this specific workbook doesn't appear under 'Workbooks' in Azure and is only accessible from within 'Recovery Services Vault'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants