[Portfolio] Matrix Portfolio Template --form attachment permissions

Hanrath, Scott shanrath at ku.edu
Mon Apr 27 08:55:28 PDT 2009

Thanks Sean.  I've already got the prepended "/access/content" in the URL -- but it still requires me to be logged in to view the file.

I've also made the form itself publicly available from within the Resources in My Workspace, but that doesn't seem to matter -- in fact, when I view the publicly available form directly (through the default renderer) when I'm not logged in, the link to the attachment disappears (it has a blank "href").

-- Scott

-----Original Message-----
From: Sean Keesler [mailto:sean at keesler.org] 
Sent: Monday, April 27, 2009 10:08 AM
To: Hanrath, Scott
Cc: portfolio at collab.sakaiproject.org
Subject: Re: [Portfolio] Matrix Portfolio Template --form attachment permissions

Try prepending "/access/content" to that url.

            <xsl:attribute name="src">
                <xsl:value-of select="//xpath/to/url"

Sean Keesler
130 Academy Street
Manlius, NY 13104

On Mon, Apr 27, 2009 at 10:51 AM, Hanrath, Scott <shanrath at ku.edu> wrote:
> Hi,
> I'm running into an issue in creating a portfolio template for a 
> matrix (Sakai 2.5.2).  My matrix cells contains a form with a slot for 
> an attachment.  When I create a portfolio using my template and and 
> make the portfolio available via public URL, the form attachments are 
> not publicly available.  The file link for the form attachment in the
> /ospiPresentation/matrix/artifact/cells/cell/wizardPage/pageForms/page
> Form/artifact/structuredData/form/file
> node looks like
> /attachment/site/Matrices/49e1ae01-1f6d-4a05-b95b-662b02a3ef09/attachm
> ent.ext
> The bug listed at http://bugs.sakaiproject.org/jira/browse/SAK-7397 looks similar (and fixed for a future release), but I can't tell if that applies only about cell attachments made via Select Items or if it covers files attached to cell forms.  I've tried to hack together a form attachment URL that looks more like the URLs for portfolio template supporting files, but haven't had any luck.  Has anyone experienced this? Are there any known work arounds for this problem?
> -- Scott
> _______________________________________________
> 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"

More information about the portfolio mailing list