Create tags to upload dataset to Analytics Builder
Hi,
I've created a custom service that creates a dataset using the CreateDataSet service from the Analytics Server Data Thing. I want to add tags so that the dataset will appear in the Analytics Builder. I found this snippet of code that will create a tags info table, but I'm confused as to what the if statement will achieve:
var tags = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({
dataShapeName: "GenericStringList" /* DATASHAPENAME */
});
if (displayInBuilder && datasetName){
tags.AddRow({ item: "builderdataset" });
tags.AddRow({ item: "builderdatasetname:" + datasetName.toLowerCase()
});
When I try to run this code with my datatsetName, it says that "displayInBuilder" does not exist- is this something I need to define, or is this calling another function/service?
Thanks!

