Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I am trying to fetch all possible selection of a filter using capabilities APIs, i am using webIntegrationId.sharing my mashup code below.
import { useEffect, useState } from "react"; import { host, webIntegrationId } from "../utils/constants"; export const useQlikApp = (appId: string) => { const [app, setApp] = useState<any>(); const [qlik, setQlik] = useState<any>(); useEffect(() => { const config = { host, prefix: "/", port: 443, isSecure: true, webIntegrationId: webIntegrationId, }; (window.require as any).config({ baseUrl: `https://${config.host}/resources`, webIntegrationId: config.webIntegrationId, accessTokenStorage: "session", }); (require as any)(["js/qlik"], (qlik: any) => { const appInstance = qlik.openApp(appId, config); setApp(appInstance) setQlik(qlik) qlik.on("error", (error: any) => console.error(error)); }); }, []); return [app, qlik]; };
i have tried to to follow below solution but still i am not getting filter options in ithttps://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-API-read-possible-values-of-a-sp...For Example, In my case i have a filter Year and it has selection options like [2022, 2023, 2024, 2025]. and i want to get these filter option values from qlik in my react app.Please help me here.Regards