There are a few ways of accessing an XDP in the LiveCycle Repository.
One of them is to specify a URI at project design time, in which case the URI will look like this:
However, if you want to specify the URL at run time, you would need to populate a variable.
The face of thge URL changes to:
$varname = “repository:///Applications/AppName/1.0/hierarchy/yourfile.xdp”
The server name and port remain specified in the Select Template dialog, under Runtime Repository.