Sending email of dashboard view (Jenkins) - email

I have installed the "Dashboard view" plugin on Jenkins. It generates reports as expected. I'd like to notify other team members of these reports via email. I tried using the email-ext plugin and went through the editable email notification option. But, I couldn't figure out how to attach these reports (generated in the dashboard view). Is something like this possible to do and can someone please guide me how this can be done?
Any help would be appreciated. Thanks in advance. :)

Not familiar with "Dashboard view" but I do remember if you use post-build step from email-ext, you can specify the "Attachment" field in "Advanced settings".
If the report generated by "Dashboard view" is an HTML file or some other readable file, I think you can just put the path to the "Attachment" field. If it is something like a json or xml, feel like you should send them the link to the report on Jenkins (usually it is just the link shown in your browser when you view this report).

Related

Where can I find the template of the email that is sent with the Invoice to a customer?

The customer in Netsuite gets an email with the generated invoice attached as a pdf. The requirement is to change the body of the email. I am unable to locate the template that has this info to modify. Please advise.
The current body of the email is:
"Please open the attached file to view your Invoice.
To view the attachment, you first need the free Adobe Acrobat Reader. If you don't have it yet, visit Adobe's Web site http://www.adobe.com/products/acrobat/readstep.html to download it."
`Customize-->Transaction Forms-->Whichever invoice form you're using`.
Under this form you should be able to choose which email template to send.
To find this email template,
Customize-->Transaction form PDF/HTML layouts
Under this menu you should be able to select and customize the email template however you want. Make sure the template you edit corresponds to the template that is showing on the form.
You may need to or have the desire to enable advanced/PDF/HTML templates, which allows you to edit and customize forms in a much more robust fasion using HTML/XML/CSS, Freemarker, and BFO. (See suiteanswers: 48703)
I know the original post is several years old, but I too found myself searching for answers recently in stackoverflow so I thought I would post the answer to this questioon.
Use the global search bar to type in Email Template. You can customize from there. I've attached a screenshot that replaces the generic message
"Please open the attached file to view your Invoice.
To view the attachment, you first need the free Adobe Acrobat Reader. If you don't have it yet, visit Adobe's Web site http://www.adobe.com/products/acrobat/readstep.html to download it."
It has been awhile since I found and got this email template to work, so it is possible there may be another section where you have to set the preference to use this customized email template.

How to link to the attachments added from the description of a workitem?

In VSTS attachment can be uploaded for workitems. Those attachments are displayed in a seperate tab.
I found no way to reference those attachments from within the description of the workitems.
So how to do it?
drag and drop the attachment to your browsers URL text field
(optional:) remove the &download=true&api-version=5.0-preview.2 part at the end
use this URL to create a link in your comment
I did not find another way yet and maybe it is not so logical :). But as workaround you may download an attachment from work item. Then you may copy a download link from your browser download page and use it on description field.
A workaround that I found to this which shows a selected text within the comment as clickable and opens the attachment if you click on it is:
find and copy the attachment url from browser Developer Tools,
select the part of the text in Discussion box that you like to link to the attachment to,
paste the attachment url to Address box in Create Link popup. You can get to this by using three dots (...) in Discussion section toolbox (More Tools) and select Create Link which allows you to paste the address.
This is amazing that AzureDevops does not have this ability. It's disappointing and makes working with the product so much more difficult. I really cannot imagine how they use this product internally.
You could inspect the attachment url in chromedev tools, then copy the url, the element will look like
<div class="grid-cell-contents-container">
<span class="attachment-icon bowtie-icon bowtie-file-content"></span>
filename.filetype
Then just remove the &api-version=5.0-preview.2 part at the end
Come on Microsoft! You're better than this.
It is now possible maybe. Goto attachments and click on list view
List view of attachments of a workitem
Then just left-click on the file of your choice and drag it
This would appear to be the least "hacky" way, as it relies entirely on the Azure DevOps UI:
Go to the attachments list of the work item.
While you hover over an attachment, three vertical dots with tooltip "More actions" will be shown:
from where you can open a submenu:
In there, click "Copy attachment link".
If you paste this link to a text-only context, you will get only the attachment filename, but if you paste it into a rich-text editor with support for links, such as the Description field or Discussion comments in the work item, the attachment filename will appear as a clickable link.

Tableau Public, error message {"error":{"message":"No author found!"}}

I published something onto Tableau Public and it isn't working for some reason. This just started happening and I am not sure why. I tried uploading different workbooks none of them are working. Here is a sample:
https://public.tableausoftware.com/views/JBCBacktestvs_SP500/JBC-Backtestvs_SP500DB?:embed=y&:display_count=no
This is the error I receive when I log onto it:
{"error":{"message":"No author found!"}}
Any idea on what I might be doing wrong? Thank you!
Follow the methods given in the tableau help section. After the account is made a window with all the story board will come up. Select the story or dashboard (as per the case) and then click on share button .
click on Done and then go to "open in browser window" . It will open in the browser. Copy the address in the address bar of the browser. This is the link to be published

Cognos - How to send report embedded in email?

I'm trying to embed a Cognos report in an email message body, with no luck.
I've tried IBM official solution and to unmark "Include a link to the report" and "Attach the report" in the email options and it didn't work. I've also tried to embed the report using html tag, but the mail client (Outlook) does not support iframe.
Google searches didn't show anything useful. Does anyone here have another idea without using external tool?
If you attach an HTML output of the report to an email in Event Studio, it's displayed in the email body.
the solution to this is very weird but believe me if you leave the email message body blank ,when you are specifying the to and cc, the subject of the mail etc and chose to attach the report ,the report is displayed in the body of the message when delivered..If you type even a single word in the message body of the schedule then the email is attached.Also only HTML formats are embedded rest all get attached.
i hope this helps .It has always worked for me.
You should clear the "link to report" but most important LEAVE THE BODY BLANK.
It is stated here: IBM LINK
if you are using ReportOutput() function, you are likely to get an individual email for each output type.

Editing Files in My account Magento CE

Hello I am using Magento CE 1.7.2 I am trying to edit the customers "My Account" Pages
I cannot find what file to edit to change the layout and design of the following:
My account:
Account Dash Board (got this to work editing customer/account/dashboard.phtml)
Account Information (Tried customer/account/dashboard/info.phtml Didn't work)
Address Book (Tried customer/account/dashboard/address.phtml Didn't Work)
My Orders (No idea)
Newsletter Subscriptions (Tried customer/account/dashboard/newsletter.phtml Didn't Work)
What files do I edit? Please show the directory.... Thanks!
Telling you the exact path would be like "giving you a fish".
Instead, I will "teach you how to fish".
Login to your admin panel in Magento.
Head to System > Configuration. At the bottom of your left menu you will find a Developper link.
Head to this link, then in the upper left of the given page, select a webiste in the dropbox under Current Configuration Scope.
Open the Debug section and set Template Path Hints to Yes.
Reload your customer page in frontend. Tada! You can now see where is every single files you have to edit to change anything in your Magento.