Skip to main content
12-Amethyst
December 26, 2021
Question

ReadCSVFile has used in service with a infotable property_querypropertyhistory result has no data

  • December 26, 2021
  • 2 replies
  • 1709 views

HI ALL,

created a valuesteam and created a thing with infotable(LOgged &persistence).
while using querypropertyhistory ,i'm unable see the result with timestamp has no data with infotable
help me out this.

below code:
let params = {
path: "EMDATA.csv" /* STRING {"defaultValue":"/"} */,
columnMappings: undefined /* STRING */,
hasHeader: undefined /* BOOLEAN {"defaultValue":false} */,
longitudeField: undefined /* NUMBER */,
dateFormat: "dd.MM.yyyy HH:MM" /* STRING */,
fileRepository: "EMthing" /* THINGNAME */,
latitudeField: undefined /* NUMBER */,
fieldDelimiter: undefined /* STRING {"defaultValue":","} */,
stringDelimiter: undefined /* STRING {"defaultValue":"\""} */,
dataShape: "EMDATASHAPE" /* DATASHAPENAME */
};
// result: INFOTABLE
let result = Resources["CSVParserFunctions"].ReadCSVFile(params);
please find the attachment given below for the references.

2 replies

15-Moonstone
December 27, 2021

Hi Hareef,

 

When you logged an infotable property, do check the advance logged settings. See if you choose logtype as always or something else.

Regards

Shyam

H_123412-AmethystAuthor
12-Amethyst
January 4, 2022

HI Shyam,
as you mentioned i tried the possibility logtype(always).
but i'm unable to obtain.


regards,
Hareef

Support
January 12, 2022

Hi @H_1234.

 

For troubleshooting, go to the EMthing and check the permissions on the folder and on the file to be sure there isn't an override. 

 

Regards.

 

--Sharon