Posts

Showing posts with the label word

Sharepoint 2010 - Impersonate issue in Office and SP2010 when editing Document?

There's a strange behaviour in SharePoint 2010 with Office and impoersonate users. The Scenario: User A is logged into Windows. User A opens SharePoint 2010 site and then signs in under a different user (User B). The user (now logged in as User B in SharePoint) edits a Word document which is required to be checked out. User B checks out document in SharePoint 2010 But when Word opens, a message is displayed saying 'This document is checked out by User B'. or User B opens Word document, client Word opens and ask for check-out. User checks out document in Word But when user try to save, an error message is displayed and in Sharepoint user see that document is checked out by User A. The Word document should be able to be edited because the user context from SharePoint sent to Word should be as User B not User A. It seems that Word is still opening up as User A and because the document is actually checked out to User B it can't be edited. The answer is ...

Sharepoint 2010 - Aggiungere bottone al Ribbon : aprire nuovo Documento da Template

Image
Ecco una cosa interessante. Aggiungere nuovi bottoni al Ribbon di una lista, in Sharepoint 2010, è abbastanza semplice. Ho già scritto come farlo con ancora più facilità, tramite lo Sharepoint Designer 2010 ( clicca qui ). Ora, vediamo come aggiungere una azione personalizzata al bottone in modo che replichi le funzionalità di bottoni già esistenti. Lo scenario è questo. Siamo in una Document Library. Cliccando sulla lista, viene visualizzato il Ribbon della lista. Nella sezione Documents, a sinistra, abbiamo il bottone New. Se abbiamo più Content Type (e template) per i Documenti, vedremo una tendina con la scelta del nuovo Documento da creare. Se configurato per l'esecuzione sul Client dell'utente, al click su, ad es, New Template1, viene avviato MS Word con il template in oggetto. Ma se volessimo creare un nuovo bottone sul Ribbon che faccia da solo questo? In altre parole: non voglio cliccare su New, per poi selezionare dalla tendina quello che serve. Voglio ...