Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
rangam_s
Creator II
Creator 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

1 Solution

Accepted Solutions
MK9885
Master II
Master II

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

View solution in original post

3 Replies
MK9885
Master II
Master II

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
Creator II
Creator II
Author

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