id
stringlengths
14
16
text
stringlengths
2
3.14k
source
stringlengths
45
175
8b6c93712a71-13
// Specify the class that defines the renderer // web server control. The sample filter uses a native // PerformancePoint Services renderer. // Defaults to the value specified in the web.config file ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
8b6c93712a71-14
// Call the SelectedIndexChanged event directly to populate the // listbox control with preview data. dropdownlistDataSource_SelectedIndexChanged(null, null); } catch (Exception ex) { displayError("An error has o...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
8b6c93712a71-15
// Verify that the controls contain values. if (string.IsNullOrEmpty(textboxName.Text)) { labelErrorMessage.Text = "A filter name is required."; return; } if (dropdownlistDataSource.SelectedIndex == 0) { labelErr...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
8b6c93712a71-16
if (ClickOnceLaunchValues.CreateItem.Equals(action,StringComparison.OrdinalIgnoreCase)) { Filter newFilter = filterRepositoryHelper.Create( string.IsNullOrEmpty(filter.Location.ItemUrl) ? itemLocation : filter.Location.ItemUrl, filter); Vie...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
8b6c93712a71-17
// Define the BeginPoints property so the filter can send a parameter value to // scorecards and reports. // The value must be from the KeyColumn of the display // DataTable object, which is defined in the data provider. The data table is // returned by th...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
8b6c93712a71-18
// Retrieve data sources from the repository by using the DataSourceHelper // property to call the DataSourceConsumerHelper object. // If you modify the types of data source to retrieve, you must make the corresponding // change in the filter's data provider. // The param...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
8b6c93712a71-19
ClearStocksListBox(); FilterRepositoryHelper filterRepositoryHelper = (FilterRepositoryHelper)ViewState["filterrepositoryhelper"]; // Retrieve the first 100 rows of the preview data from the data source DataSet dataSet = filterRepositoryHelper.DataSourceHelper.GetDa...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-editors-for-performancepoint-services-in-sharepoint
86b8888b4c8d-0
Learn how to create the data provider component in a custom filter extension for PerformancePoint Services. What are custom data providers for PerformancePoint Services? In PerformancePoint Services, custom data providers retrieve data from a filter's underlying data source and define how to use the data. Most impo...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
86b8888b4c8d-1
You must sign your DLL with a strong name. In addition, ensure that all assemblies referenced by your DLL have strong names. For information about how to sign an assembly with a strong name and how to create a public/private key pair, see How to: Create a Public/Private Key Pair . Add the following PerformancePoi...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
86b8888b4c8d-2
Display The value that appears in the filter control. ParentKey This value is used to arrange hierarchical data in a tree control. IsDefault This value is used for filter persistence. Tip You can add more columns to extend the filter's functionality. GetDisplayDataInternal calls the DataSourc...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
86b8888b4c8d-3
namespace Microsoft.PerformancePoint.SDK.Samples.SampleFilter { // Represents the sample filter's data provider. public class SampleFilterDataProvider : CustomParameterDataProvider { // This value must match the key that you register for this extension // in the CustomParameterDataProviders...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
86b8888b4c8d-4
// Verify that the dataset contains data. if (retrievedDataSet != null && retrievedDataSet.Tables != null && retrievedDataSet.Tables.Count > 0 && retrievedDataSet.Tables[0]...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
86b8888b4c8d-5
return retrievedData; } // Adds the ShowColumn extended property to a column in the display data table // and sets it to true. This exposes the column in Dashboard Designer as // a source value for the beginpoint. private static void SetColumnVisibility(DataTable displayData) ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
86b8888b4c8d-6
// Returns the unique string identifier of the data provider. // This value must match the key that you register for this extension // in the CustomParameterDataProviders section in the web.config file. public override string GetId() { return dataProviderName; } ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-filter-data-providers-for-performancepoint-services-in-sharepoint
4c0f3de80841-0
Learn how to create the editor component of a custom report extension for PerformancePoint Services. What are custom report editors for PerformancePoint Services? In PerformancePoint Services, custom report editors enable users to set properties on custom reports. Report editors also initialize the report endpoint,...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-1
Microsoft.PerformancePoint.Scorecards.ServerCommon.dll Microsoft.PerformancePoint.Scorecards.Store.dll (used by helper classes) Microsoft.SharePoint.dll (used by helper classes) The sample editor also contains assembly references to System.Web.dll and System.Web.Services.dll. Depending on your extension's funct...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-2
Declare variables for the controls that expose the properties that you want users to view or modify. The sample report editor first declares variables for the web server controls that are defined in the user interface component, which is an ASPX page. The sample editor also defines a button control that enables users t...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-3
// The location of the report in the repository. string itemLocation = Request.QueryString[ClickOnceLaunchKeys.ItemLocation];
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-4
// The operation to perform: OpenItem or CreateItem. string action = Request.QueryString[ClickOnceLaunchKeys.LaunchOperation]; Note For information about the query string parameters, see Editors for Custom PerformancePoint Services Objects . Retrieve the ReportViewRepositoryHelper object, which is used...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-5
return; } } else if (ClickOnceLaunchValues.CreateItem.Equals(action, StringComparison.OrdinalIgnoreCase)) { reportview = new ReportView { RendererClassName = typeof(SampleReportRenderer).AssemblyQualifiedName, SubTypeId = "SampleReportView" }; } else { displayError("Invalid Action."); return; } ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-6
// The display name is shown to users in Dashboard Designer. // It represents the endpoint that can be connected // to a filter or scorecard. DisplayName = "Sample Report View EndPoint" }; reportview.EndPoints.Add(endpoint); } The sample editor defines the endpoint in the VerifyReportView method. ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-7
// Declare private variables for the ASP.NET controls defined in the user interface. // The sample's user interface is an ASPX page that defines the controls in HTML. private TextBox textboxName; private TextBox textboxDescription; private Label labelErrorMessage; private Button ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-8
// Retrieve the repository-helper object. reportviewRepositoryHelper = new ReportViewRepositoryHelper(); // Set the report location by using the location from the query string. RepositoryLocation repositoryReportViewLocation = Reposito...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-9
// Populate the child controls. textboxName.Text = reportview.Name.ToString(); textboxDescription.Text = reportview.Description.ToString(); } catch (Exception ex) { displayError("An error has occurred. Please con...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-10
// Save the report object to the PerformancePoint Services repository. try { reportview.Validate(); if (ClickOnceLaunchValues.CreateItem.Equals(action, StringComparison.OrdinalIgnoreCase)) { reportview.CreatedDate = DateTime.Now...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
4c0f3de80841-11
// Reports are consumers and do not use provider endpoints. reportview.BeginPoints.Clear(); // If there are no consumer endpoints, create one so we can connect a filter or a scorecard to the report. if (0 == reportview.EndPoints.Count) { EndPoint endpoint ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-editors-for-performancepoint-services-in-sharepoint
095266758c49-0
Learn how to create the renderer component in a custom report extension for PerformancePoint Services. What are custom report renderers for PerformancePoint Services? In PerformancePoint Services, custom report renderers are web server controls that render a custom report in a web part. A renderer writes the HTML f...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-renderers-for-performancepoint-services-in-sharepoint
095266758c49-1
Microsoft.PerformancePoint.Scorecards.Store.dll Depending on your extension's functionality, other project references may be required. In your renderer class, add using directives for the following PerformancePoint Services namespaces: Microsoft.PerformancePoint.Scorecards Microsoft.PerformancePoint.Sco...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-renderers-for-performancepoint-services-in-sharepoint
095266758c49-2
namespace Microsoft.PerformancePoint.SDK.Samples.SampleReport { // The class that define the sample report's renderer. public class SampleReportRenderer : ParameterizableControl { private ReportView reportView; private ReportView ReportView { get { ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-renderers-for-performancepoint-services-in-sharepoint
095266758c49-3
// Iterate through the user's selections sent by the filter. // The MultiSelectTreeControl filter control can send multiple // rows of data but other native controls send one message only. foreach (ParameterMessage message in BIDataContainer.ParameterMessages) ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-renderers-for-performancepoint-services-in-sharepoint
095266758c49-4
output.RenderBeginTag(HtmlTextWriterTag.B); output.Write(string.Format("EndPoint name is: {0}", message.Values.TableName)); output.RenderEndTag(); // B output.RenderEndTag(); // Td output.RenderEndTag(); // Tr outpu...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-renderers-for-performancepoint-services-in-sharepoint
095266758c49-5
// Get the report object. protected override Element GetElement(RepositoryLocation elementLocation) { ReportView rv = null; if (!RepositoryLocation.IsNullOrEmpty(elementLocation)) { rv = SPDataStore.GlobalDataStore.GetReportViewForExecution(elementLoca...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-report-renderers-for-performancepoint-services-in-sharepoint
27927dc0bcc6-0
Learn about the Machine Translation Service, which is a new service application in SharePoint that provides automatic machine translation of files and sites. Machine Translation Service overview Note In September 2018 it was announced that Machine Translation Services would be deprecated in SharePoint for...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-1
Shared components with Word Automation Services The Machine Translation Service architecture shares several components from the Microsoft Word Automation Services architecture. For more information about the Word Automation Services architecture, see Word Automation Services Architecture . The Machine Transla...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-2
The following code shows how to translate a single file asynchronously. SPServiceContext sc = SPServiceContext.GetContext(new SPSite(site)); TranslationJob job = new TranslationJob(sc, CultureInfo.GetCultureInfo(culture)); job.AddFile(input, output); job.Start();
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-3
The following code shows how to translate every file within a folder asynchronously. SPServiceContext sc = SPServiceContext.GetContext(new SPSite(site)); TranslationJob job = new TranslationJob(sc, CultureInfo.GetCultureInfo(culture)); using (SPSite siteIn = new SPSite(inputFolder)) { using (SPWeb webIn = siteIn...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-4
} } } Synchronous translation using the server object model You use the SyncTranslator class to request instant translation for files and streams. Translation requests that are made by using this class are not routed the same way as requests that are made by using the TranslationJob class. They are immedia...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-5
The following code shows how to translate a stream synchronously. SPServiceContext sc = SPServiceContext.GetContext(new SPSite(site)); SyncTranslator job = new SyncTranslator(sc, CultureInfo.GetCultureInfo(jobCulture)); FileStream inputStream = new FileStream(input, FileMode.Open); FileStream outputStream = new File...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-6
Permissions If the user who the translation request is running for can access the file to be translated, and that user can access the output location for the file, the user clears the security check and the file is translated. Using the Machine Translation Services client object model Machine Translation ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-7
Microsoft.Office.TranslationServices.TranslationJobInfo Microsoft.Office.TranslationServices.Client.TranslationJobInfo SP.Translation.TranslationJobInfo Microsoft.Office.TranslationServices.TranslationItemInfo Microsoft.Office.TranslationServices.Client.TranslationItemInfo SP.Translation.Transla...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-8
string culture = "cultureID"; string name = "translationJobName"; string inputFile = "http://serverName/path/inputFileName"; string outputFile = "http://serverName/path/outputFileName"; TranslationJob job = new TranslationJob(clientContext , culture); job.AddFile(inputFile , outputFile); job.Name = name; job.Start()...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-9
clientContext.ExecuteQuery(); //To retrieve the translation job ID. string jobID = job.JobId; To translate a single file synchronously: ClientContext clientContext = new ClientContext("http://serverName/sites/siteCollectionPath"); string culture = "cultureID" string inputFile = "http://serverName/path/inputFileNa...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-10
clientContext.ExecuteQuery(); To retrieve all the file name extensions that are supported by the Machine Translation Service: ClientContext clientContext = new ClientContext("http://serverName/sites/siteCollectionPath"); IEnumerable<string> fileExt = TranslationJob.EnumerateSupportedFileExtensions(clientContext);...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-11
To check the file size limit for a specific file name extension: ClientContext clientContext = new ClientContext("http://serverName/sites/siteCollectionPath"); clientResult<int> maxSize; maxSize = TranslationJob.GetMaximumFileSize(clientContext, "fileExtension"); clientContext.ExecuteQuery(); Machine Translation ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-12
var outputFolder = clientContext.get_web().getFolderByServerRelativeUrl("outputFilePath"); asyncJob.addFolder(inputFolder, outputFolder, true); asyncJob.set_name("translationJobName"); asyncJob.start(); clientContext.load(asyncJob); clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceededASyn...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-13
To retrieve all languages that are supported by the Machine Translation Service: var clientContext = new SP.ClientContext("serverRelativeUrl"); var contextSite = clientContext.get_site(); var result= SP.Translation.TranslationJob.enumerateSupportedLanguages(clientContext); clientContext.executeQueryAsync(Function.cr...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-14
Machine Translation Service REST service SharePoint includes a Representational State Transfer (REST) service that enables you to remotely interact with the Machine Translation Service application by using any technology that supports REST web requests. For general information about REST in SharePoint, see Use ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
27927dc0bcc6-15
To retrieve all the file name extensions that are supported by Machine Translation Service: http://serverName/_api/TranslationJob.EnumerateSupportedFileEXtensions To check whether a specific file name extension is supported: http://serverName/_api/TranslationJob.IsFileExtensionSupported('extension') To check th...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/machine-translation-services-in-sharepoint
a54a413fac77-0
The Excel Interactive View feature has been disabled. If you have inserted an Excel Interactive View into your webpage, you can remove it by removing the <script> tag and the placeholder <a> tags for the button from the HTML of your webpage. To remove the <script> tag, search for and delete the following HTML...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/removing-excel-interactive-view-from-a-webpage
a54a413fac77-1
Additional resources Theme ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/removing-excel-interactive-view-from-a-webpage
a54a413fac77-2
Additional resources In this article Theme ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/removing-excel-interactive-view-from-a-webpage
a54a413fac77-3
Contribute Privacy Terms of Use Trademarks © Microsoft 2023
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/removing-excel-interactive-view-from-a-webpage
cd57ff5a8135-0
You place the sections of code that might throw exceptions in a try block and place code that handles exceptions in a catch block. The order of catch statements is important. When an exception occurs, it is passed up the stack and each catch block is given the opportunity to handle it. The catch block that should handl...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-catch-exceptions
cd57ff5a8135-1
Console.WriteLine("Exception Message: {0}", e.Message) End Try You place catch blocks targeted to specific types of exceptions before a general exception. The common language runtime catches exceptions that are not caught by a catch block. Depending on how the runtime is configured, either a debug dialog box appears...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-catch-exceptions
cd57ff5a8135-2
// Set the path to the workbook to open. // TODO: Change the path to the workbook // to point to a workbook you have access to. // The workbook must be in a trusted location. // If workbookPath is a UNC path, the application // must be on the same computer as...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-catch-exceptions
cd57ff5a8135-3
catch (Exception e) { Console.WriteLine("Exception Message: {0}", e.Message); } Console.ReadLine(); } } } Imports System Imports System.Text Imports System.Web.Services.Protocols Imports ExcelWebService.myserver02 Namespace ExcelWebService Friend C...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-catch-exceptions
cd57ff5a8135-4
Dim rangeResult1() As Object = xlservice.GetRange(sessionId, sheetName, rangeCoordinates, False, outStatus) Console.WriteLine("Total rows in range: " &amp; rangeResult1.Length) Console.WriteLine("Sum in last column is: " &amp; (CType(rangeResult1(2), Object()))(3)) ' Clo...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-catch-exceptions
fc412ba9bc58-0
This example shows how to save an Excel workbook to the server to prepare it for programmatic access. The steps are: Create a workbook with named ranges. Save the workbook to a trusted SharePoint library location. Note It is assumed that you have already created a SharePoint document library and made it a...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-save-to-the-server-to-prepare-for-programmatic-access
fc412ba9bc58-1
Make cell B3 bold. Make cell B2 into a named range: On the ribbon, click the Formulas tab, and then click cell B2 to select it. In the Defined Names group, click Define Name . In the New Name dialog box, in the Name text box, typeMyParam. Save the workbook to a location of your choice on the ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-save-to-the-server-to-prepare-for-programmatic-access
fc412ba9bc58-2
public void SetCellA1 ( string sessionId, string sheetName, string rangeName, Object cellValue, Out Status[] status ) Public Sub SetCellA1(ByVal sessionId As String, ByVal sheetName As String, ByVal rangeName As String, ByVal cellValue As Object, Out ByVal status(...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-save-to-the-server-to-prepare-for-programmatic-access
fc412ba9bc58-3
Cell B3 retains its font format, which is bold. Note For more information about snapshots, see How to: Get an Entire Workbook or a Snapshot . For more information about the SetCellA1 method, see the Excel Web Services reference documentation. The namespace of the Web service is Microsoft.Office.Excel.Ser...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-save-to-the-server-to-prepare-for-programmatic-access
8f93c3004f95-0
This example shows you how to: Create a workbook with editable ranges. Save the workbook to a SharePoint document library that is a trusted location. Note It is assumed that you have already created a SharePoint document library and made it a trusted location. For more information, see How to: Trust a L...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-save-from-excel-client-to-the-server
8f93c3004f95-1
Click OK . You should now see "MyAOneParam" in the Parameters list. Click OK to close the Publish Options dialog box. In the Save to SharePoint dialog box, click Save As . In the Save As dialog box, ensure that the Open with Excel in the browser check box is selected. In the File name te...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-save-from-excel-client-to-the-server
70ae201d851c-0
Workbooks that you want to access must be placed in a trusted location. If they are not, calls to open the workbooks will fail. This example shows you how to trust a location by using the SharePoint Central Administration page. You can also trust a location by using Windows PowerShell. For more information, see the M...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-trust-a-location
c0cc048a1979-0
This topic contains a list of best-practice recommendations for working with Excel Services. Mitigating Threats Anonymous Access and Information Disclosure The following settings combination gives anonymous users access to any files in the share to which the process account has access. Therefore, the following co...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-best-practices
c0cc048a1979-1
For more information, see <httpRuntime> Element and <maxRequestLength> Element . Sniffing Between the Calling Application and the Web Service Computer If the calling application and Excel Web Services are deployed to different computers, an attacker can listen to the network traffic for data transfer between th...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-best-practices
c0cc048a1979-2
Excel Services User-Defined Functions (UDFs) Strong Name Dependencies In some cases, a user-defined function (UDF) assembly depends on other assemblies that are deployed with it. These dependent DLLs load successfully if they are in the global assembly cache, or if they are located in the same folder as the UDF ass...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-best-practices
c0cc048a1979-3
Udf02.dll is loaded after Udf01.dll. Excel Calculation Services sees that Udf02.dll depends on dependent.dll. However, a DLL with the name "dependent.dll" is already loaded. Therefore, Udf02.dll's dependent.dll file is not loaded, and the currently loaded dependent.dll file is used as the dependency. As a result, t...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-best-practices
0afb9e12c838-0
The following are a known issues and tips for working with Excel Services. Excel Web Service Viewing the WSDL Location You can view the Excel Web Services Web Services Description Language (WSDL) page by navigating to the following URL on the server: http://<server>/<customsite>/_vti_bin/excelservice.asmx?WSDL ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
0afb9e12c838-1
System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title>' ', hexadecimal value 0x01, is an invalid character. This behavior is expected. The XML specification that defines which char...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
0afb9e12c838-2
Understanding the Url Property of an Excel Web Services Proxy Class Do not use the Url property of an Excel Web Services proxy for the location of the workbook you want to open. The Url property of a web service proxy class generated by Visual Studio gets or sets the base URL of the XML web service the client is ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
0afb9e12c838-3
//Set the path to the workbook to open. //TODO: Change the path to the workbook //to point to a workbook you have access to. //The workbook must be in a trusted location. string targetWorkbookPath = "http://myserver02/example/Shared%20Documents/Book1.xlsx"; //Set credentials for requests. xlservice.Credentials = Syste...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
0afb9e12c838-4
//Call the open workbook, and point to the trusted //location of the workbook to open. string sessionId = xlservice.OpenWorkbook(targetWorkbookPath, "en-US", "en-US", out outStatus); For more information, see WebClientProtocol.Url Property . Understanding Security Using Workbook Permissions Beware of the foll...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
0afb9e12c838-5
Trusted Location The workbooks you want to open in Excel Services must be placed in a trusted location. If not, the Excel Web Services calls to open the workbook will fail. For information about how to trust a location, see How to: Trust a Location and How to: Trust Workbook Locations Using Script . Visual St...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
0afb9e12c838-6
This does not affect upgrade scenarios in which the assembly version has been modified, which means the assembly is not the same anymore. General Order of Strings in Sharedstring.xml is Not Maintained Excel Services does not maintain the original order of strings in a workbook shared-string table (the Sharedstri...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-known-issues-and-tips
2b53c749205f-0
Excel Web Services exposes alerts for errors that occur within the Web service and errors that are returned by Excel Calculation Services. Errors are exposed in the following ways: Excel calculation errors are returned similarly to how they are shown in Excel—that is, as cell error values, such as #VALUE!. When y...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-alerts
2b53c749205f-1
"continue" alerts The "continue" alert is typically a warning or non-critical error. When Excel Calculation Services throws a "continue" alert, the operation continues. These alerts are returned as out arguments—a struct with the various alert fields. For more information, see the Status class reference topics in t...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-alerts
2b53c749205f-2
See also Concepts Accessing the SOAP API Excel Services Error Codes Other resources Step 3: Accessing the Web Service Step 4: Building and Testing the Application Walkthrough: Developing a Custom Application Using Excel Web Services
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/excel-services-alerts
db6e73539647-0
Note The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the Microsoft Graph endpoint. OData uses URLs to request information from a resource. You craft the URL in a specific way,...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/requesting-excel-workbook-data-from-sharepoint-server-using-odata
db6e73539647-1
System query options The third part of the URL gives the system query options for the request. Query options always begin with a dollar sign ($) and are appended to the end of the URI as query parameters. In this example, the request is for the first 20 rows in the table named Table1: /Table1?$top=20 System query ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/requesting-excel-workbook-data-from-sharepoint-server-using-odata
db6e73539647-2
$metadata Returns all the available tables and the type information for all rows in each table in the specified workbook. The following example returns the tables and type information for the tables in the ProductSales.xlsx workbook. http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/$metadat...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/requesting-excel-workbook-data-from-sharepoint-server-using-odata
db6e73539647-3
$skiptoken Seeks to the Nth row, where N is the row ordinal position indicated by the value of $skiptoken , and then returns all remaining rows, beginning at row N + 1. The collection is zero-based, so the second row, for example, is indicated by $skiptoken=1. The following example returns all remaining rows after...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/requesting-excel-workbook-data-from-sharepoint-server-using-odata
db6e73539647-4
$select Returns the entity specified by $select . The following example selects the Name column from Table1 in the ProductSales.xlsx workbook. http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$select=Name $inlinecount Returns the number of rows in the specified table. $ in...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/requesting-excel-workbook-data-from-sharepoint-server-using-odata
63a379173722-0
SharePoint Server 2010 introduced the REST API for use in getting and setting information in Excel Workbooks stored in SharePoint document libraries. SharePoint adds a new way to request data from Excel Services that uses the Open Data Protocol (OData) which you can use to get information about Excel Services resources...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/using-odata-with-excel-services-rest-in-sharepoint
63a379173722-1
To get data from an Excel workbook, you construct a URL that points to the workbook, and that specifies what data that you want to get from the workbook, and how to arrange that data. For example, to get information about Table1 in a workbook named ProductSales.xlsx that is stored on a SharePoint library in a folder th...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/using-odata-with-excel-services-rest-in-sharepoint
63a379173722-2
<id>http://{serverName}/_vti_bin/ExcelRest.aspx/Documents/WindowsPhoneComparison.xlsx/OData/Table1(0)</id> <title type="text"></title> <updated>0001-01-01T00:00:00-08:00</updated> <author> <name /> </author> <link rel="edit" title="Table1Item" href="/Table1(0)" /> <category term="ExcelServices.Table1Ite...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/using-odata-with-excel-services-rest-in-sharepoint
63a379173722-3
Conclusion OData provides a simple way to get data from Excel workbooks that are stored on SharePoint. Using a straightforward syntax that is based on web standards like HTTP and REST, OData lets you quickly and easily get data from Excel workbooks. See also Requesting Excel workbook data from SharePoin...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/using-odata-with-excel-services-rest-in-sharepoint
b422b201fad9-0
This topic describes some advanced REST scenarios and additional samples. It provides links to webpages where you can get more detailed information. Note The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel RE...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/advanced-scenarios-and-additional-samples
d21e840ed62c-0
The first version of the Excel Services REST API does not support every Excel feature. Note The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the Microsoft Graph endpoint. ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/unsupported-features-in-excel-services-rest-api
d21e840ed62c-1
Special characters. Characters like "?" and "#" are unsupported. To correctly reference sheet names that contain special characters, the basic guideline is "see what the Excel client does" when referencing a formula to a sheet with special characters and follow that example.
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/unsupported-features-in-excel-services-rest-api
4045357dbe0a-0
This topic shows one example of how you can access and look at a schema for the REST service in Excel Services. This topic assumes that you have read Sample URI For Excel Services REST API . Note The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Busines...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/accessing-a-schema
4045357dbe0a-1
<author> <name /> </author> <link rel="self" href="http://myserver/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model/Ranges('Sheet1!A1%7CH3')?$format=atom" title="Sheet1!A1:H3" /> <category term="ExcelServices.Range" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <co...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/accessing-a-schema
4045357dbe0a-2
</x:c> <x:c> <x:fv> </x:fv> </x:c> <x:c> <x:fv>MSFT </x:fv> </x:c> <x:c> <x:v>26.25</x:v> <x:fv>26.25</x:fv> </x:c> <x:c /> <x:c> <x:fv>-0.23 (-0.87%) </x:fv> </x:c> <x:c> <x:v>239...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/accessing-a-schema
aa4736b75343-0
This topic lists sample URIs for the representational state transfer (REST) service commands in Excel Services. Note The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the Micros...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sample-uri-for-excel-services-rest-api
aa4736b75343-1
http://<ServerName>/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model/Ranges('Sheet1!A1|G5')?$format=html Get a named range: http://<ServerName>/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model/Ranges('nameOfTheNamedRange') Return an Atom XML feed: http://<ServerNa...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sample-uri-for-excel-services-rest-api
b622c1f28843-0
This topic describes two ways to access ranges—Atom feed and HTML fragment, by using the REST API in Excel Services. Note The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the M...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/getting-ranges-using-atom-feed-and-html-fragment
b622c1f28843-1
Important You can also specify arbitrary ranges, and not just the ranges returned by discovery. Colon ":" must be replaced with "|". For example use "A1|G5" instead of "A1:G5". Note Characters like "?" and "#" are unsupported. To correctly reference sheet names that contain special characters, the basic guide...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/getting-ranges-using-atom-feed-and-html-fragment
b622c1f28843-2
<updated>2010-01-20T21:28:10Z</updated> <author> <name /> </author> <link rel="self" href="http://ServerName/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model/Ranges('SampleNamedRange')?$format=atom" title="SampleNamedRange" /> <category term="ExcelServices.Range" scheme="http://schemas.micro...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/getting-ranges-using-atom-feed-and-html-fragment
b622c1f28843-3
</x:row> ... XML truncated for brevity. <x:row> <x:c> <x:fv>Innovation Assets</x:fv> </x:c> <x:c> <x:v>43</x:v> <x:fv>43</x:fv> </x:c> <x:c /> </x:row> <x:row> <x:c /> <x:c> <x:fv>State</x:fv> ...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/getting-ranges-using-atom-feed-and-html-fragment
b622c1f28843-4
Accessing Ranges by Using HTML If you look at the URL to access a named range by using Atom feed, note that the final part of the URL contains a parameter called $format , which is set to atom . This parameter can also take the value of html . If you change the atom value to html , the URL returns an HTML f...
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/getting-ranges-using-atom-feed-and-html-fragment