This project has moved and is read-only. For the latest updates, please go here.

Assign Content to Yourself Question

Topics: Developer Forum
Sep 9, 2006 at 8:00 PM
Is it possible to have a single document library where all content is stored and assigned to child-sites, and also have the ability for users to self-assign content from that master library and tracked based on a child-site (where the content dosen't actually live)?

It seems that users have to "come up" to the parent site to self-assign content, which tracks the assignment as a part of that parent site.

Is it possible to build a link to self-assign a piece of content from that parent library but have it tracked as coming from a child-site?

- Nick MSFT

Sep 11, 2006 at 8:50 PM
Hi Nick,

As you noted, SLK scopes self-assignments to the site that contains the content. This is done mainly to simplify and streamline the self-assignment scenario since the user doesn’t need to specify the distribution of the assignment.

What you are describing may be possible with the SLK API and a customization. We have not tested the scenario, but you should be able to use SlkStore.CreateAssignment to create a self-assignment where the package location is different than the assignment SPWeb. You could add a way for the learner to select the site, or maybe you could automatically set the SPWeb based on separate user information or a list you manage.

Sep 12, 2006 at 11:47 PM
Cool, I think this would be a fairly straightforward customization in our scenario.

None of our users are in groups (too many accounts, too much turnover, too hard to manage) but the naming convention used for their usernames allows us to determine the org and location they blong to, which is what we would like to track with the assignments.

- Nick MSFT
Sep 13, 2006 at 1:19 AM
Another question...

You guys use the GUID to track sites with assignments correct? So there has to be a valid site to go along with every assignment?