Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Highlighted
rangam_s
Contributor II

how to find my qlik-sense xrefkey?

Hi All,

Can anyone provide me instruction to see my qliksese server xrefkey?

Thanks in advance for your time.

Rangam

Tags (3)
1 Solution

Accepted Solutions
Khan_Mohammed
Honored Contributor II

Re: how to find my qlik-sense xrefkey?

I guess xrefkey is used for header or proxy....

It is not pre defined in Qlik. You have to create your own matching xrefkey

https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/Reposit...

how to generate Xrfkey in qlik sense

3 Replies
Khan_Mohammed
Honored Contributor II

Re: how to find my qlik-sense xrefkey?

I guess xrefkey is used for header or proxy....

It is not pre defined in Qlik. You have to create your own matching xrefkey

https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/Reposit...

how to generate Xrfkey in qlik sense

rangam_s
Contributor II

Re: how to find my qlik-sense xrefkey?

Thanks, then may I know why my script is not returning any value it is keep loading after running this.

$hdrs=@{}

$hdrs.Add("X-Qlik-xrefKey","ABCDEFG123456789")

$hdrs.Add("X-Qlik-User","UserDirectory=DESKTOP-A7R270Q;UserId=gis-11")

$cert=Get-ChildItem -Path "cert:\CurrentUser\My" | where {$_.Subject -like "*qlik*"}

$url="http://desktop-a7r270q:4747/qrs/app/about?xrefkey=ABCDEFG123456789"

Invoke-WebRequest -uri $url -Method get -Headers $hdrs -Certificate $cert