[Building Sakai] My Workspace update

Steve Swinsburg steve.swinsburg at gmail.com
Thu Apr 15 23:26:44 PDT 2010


Rather than checking on site title, try using siteService.isUserSite(siteid). e.g.

siteService.isUserSite("~0902fd0f-5f57-4bcf-855e-3df48545276e");

If you modify and it works well, submit it to JIRA and I'll check it out for inclusion/replacement of the current one, because only searching internal users is a limitation.

cheers,
Steve


On 16/04/2010, at 5:18 AM, Paul Dagnall wrote:

> Thank you for all the suggestions!
> 
> The problem I'm having with the new web service is that we use provided users with LDAP logins. These users are not stored in the SAKAI_USER table and so the UserDirectoryService.getUsers() call does not give me our real users which live in SAKAI_USER_ID_MAP. 
> 
> Miguel had sent me a web service that loops through the sites rather than the users. I may try modifying it to only update sites with My Workspace in the title (excluding special cases). 
> 
> I tried Adam's big delete approach and that worked on my dev box, and I certainly could do it that way, but I'm a bit nervous doing it in production.
> 
> Thanks.
> 
> Paul
> 
> On Wed, Apr 14, 2010 at 5:25 AM, Adam Marshall <adam.marshall at oucs.ox.ac.uk> wrote:
> or change the my workspace template then use SQL to drop all exisiting workspaces. The updated workspaces will appear in place of the old ones, no data will be lost.
> 
>  
> adam
> 
>  
> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Miguel Carro Pellicer
> Sent: 13 April 2010 16:30
> To: Paul Dagnall
> Cc: sakai-dev
> Subject: Re: [Building Sakai] My Workspace update
> 
>  
> Hi Paul.
> 
> We do that with axis (WebServices), developing a Java Desktop Application which adds the page in all workspaces, and adds the tool in each page.
> 
> You have to use the webservices located at SakaiScript.jws.
> 
> Hope this helps, Miguel.
> 
> 
> 
> 
> El 13/04/2010 17:13, Paul Dagnall escribió:
> 
> Hi
> What is the best way to add a tool page to everyone's existing "My Workspace" page?
> Thank you!
> 
> Paul Dagnall
> Web Developer
> University of Dayton
> 
>  
>  
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>  
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>  
> -- 
> 
> 
> <image001.jpg>
> 
>  
> 
> Miguel Carro Pellicer
> 
> mcarro at pentec.es
> 
> +34 - 96 393 74 33 ext. 32
> 
> www.samoo.es
> 
>  
> Este  correo  y  sus archivos asociados son privados y confidenciales y va dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en  conocimiento del emisor. La difusión por cualquier medio del contenido de  este  correo podría ser sancionada conforme a lo previsto en las leyes españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal.  No  se autoriza la utilización con fines comerciales o para su incorporación a ficheros automatizados de las direcciones del emisor o del destinatario.”
> 
>  
> This mail and its attached files are confidential and are only and exclusively intended to their addressee. In case you may receive this mail not being its addressee, we beg you to let us know the error by reply and to proceed to destroy it. The circulation by any mean of this mail could be penalised in accordance with the Spanish legislation. Is not allowed the use of both, the transmitter and the addressee’s, address with a commercial aim, or in order to be incorporated to automated data process or to any kind of files.
> 
>  
> P Antes de imprimir este correo electrónico piense bien si es necesario hacerlo. El medioambiente es cosa de todos.
> 
>  
>  
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100416/5ff9f1d3/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3689 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100416/5ff9f1d3/attachment.bin 


More information about the sakai-dev mailing list