Hi Dojo,
In my QAction I have a lookup table inside a folder named "samples". The folder is inside the qaction_x folder. What is the path to read the file from inside this folder? Because the string "samples\filename.csv" doesn't work.
Thank you.
Hi Marco,
Could you elaborate a bit more your question?
Are you trying to read a file in a folder through a QAction? Where the folder is located? Is it available in the DMA? Is it available in a remote path?
Hi Miguel,
the file is in project_name -> QAction_3 -> samples -> file.csv.
I don't know if it's available, I'm trying to make that. I can read the file by putting it in "C:\Skyline DataMiner\SharedItems", but I would like t to put it in a custom folder as described above. What is the best solution to do this job?
This code works
string filePath = @"C:\Skyline DataMiner\SharedItems\ChannelTable.csv";
This code don't works
string filePath = @".\samples\ChannelTable.csv";
Thank you
Hi Marcos,
Regarding the example that does not work, this is a relative path. As far as I know this will not work. You will need to define the full path.
On a side note, I will avoid using the folder C:\Skyline DataMiner\SharedItems. If you plan to share this file across different DMAs in a cluster, it is better to use C:\Skyline DataMiner\Documents. If you plan to access to that file only from a specific DMA, you could use a different folder in the server (e.g. C:\Skyline_Data)
Hope it helps.
Anybody??