Data file data source chicken vs egg
-
Hi Mango community, hope you're well!
I tried to create a data file data source in Mango 4.3 but I seem to not be able to add one without selecting a template. I need to compile templates to be able to select one, but I need to have a data source to be able to compile templates!
How does one create a new data file data source in a fresh 4.3 installation?
-
@dillfunlap I just went to the Data File Tools tab and hit the compile new templates button on a new un-saved data source and it worked fine?
-
Perhaps you already have compiled templates on that instance, so they can populate the template field?
I see this error, using OpenJDK 11.0.8:
{"cause":null,"result":{"messages":[{"level":"ERROR","message":"???validate.requiredValue(i18n_en_US)???","property":"templateFiles"}]},"mangoStatusName":"VALIDATION_FAILED","mangoStatusCode":4002,"localizedMessage":"Validation failed"}
-
Dear Dillip Funlap,
You are correct I had compiled templates. I removed them and got your error.
After playing with it I found that if I move the desired java source file into the root of the DATA_FILE_TEMPLATE folder and then hit compile new templates it worked. It seems the search for templates to compile will only search the top level of that file store.
Let me know if that works for you too.
-
Thanks Terry, that worked