Domanda

Sono piuttosto nuovo per SharePoint, quindi mi scuso se questo è troppo semplice!

Ho bisogno di creare una raccolta documenti in Foundation 2010 per la conservazione del G-Code ( .nc) file. Voglio avere il nuovo e modificare il lancio funzionalità locale editor di codice G dell'utente se disponibile o un rich-text editor di in-browser, se non (i file .NC sono file di testo solo, per quanto ne so).

Ho trovato un sacco di informazioni che le chiamate per l'utilizzo dei modelli di documento, ma molto poco consiglio su come creare uno e io sono in perdita su come meglio creare una libreria di documenti G-Code che si adatta quello che sto cercando di fare. Puntatori e suggerimenti sono molto apprezzati.

Grazie!

È stato utile?

Soluzione

Good question! Interesting one also!

I would start by reading this article on how to create a DocumentTemplate and see if it fits your needs. That would make your .nc file to open in the right application. The only problem is that I don't think you can poll the client computer to see if the required application is installed. Microsoft does it by creating an ActiveX that does the check.

For the in-browser editing software, you will need to build some CustomAction that would allow the user an option like "Edit in the browser" in the Edit Control Block (ECB). That custom action would lead to a custom Application Page that would be the browser editor. By passing the ItemId and the ListId in the URL, you will be able to get the item and to display in a custom editor that you would build. You can find some of those editors here.

Enjoy !

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top