Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

cancel
Showing results for 
Search instead for 
Did you mean: 
nd_porter
Contributor
Contributor

Qlik Sense hub and qmc shortcuts on desktop not working after URL or port number change

Hello,

first time installing Qlik. There was a port conflict on 443 with another program. I turn that off and got into QMC, changed the port to 444 and that works fine; but only when opening it on localhost:444/qmc (same with localhost:444/hub)

Now the shortcuts aren't working. The URL for the shortcuts are 'server.domain.local/qmc' and show 404

How can I change the default shortcuts to open from 'localhost:444/qmc'

Help here much appreciated!

Labels (3)
1 Solution

Accepted Solutions
Sebastian_Linser

Hello,

 

you could use this batch file to update the links on the desktop. 

 

 

echo off
echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = "c:\users\public\desktop\test.lnk" >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "https://localhost:444/qmc" >> CreateShortcut.vbs
echo oLink.Description = "Qlik QMC Port 444" >> CreateShortcut.vbs
echo oLink.IconLocation = "%SystemRoot%\Installer\{C39B2056-D98C-4D90-80C4-CFD07F1278D2}\Icon_QMC" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs
cscript CreateShortcut.vbs
del CreateShortcut.vbs

 

 

 

You adjust the:

  • sLinkfile, name of the file will be shown on desktop (in the example here its "test")
  • TargetPath, which is the link you want it to point to
  • Description, if you hover over with the mouse
  • IconLocation, this one i copied from the existing icon of the old link. The value above is from Sense Nov 2020, but might be the same for others as well.

best regards

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

1 Reply
Sebastian_Linser

Hello,

 

you could use this batch file to update the links on the desktop. 

 

 

echo off
echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = "c:\users\public\desktop\test.lnk" >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "https://localhost:444/qmc" >> CreateShortcut.vbs
echo oLink.Description = "Qlik QMC Port 444" >> CreateShortcut.vbs
echo oLink.IconLocation = "%SystemRoot%\Installer\{C39B2056-D98C-4D90-80C4-CFD07F1278D2}\Icon_QMC" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs
cscript CreateShortcut.vbs
del CreateShortcut.vbs

 

 

 

You adjust the:

  • sLinkfile, name of the file will be shown on desktop (in the example here its "test")
  • TargetPath, which is the link you want it to point to
  • Description, if you hover over with the mouse
  • IconLocation, this one i copied from the existing icon of the old link. The value above is from Sense Nov 2020, but might be the same for others as well.

best regards

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂