Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Need to remove the TWX login popup once i open any mashup- Is there any way with which i can access the mashup directly without having the pop which ask for the TWX server credentials.
Basically i want to open any mashup without the TWX server credentials popup (attaching the screenshot as well). Can i pass those details with the url or do some changes in the backend (apache). Have already tried using app key but it does not solve the issue.
Please help....
Can use application key to access mashups but not recommended.
Thanks,
Sathishkumar C.
Hi Satish,
Thanks for your reply. I have already tried using it and it works fine if i have already logged into TWX IDE else it will ask the same details.
But in my case i will be directly hitting the Mashup url directly without accessing the TWX IDE server. As i will be sharing the same url to my mates to show the demo to others.
Regards,
Saddam
This can be done with an appKey, as discussed above, as long as you have enabled in your PlatformSettings subsystem configuration (or are passing the appKey as the header.)
The API call / link given should look like:
http<s>://<host:port>/Thingworx/Mashups/<mashupName>?appKey=<key>&x-thingworx-session=true<&optionalMashupParams>
The User for the Application Key will need proper credentials to load the mashup and any services, styles, etc, therein.
Hi James,
I Have also tried with Appkey. It will only work till I am logged into the TWX server/Composer. It won't work when I log out from the Composer.