Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Customers, Partners & Luminaries only: You're invited to a Data Analytics Roadmap session. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Engine API selecting a field value

Hi,

I've recently started to create Mashups using the Engine API. Can someone tell me how i select a value of a field in the Qlik sense app using the Engine API?

e.g. I have a field in my Qlik Sense App called CustomerID and i want to select where CustomerID = 1 

Many thanks

Andy

2 Replies
Highlighted

Use GetField to get a field object,  then there are some different methods:

Highlighted
Contributor III
Contributor III

Thanks for your reply Eric 

I'm trying this but to no avail 

app.getField('CustomerID ')
.then((result) => result.selectValues(10000067)
)

error :

JSON parse error
at Intercept.errorResponseInterceptor (error-response-interceptor.js:1

Do you know what i'm doing wrong?

 

Thanks 
Andy