- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I still get the same error. I can confirm the path using the querdef method which is described in fileRes dataschema. The following gives the path of a file which has the id/primary-key as 4216 in the file resource directory.
var query = xtk.queryDef.create(
{queryDef: {schema: "xtk:fileRes", operation: "get",
select: {
node: [{expr: "@fileName"}]
},
where: {
condition: {expr: "@id = 4216"}
}
}})
var fileRes = xtk.fileRes.create(query.ExecuteQuery())
logInfo(fileRes.fileName);