why do Baseline URL shows different views in Web and Eclipse?
https://l*:9443/ccm/resource/itemOid/com.ibm.team.scm.Baseline/_4Kci0wlYEeWvWq64jXWwMA this is baseline url which when user pastes in the browser opens up the Repository view of the Baseline.
Programmatically when user passes url
URI uri = URI.create(url);
StandardContextProvider contextProvider = new StandardContextProvider(null);
Hyperlinks.open(uri, contextProvider);
StandardContextProvider contextProvider = new StandardContextProvider(null);
Hyperlinks.open(uri, contextProvider);
it opens the properties view of baseline .why is that views are different for same url?
One answer
This is because prior to RTC 6.0 we had no 'baseline properties' page in the Web UI.
This was added in Web UI for displaying a baseline (343462)
Now when you open the URL (whether in Eclipse or the Web), you will be presented with a baseline page which shows information such as:
-baseline name
-baseline ID
-component
-baseline creator
-creation date
-description
-baseline hierarchy
The Web UI also provides tabs for "Repository Files", "History", "File Links" (which can also be explored in Eclipse via various context menu actions on the baseline)
Comments
Donald Nong
May 29 '17, 12:06 a.m.I doubt it's different. The browser will automatically redirect to new pages when such URL is requested. So your code needs to do something similar.
vijayakumar ramesh
May 29 '17, 9:40 a.m.I have tested it, when user pastes url , https://l*:9443/ccm/resource/itemOid/com.ibm.team.scm.Baseline/_4Kci0wlYEeWvWq64jXWwMA
in th browser (i dont know happens within browser) it opens up the Repository files view of Baseline.
but when program trys to open this same url in the client, it shows properties view.