29.12.09

ADAM for External Collaboration Toolkit for SharePoint (ECTS)

These notes are in addition to http://technet.microsoft.com/en-us/library/cc296362.aspx

These are the notes I generated that I used in overlay with the installation instructions. 

  1. Make sure Cert Server is installed and available
  2. Configure a certificate for ADAM
  3. Run ADAM setup from internet
    · Add/Remove only works if you have the OS disk
  4. Create DNS entries
    · For example: collab and collab.external
  5. Create Collab web app
  6. Reset IIS
  7. Create email address (e.g. SharePoint@yourdomain.com)
  8. Extend to an SSL external (e.g. collab.external)
  9. Create a site collection on the web application
  10. Run ADAM script that comes with kit
  11. Change the ADAM Service account
  12. Run database script
  13. Run SPScript
    Note: ADAM ports are typically 389, 636 or 50000, 50001
  14. Request IIS Cert

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9688f8b9-1034-4ef6-a3e5-2a2a57b5c8e4

http://cks.codeplex.com/wikipage?title=External%20Collaboration%20Toolkit%20for%20SharePoint%20%28Community%20Edition%29

30.11.09

Filtrare una lista per gruppo

Modificando una vista di SharePoint tramite SharePoint Design è possibile filtrare gli Item della lista, permettendo di visualizzare:

  • tutti gli item associati all’utente connesso e
  • tutti gli item associati ad un gruppo di SharePoint a cui l’utente appartiene.

In seguito i passi da seguire per effettuare la modifica:

  1. Creare la lista su Sharepoint
  2. Creare una vista filtrata temporaneamente per una qualsiasi campo
  3. Aprire la vista con Sharepoint Designer e cercare il campo where
  4. Cercare il tag “<ListViewXml”
  5. Cercare l’attributo Where
  6. Sostituire tutta le string compresa tra “&lt;Where” e “Where&gt;” con la stringa:

    &lt;Where&gt;&lt;Or&gt;&lt;Membership Type="CurrentUserGroups"&gt;&lt;FieldRef Name="UserAndGroup"/&gt;&lt;/Membership&gt;&lt;Eq&gt;&lt;FieldRef Name=&quot;UserAndGroup&quot;/&gt;&lt;Value Type=&quot;Integer&quot;&gt;&lt;UserID Type=&quot;Integer&quot;/&gt;&lt;/Value&gt;&lt;/Eq&gt;&lt;/Or&gt;&lt;/Where&gt;
  7. Sostituire “UserAndGroup” con il nome del campo della lista in cui è contenuto il nome utente/nome gruppo in cui filtrare (UserAndGroup deve essere un campo di tipo “User And Group”)

Esempio:

  1. Inserisco nella lista un item con campo UserAndGroup contenente come valore “DOMINIO\GRUPPETTO”
  2. Mi collego alla lista con un utente membro del gruppo “DOMINIO\GRUPPETTO”, vedrò tutti gli item con campo UserAndGroup contenente come valore “DOMINIO\GRUPPETTO”