Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Jeder vertrauenswürdiger Excel Services-Speicherort in dem Anbieter für gemeinsame Dienste verfügt ein AllowUdfs-Flag.
Hinweis
Das AllowUdfs-Flag wird durch die Option Benutzerdefinierte Funktionen sind zugelassen auf der Seite „Vertrauenswürdige Dateispeicherorte von Excel Services“ bezeichnet.
The default AllowUdfs value is false. If the AllowUdfs value is set to false in a particular trusted location, the workbooks in that trusted location are not allowed to call UDFs.
In order to allow UDFs to be called from a specific trusted location, you set the AllowUdfs value to true.If the AllowUdfs value is false when a session is started on a workbook that has UDF calls in this trusted location, the UDF calls will fail. If you change the AllowUdfs value to true after a session has started, the UDF calls will also fail. This is because changes in the AllowUdfs flag take effect on the next session, after the configuration database has been updated.You can get around this by restarting the sessionfor example, by selecting Reload Workbook in Excel Web Access.
Vorsicht Wenn Sie stattdessen die Microsoft-Internetinformationsdienste (IIS) zurücksetzen, werden alle aktuelle Sitzungen beendet.
Aktivieren von UDFs
To do the following steps, you need a computer that has Microsoft SharePoint Server 2010 installed.
To enable UDFs
On the Start menu, click All Programs.
Point to Microsoft Office Server and click SharePoint Central Administration.
On the Quick Launch, click your Shared Services Provider (SSP) linkfor example, "SharedServices1"to view the Shared Services home page for that particular SSP.
Under Excel Services Settings, click User-defined functions.
On the Excel Services User-Defined Functions page, click Add User-Defined Function to open the Excel Services Add User-Defined Function Assembly page.
In the Assembly box, type the path to the UDF assembly. Beispiel: C:\MyUdfFolder\MyUdf.dll.
Under Assembly Location, click Local file.
Hinweis
Die Option Lokale Datei wird in künftigen Versionen von Excel Services durch Dateipfad ersetzt. Wählen Sie dann stattdessen „Dateipfad“ aus. Wenn Dateipfad angezeigt wird, wählen Sie dies aus.
Under Enable Assembly, the Assembly enabled check box should be selected by default.
Klicken Sie auf OK.
Zulassen von UDF-Aufrufen
So lassen Sie zu, dass UDFs von einer Arbeitsmappe aus ausgerufen werden können
Open the Excel Services Add Trusted File Location page (if you are adding a new trusted location) or Excel Services Edit Trusted File Location page (if you are editing an existing trusted location).
Hinweis
Weitere Informationen zum Festlegen eines Speicherorts als vertrauenswürdig finden Sie unter How to: Trust a Location.
Under Allow User-Defined Functions, select User-defined functions allowed to allow UDFs to be called from workbooks stored in this trusted location.
Klicken Sie auf OK.
Siehe auch
- Schritt 3: Bereitstellen und Aktivieren von UDFs
- How to: Create a UDF That Calls a Web Service
- Gewusst wie: Festlegen eines vertrauenswürdigen Speicherorts
- Schritt für Schritt: Entwickeln eines UDF auf Basis von verwaltetem Code
- Frequently Asked Questions About Excel Services UDFs
- Understanding Excel Services UDFs
- Excel Services Alerts
- Excel Services Known Issues and Tips
- Bewährte Methoden für Excel Services