Hi All,
I am creating a CSV file in AEM for which I am using assetManager createAsset method but that is deprecated now.
What is the correct API to use instead?
InputStream is = new ByteArrayInputStream(testData);
assetManager.createAsset(BASE_OUTPUT_FOLDER_PATH + "/"+ reportConfig.getReportFormBean().getReportName(), is,
"text/csv", true);
Solved! Go to Solution.