Data Mapping cfxdm - dm:savedlist
List named datasets
Last updated
List named datasets
Last updated
dm: savedlist: This dm function allows the user to list the saved named datasets.
dm: savedlist syntax: It doesn't require any arguments
This tag is typically used along with the dm: save
Use dm: savedlist tag to list saved named datasets. Use dm: save function to save dataset for incidents.csv as explained in dm: save section. Once the dataset is saved using dm: save, dm: savedlist is used to list the saved datasets.
Step 1: Use dm: savedlist to check the logical datasets that were used to store the data using dm: save function as shown in the following screenshot.
Create a pipeline "dm_saved_example_1" and copy the below code into your pipeline and execute that in your environment.
##### This pipeline loads incidents.csv file into AIOps Studio.
##### AIOps studio stores the data loaded from incidents.csv file
##### into local dataset named 'incident-summary'.
##### prints the data that was stored
@files:loadfile filename = "incidents.csv"
--> @dm:save name = 'incidents-summary'
--> @c:new-block
--> *dm:savedlist
Step 2: Verify that the incidents-summary dataset is part of the dm:savedlist call as shown in the below screenshot.