I do not know what constraints wiki imposes on development. But if you can port an html file, the best path would be to write an html/javascript app using Rally AppSDK2rc3 which is based on Sencha's ExtJS framework. The learning curve can be a little steep if one does not have experience with javascript.Creating a dynamic URL with AppSDK2rc3 as I mentioned in my first post is a very common thing to do. Please start here (
https://help.rallydev.com/apps/2.0rc3/doc/).
Rally recommends developing and debugging apps externally first since it is faster than repeatedly copy/pasting code into a Rally Custom HTML Panel. When you build Rally apps using rally-app-builder (
https://help.rallydev.com/apps/2.0rc3/doc/#!/guide/app_builder)App-debug.html is generated that you can load directly in the browser. There is no need to create a custom webpage on a "rally server" as you said. After you finish building the app using "build" command, your final App.html or App-uncompressed.html inside "deploy" folder will have a relative url to SDK:
<script type="text/javascript" src="/apps/2.0rc3/sdk.js"></script>
since the assumption is that user going to paste that code inside a custom app in Rally. But since your goal is to run the app externally in a wiki (however you embed it there is another question) you want to change that url to a full path:
<script type="text/javascript" src="
https://rally1.rallydev.com/apps/2.0rc3/sdk.js"></script>I assume that the js code you will write will include a dynamic URL to Rally artifacts that you may construct using Rally.nav.Manager (
https://help.rallydev.com/apps/2.0rc3/doc/#!/api/Rally.nav.Manager) class.
After your app is done and runs successfully outside of Rally directly in the browser you will have to port it to your wiki system. Plesae note that running an app externally does not eliminate a need to authenticate. If a user is not currently login to Rally in another tab of the same browser window, when this user loads a Rally app externally a Rally authentication prompt will come up.
There is a new feature called ApiKey (
https://help.rallydev.com/rally-application-manager) that allows bypass the prompt, but it has to be used with caution. For example, it is recommended that the ApiKey is created for a specifically designated user that only has viewer rights. See "Embedding Apps" documentation here (
https://help.rallydev.com/apps/2.0rc3/doc/#!/guide/embedding_apps).
This does not mean that you have to use ApiKey. If it's ok that each user is prompted for Rally credentials when accessing your Rally custom app inside a wiki that is fine. The bottom line is that if you can embed an html inside wiki, then build a dynamic <a href> attribute that concatenates an id stored in a variable to a base url.