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

Maurer, Christopher Wayne chmaurer at iupui.edu
Wed Jul 28 06:38:57 PDT 2010


We could easily add the site id to be dumped out in the xml if it's not available in any other way.

Chris

On Jul 28, 2010, at 8:04 AM, Sean Keesler wrote:

> 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?
> 
> 
> Sean
> _______________________________________________
> portfolio mailing list
> portfolio at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/portfolio
> 
> TO UNSUBSCRIBE: send email to portfolio-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/portfolio/attachments/20100728/9529875b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/portfolio/attachments/20100728/9529875b/attachment.bin 


More information about the portfolio mailing list