Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
triphook
Contributor
Contributor

Populating a column within a ScriptEval?

I'm loading a number of datasets and would like to create a column each one with a unique identifier. This code fails:

 

Load * Extension GeoOperations.ScriptEval('
SELECT geometry as Geometry, field1 as Field1, "table1" as Table_ID

FROM

Load()
DATASOURCE dataset GEOFILE url="my_url", type="esriJson", expectedGeomType="point", crs="auto"
');

 

While the same syntax (SELECT  "table1" as Table_ID) works in normal usage.

Labels (5)
0 Replies