Tableau - YML file as data source - yaml

I have a .yml file that contains some data the I need to use in my Tableau dashboard. I didn't see that Tableau can directly use .yml as a data source (as it uses .xls, etc). Does that mean do I need to convert my .yml to something supported by Tableau, or are there any other standard/more appropriate ways to achieve this?
Thank you.

if your YML file contains data then you can add it as a text file. I added the file as a "TEXT" file and it displayed the data correctly

Related

Is it possible to log the custom errors into log file instead of csv file in Talend

I want to log the errors in Log file(.log) instead of csv file because even I have to use .csv file i will have to use multiple files each time we log the errors. Creating multiple CSV file is difficult for maintenance. How can i solve this problem. Is the better way to put the errors into Log files.
There's a few details missing such as how you are generating these logs and what is the difference in your mind between a .log file and a .csv file.
Here are my suggestions based on what I understand from your question:
You can use any extension you want in your tFileOutputDelimited, including .log.
If you want to save all the logs in one file, just click the "append" checkbox in the tFileOutputDelimited. Beware that this might make your file quite large.

How Paw read dynamic values from a csv or json file?

Can I have Paw for mac (http rest client) read Dynamic Values from a csv or json file? I need to run 10000 APIs by using different Dynamic Values in my collections.
You could create a dynamic value extension, and use readFile() to read your json file.
I have created a dynamic value extension for passwords, and other such stuff that I don't want to share, when I share my Paw documents.
Please note that because of sandboxing, your json file must live inside you extension folder.

In jmeter, while using CSV Data Set Config for webservice method getting error

I am using Jmeter (Run as administrator) in order to load and test a webservice method using some CSV Data Set Config.
I have the CSV file under the jmeter folder with path:
"D:\ROHINI DATA\Softwares\Jmeter\Setup\apache-jmeter-2.11\bin\examples.
On the given path the jmx and csv files are present. This is true also while the script is executing and it's displaying an error as shown in this screenshot:
:
Can anyone help me out?
It might be connected with the space between ROHINI and DATA
Try the following workarounds:
Double check that file D:\ROHINI DATA\Softwares\Jmeter\Setup\apache-jmeter-2.11\bin\examples\string.csv exists
If the file exists - provide full path in the "Filename" section
There is __CSVRead() function which offers similar functionality, you can try switching to it.
See Using CSV DATA SET CONFIG guide for more details on proper configuration.

Is Isolated Storage Always Necessary?

I see alot of examples on how to write data from an app to a file then put it in isolated storage. I do not want to write any data to my xml file, I just simply want to save it into isolated storage then query it later.
A few simple questions
Someone have code on how to put an existing xml file into isolated storage. Also since I am not writing to this file, do I need isolated storage still? Can I just add the xml to my project and use Linq to xml to open it query it and close it on a button click?
I wanna query the xml through my application in the background. I see alot of examples on serializing, do I need to do this? Can I just open the xml file and use linq to xml to query the data?
Can I just do this, set bbxml.xml to Content and forget about isolated storage and just do this?
using (XmlReader reader = XmlReader.Create("bbxml.xml"))
{
XDocument xml = XDocument.Load(reader);
//query xml....
}
Include the XML file in your project files in Visual Studio, then in the Properties window make sure Build Action is set to Content and Copy to Output Directory is set to Copy always or Copy if newer. This will include the file in the output XAP file.
To access this file in code use:
XDocument doc = XDocument.Load( "path/to/my/file.xml" );
Of course, it doesn't have to be XDocument, you can use any XML reader class similarly.

converting schema in XML to XSD for visual studio

Note, I am not trying to generate the schema for an XML file from the file. There is plenty about that on the web. Kind of a waste--how can a file fail validation if the validator was generated from the file it's validating?
Anyway, I want to test an SSIS component that requires a configuration file in XML (not XSD) to tell it how to parse another input file (this input is also not XML).
The provider of this component says we have to create our own config xml files. I would like to use Intellisense to help do that. There is a schema for these config files, but it is in XML.
Is there a way to create a schema from an XML file that represents the content of that file, not the structure?
Example is in second paragraph. Anyway, it turns out there is a way, and it's embarassingly simple.
Just rename the file from whatever.xml to whatever.xsd

Resources