Best Of
Re: Get rid of filter icons in app studio apps?
If you click on the page layout in an app, page settings will pop up in the right panel where you will see 'Filter Options'. You will be able to access these options after clicking on that option!
Re: Print A Word Document with Domo Data Using Word Template
This is something where you could use workflows to upload the text you want changed and use some simple javascript to modify the text and then download it.
Here is an example:
function downloadAsWordDoc(content, filename) {
const zip = new PizZip();
const doc = new Docxtemplater(zip);
doc.loadZip(
new PizZip(
`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:body>
<w:p>
<w:r>
<w:t>${content}</w:t>
</w:r>
</w:p>
</w:body>
</w:document>`
)
);
const blob = doc.getZip().generate({
type: 'blob',
mimeType: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
});
saveAs(blob, filename);
}
const template = Hello <USERNAME>!
I wanted to inform you that your <YEAR> <MAKE> <MODEL> vehicle is due for service.
You should contact 801-833-XXXX and plan a date to bring in your vehicle.;
const values = {
USERNAME: 'John Doe',
YEAR: '2021',
MAKE: 'Toyota',
MODEL: 'Camry'
};
const result = replacePlaceholders(template, values);
downloadAsWordDoc(result, 'document.docx');
————————
This type of implementation could take just a little bit of custom code to get working in my opinion, but the connecting it up will just take some tweaking.
Re: YouTube Connectors Using YouTube Account Username and Password
Hi @MrDomo
Do you have an enterprise account and you're wanting to pull the specific channel's videos? YouTube makes it a bit difficult as you have to log in / authenticate as the brand page account and not the enterprise account.
You account name would look something like *****-###@pages.plusgoogle.com. It'll be the same password as your main login account.
Color blindness & creative solutions
After the recent Domo XCanva Challenge, I am a bit more aware of when I am coloring outside the lines in producing a result. I just created a blank brick for a large table (simulated here in smaller version screenshots) that includes rankings on several columns. The request includes heat mapping on the columns. Since this is in a Domo brick, I produced my own heat rank.
Then I realized I had not accounted for people with color blindness. So I added functionality - a checkbox in the bottom corner. When checked, my table changes the colored heat map column backgrounds to white and displays black and white patterns for people who can't distinguish color.
Then I started wondering what creative solutions the rest of you might be implementing.
Re: Total of All States on State Map
Yes, create a beast mode to calculate the % of total. Then use that as your value.
SUM(value) / SUM(SUM(value) fixed())
Here is a reference on FIXED functions
Re: NetSuite Created Date
This is because Domo is applying a timezone adjustment. Domo assumes that date times are loaded in as UTC, and adjusts to your company timezone. In this case, you can fix this by changing the column type to be a date, and not a date time, and the adjustment won't happen.
I'd also recommend checking your other date time columns to make sure they are being handled properly. If they are not UTC, and you have a company timezone set, it's possible that some of them will shift between days.











