[Portfolio] getting current user's userId
David McPherson
dmcphers at vt.edu
Thu May 12 08:42:17 PDT 2011
Hi Erica,
Hmm...that would be good, but I'm not finding that in my form data. I've attached a form to a passthrough renderer and captured that with out finding the id. I've also hooked the form up to a portfolio template and run that through a passthrough with no luck again.
I'm looking for the id at the point where the user is filling out the form to create the portfolio. Is there something I should be putting in my xsd to capture that? I may have left out something in that case.
Thanks,
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David McPherson
Assistant Director, ePortfolio Initiatives
2210A Torgersen Hall
Learning Technologies
dmcphers at vt.edu
540-231-8993
On May 12, 2011, at 11:31 AM, Ackerman, Erica wrote:
> It sounds like what you are looking for is present in the metadata of each form and viewed portfolio. In forms you want:
>
> /formView/formData/artifact/metadata/repositoryNode/owner/id or eid
>
> In a completed portfolio, you are looking for:
>
> /ospiPresentation//artifact/metadata/repositoryNode/owner/id or eid
>
> In a completed portfolio, the metadata will be available for each artifact, rather than once for the portfolio as a whole.
>
> Let me know if you are really looking for something else.
>
> Erica
>
> -----Original Message-----
> From: portfolio-bounces at collab.sakaiproject.org [mailto:portfolio-bounces at collab.sakaiproject.org] On Behalf Of David McPherson
> Sent: Thursday, May 12, 2011 11:23 AM
> To: portfolio at collab.sakaiproject.org
> Subject: [Portfolio] getting current user's userId
>
> Hi All,
>
> I'm attempting to develop a new gallery rendering page and I find that I need to be able to access the current user's my workspace. I think I can do this if I can know their user id. Does any one know of a way to get this without having to ask the user for their id?
>
> Thanks,
> Dave
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> David McPherson
> Assistant Director, ePortfolio Initiatives
> 2210A Torgersen Hall
> Learning Technologies
> dmcphers at vt.edu
> 540-231-8993
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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