Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello,
The "im issues" command with queryDefinition (producing a user-defined query or a quick query) works in these two cases:
WEB URL: http://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
CLI: im issues --queryDefinition=(field[ID]=448471)
But not in the GUI URL case (error MKS154475 Incorrect URL format is generated):
integrity://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
I saw here that may be double encoding is required, so I tried this:
integrity://server/im/issues?queryDefinition=%2528field%255BID%255D=448471%2529
but it still generates error MKS154475 Incorrect URL format.
Appreciating your support.
Mohamed
Solved! Go to Solution.
After some trials and errors found the solution, the "=" sign in the queryDefinition section must be also encoded for the GUI URL to work.
integrity://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
For WEB URL, encoding it or leaving it unencoded works (hence the confusion).
http://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
http://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
Mohamed
After some trials and errors found the solution, the "=" sign in the queryDefinition section must be also encoded for the GUI URL to work.
integrity://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
For WEB URL, encoding it or leaving it unencoded works (hence the confusion).
http://server/im/issues?queryDefinition=%28field%5BID%5D=448471%29
http://server/im/issues?queryDefinition=%28field%5BID%5D%3D448471%29
Mohamed