[Portfolio] Decorated URL's for attached portfolio files (SAK-16203)

Sean Keesler sean.keesler at threecanoes.com
Wed Jul 28 05:04:14 PDT 2010

I'm trying to get an image that a user attaches to a form to appear in
public portfolios. The url provided in the passthrough XML is not a public
url and so must be decorated with security advisor info to allow it to be
seen. Chuck posts a suggested workaround in SAK-16203:

*It isn't elegant, but I've fixed this in the XSL file by prefixing the
advisor to the URL. The data is all there. The two magic numbers are the
site ID, which is fixed for a given portfolio, and the portfolio ID, which
is a parameter $id. It uglifies the XSL file somewhat, but this approach
seems to work. *

The link to a public portfolio includes the "id" and "
sakai.tool.placement.id" in the query string and can be captured as
parameters in the xsl, but the site id is not provided in the query string
nor in the passthrough XML.

Can anyone suggest a means to get the site ID to do as Chuck suggests?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/portfolio/attachments/20100728/eab10532/attachment.html 

More information about the portfolio mailing list