Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

Property panel Specific sheet Selection

Hi Every one ,

If i want to select particular Sheet means (Goto Specific Sheet) in the drop down menu, what are the Sheets will be there in that App Those Sheets will be displaying in Selection Sheet Drop Down menu @@as show in below picture.

Sheet.png

Regards,

Sai Madhu

Reddys310

1 Reply
reddys310
Honored Contributor II

Re: Property panel Specific sheet Selection

Hi Madhu,

I am assumming that you need the no of sheets in an app, with their ID'd.

So make use of this code:

paint: function ( $element, layout ) {

  //add your rendering code here

  debugger;

   var app=qlik.currApp();

   var cnt = 0;

  

   app.getAppObjectList("sheet",function(reply)

            {

            console.log(reply);

                var str = "";

                $.each(reply.qAppObjectList.qItems, function(key, value)

                {

   console.log(str);

                str += value.qData.title + ' ';

                if(currUrl.search("analysis") >-1)

                {

                  console.log(value.qInfo.qId);console.log(' - ');console.log(value.qData.title);

                }

                else

                {

                  console.log(value.qData.title);

                }

            cnt+=1;

              });

  

   console.log(cnt);

  

  });

 

  

  }

This will give you the list of all the sheets in an app.

Thanks and Regards,

Sangram Reddy.