Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
This walkthrough describes the process for developing Servicios de Excel user-defined functions (UDFs) using Microsoft Visual C#.
During this walkthrough, you will learn how to:
Create a project using the Microsoft Visual Studio 2005 class library project template.
Add a reference to Microsoft.Office.Excel.Server.Udf.dll.
Write UDFs for use in Servicios de Excel.
Create a workbook to call custom functions from cells.
Test and run UDFs in Servicios de Excel.
Requisitos previos
Para poder completar este tutorial, necesitará:
Microsoft SharePoint Server 2010
Nota:
[!NOTA] The easiest way to get all you need on the server is to do a basic, stand-alone install. All you need to add on top of that is a trusted location.
Excel
Visual Studio o una herramienta de desarrollo compatible con Microsoft .NET Framework similar
Para habilitar la ejecución del ensamblado UDF
Una biblioteca de documentos de SharePoint de confianza en la que almacenar un libro y permitir que el libro llame a UDF estableciendo el valor AllowUdfs en true.
Libro de ejemplo que llama a la UDF almacenada en una biblioteca de documentos de SharePoint de confianza
Permisos para ver y publicar un libro en una biblioteca de documentos de SharePoint
Nota:
[!NOTA] For more information about setting permissions, see the Windows SharePoint Services 3.0 documentation.
Para crear el libro mediante Excel
Para guardar el libro como un archivo .xlsx o .xlsb
Nota:
[!NOTA] For more information about how to trust a location, how to enable UDFs, and how to set the AllowUdfs flag, see Step 3: Deploying and Enabling UDFs.
Vea también
- Step 1: Creating a Project and Adding a UDF Reference
- Step 2: Creating a Managed-Code UDF
- Step 3: Deploying and Enabling UDFs
- Step 4: Testing and Calling UDFs from Cells
- Crear una UDF que llame al servicio web
- Información sobre las UDF de Servicios de Excel
- Tutorial: Desarrollar una aplicación personalizada mediante Excel Web Services