Office 365: Bind and manipulate data in a SharePoint Access app

This project shows how to create an app for Office that binds to an Access table in a SharePoint Access app.

C# (3.9 MB)
 
 
 
 
 
5 Star
(1)
1,026 times
Add to favorites
7/18/2014
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
Type.registerNamespace("Strings");Strings.OfficeOM=function(){};Strings.OfficeOM.registerClass("Strings.OfficeOM");Strings.OfficeOM.L_InvalidNamedItemForBindingType="The specified binding type is not compatible with the supplied named item.";Strings.OfficeOM.L_EventHandlerNotExist="The specified event type is not supported on this object.";Strings.OfficeOM.L_UnknownBindingType="The binding type is not supported.";Strings.OfficeOM.L_InvalidNode="Invalid Node";Strings.OfficeOM.L_NotImplemented="Function {0} is not implemented.";Strings.OfficeOM.L_NoCapability="You don't have sufficient permissions for this action.";Strings.OfficeOM.L_SettingsCannotSave="The settings could not be saved.";Strings.OfficeOM.L_InvalidBinding="Invalid Binding";Strings.OfficeOM.L_InvalidSetColumns="The specified columns are invalid.";Strings.OfficeOM.L_BindingCreationError="Binding Creation Error";Strings.OfficeOM.L_FormatValueOutOfRange="The value is out of the allowed range.";Strings.OfficeOM.L_SelectionNotSupportCoercionType="The current selection is not compatible with the specified coercion type.";Strings.OfficeOM.L_InvalidBindingError="Invalid Binding Error";Strings.OfficeOM.L_InvalidGetStartRowColumn="The specified startRow or startColumn values are invalid.";Strings.OfficeOM.L_InvalidSetRows="The specified rows are invalid.";Strings.OfficeOM.L_CannotWriteToSelection="Cannot write to the current selection.";Strings.OfficeOM.L_MissingParameter="Missing Parameter";Strings.OfficeOM.L_IndexOutOfRange="Index out of range.";Strings.OfficeOM.L_SettingsStaleError="Settings Stale Error";Strings.OfficeOM.L_CannotNavigateTo="The object is located in a place where navigation is not supported.";Strings.OfficeOM.L_ReadSettingsError="Read Settings Error";Strings.OfficeOM.L_InvalidGetColumns="The specified columns are invalid.";Strings.OfficeOM.L_CoercionTypeNotSupported="The specified coercion type is not supported.";Strings.OfficeOM.L_AppNotExistInitializeNotCalled="Application {0} does not exist. Microsoft.Office.WebExtension.initialize(reason) is not called.";Strings.OfficeOM.L_OverwriteWorksheetData="The set operation failed because the supplied data object will overwrite or shift data.";Strings.OfficeOM.L_RowIndexOutOfRange="The row index value is out of the allowed range. Use a value (0 or higher) that's less than the number of rows.";Strings.OfficeOM.L_ColIndexOutOfRange="The column index value is out of the allowed range. Use a value (0 or higher) that's less than the number of columns.";Strings.OfficeOM.L_UnsupportedEnumeration="Unsupported Enumeration";Strings.OfficeOM.L_InvalidParameters="Function {0} has invalid parameters.";Strings.OfficeOM.L_SetDataParametersConflict="The specified parameters conflict.";Strings.OfficeOM.L_DataNotMatchCoercionType="The type of the specified data object is not compatible with the current selection.";Strings.OfficeOM.L_UnsupportedEnumerationMessage="The enumeration isn't supported in the current host application.";Strings.OfficeOM.L_InvalidCoercion="Invalid Coercion Type";Strings.OfficeOM.L_NotSupportedEventType="The specified event type {0} is not supported.";Strings.OfficeOM.L_UnsupportedDataObject="The supplied data object type is not supported.";Strings.OfficeOM.L_GetDataIsTooLarge="The requested data set is too large.";Strings.OfficeOM.L_AppNameNotExist="AppName for {0} doesn't exist.";Strings.OfficeOM.L_AddBindingFromPromptDefaultText="Please make a selection.";Strings.OfficeOM.L_MultipleNamedItemFound="Multiple objects with the same name were found.";Strings.OfficeOM.L_InvalidCellsValue="One or more of the cells parameters have values that aren't allowed. Double-check the values and try again.";Strings.OfficeOM.L_DataNotMatchBindingType="The specified data object is not compatible with the binding type.";Strings.OfficeOM.L_InvalidFormatValue="One or more of the format parameters have values that aren't allowed. Double-check the values and try again.";Strings.OfficeOM.L_NotSupportedBindingType="The specified binding type {0} is not supported.";Strings.OfficeOM.L_InitializeNotReady="Office.js has not been fully loaded yet. Please try again later or make sure to add your initialization code on the Office.initialize function.";Strings.OfficeOM.L_ShuttingDown="Operation failed because the data is not current on the server.";Strings.OfficeOM.L_OperationNotSupported="The operation is not supported.";Strings.OfficeOM.L_DocumentReadOnly="The requested operation is not allowed on the current document mode.";Strings.OfficeOM.L_NamedItemNotFound="The named item does not exist.";Strings.OfficeOM.L_InvalidApiCallInContext="Invalid API call in the current context.";Strings.OfficeOM.L_InvalidGetRows="The specified rows are invalid.";Strings.OfficeOM.L_SetDataIsTooLarge="The specified data object is too large.";Strings.OfficeOM.L_DataWriteError="Data Write Error";Strings.OfficeOM.L_InvalidBindingOperation="Invalid Binding Operation";Strings.OfficeOM.L_SpecifiedIdNotExist="The specified ID does not exist.";Strings.OfficeOM.L_FunctionCallFailed="Function {0} call failed, error code: {1}.";Strings.OfficeOM.L_DataNotMatchBindingSize="The supplied data object does not match the size of the current selection.";Strings.OfficeOM.L_SaveSettingsError="Save Settings Error";Strings.OfficeOM.L_InvalidSetStartRowColumn="The specified startRow or startColumn values are invalid.";Strings.OfficeOM.L_InvalidFormat="Invalid Format Error";Strings.OfficeOM.L_BindingNotExist="The specified binding does not exist.";Strings.OfficeOM.L_SettingNameNotExist="The specified setting name does not exist.";Strings.OfficeOM.L_EventHandlerAdditionFailed="Failed to add the event handler.";Strings.OfficeOM.L_InvalidAPICall="Invalid API Call";Strings.OfficeOM.L_EventRegistrationError="Event Registration Error";Strings.OfficeOM.L_ElementMissing="We couldn't format the table cell because some parameter values are missing. Double-check the parameters and try again.";Strings.OfficeOM.L_NonUniformPartialSetNotSupported="Coordinate parameters cannot be used with coercion type Table when the table contains merged cells.";Strings.OfficeOM.L_NavOutOfBound="The operation failed because the index is out of range.";Strings.OfficeOM.L_RedundantCallbackSpecification="Callback cannot be specified both in argument list and in optional object.";Strings.OfficeOM.L_CustomXmlError="Custom XML Error.";Strings.OfficeOM.L_SettingsAreStale="Settings could not be saved because they are not current.";Strings.OfficeOM.L_TooManyOptionalFunction="multiple optional functions in parameter list";Strings.OfficeOM.L_MissingRequiredArguments="missing some required arguments";Strings.OfficeOM.L_NonUniformPartialGetNotSupported="Coordinate parameters cannot be used with coercion type Table when the table contains merged cells.";Strings.OfficeOM.L_HostError="Host Error";Strings.OfficeOM.L_OutOfRange="Out of Range";Strings.OfficeOM.L_InvalidSelectionForBindingType="A binding cannot be created with the current selection and the specified binding type.";Strings.OfficeOM.L_TooManyOptionalObjects="multiple optional objects in parameter list";Strings.OfficeOM.L_OperationNotSupportedOnMatrixData="Selected content needs to be in table format. Format the data as a table and try again.";Strings.OfficeOM.L_EventHandlerRemovalFailed="Failed to remove the event handler.";Strings.OfficeOM.L_BindingToMultipleSelection="Noncontiguous selections are not supported.";Strings.OfficeOM.L_DataReadError="Data Read Error";Strings.OfficeOM.L_InternalErrorDescription="An internal error has occurred.";Strings.OfficeOM.L_InvalidDataFormat="The format of the specified data object is invalid.";Strings.OfficeOM.L_DataStale="Data Not Current";Strings.OfficeOM.L_GetSelectionNotSupported="The current selection is not supported.";Strings.OfficeOM.L_InvalidTableOptionValue="One or more of the tableOptions parameters have values that aren't allowed. Double-check the values and try again.";Strings.OfficeOM.L_PermissionDenied="Permission Denied";Strings.OfficeOM.L_InvalidDataObject="Invalid Data Object";Strings.OfficeOM.L_SelectionCannotBound="Cannot bind to the current selection.";Strings.OfficeOM.L_InvalidColumnsForBinding="The specified columns are invalid.";Strings.OfficeOM.L_BadSelectorString="The string passed into the selector is improperly formatted or unsupported.";Strings.OfficeOM.L_InvalidGetRowColumnCounts="The specified rowCount or columnCount values are invalid.";Strings.OfficeOM.L_OsfControlTypeNotSupported="OsfControl type not supported.";Strings.OfficeOM.L_InvalidValue="Invalid Value";Strings.OfficeOM.L_DataNotMatchSelection="The supplied data object is not compatible with the shape or dimensions of the current selection.";Strings.OfficeOM.L_InternalError="Internal Error";Strings.OfficeOM.L_NotSupported="Function {0} is not supported.";Strings.OfficeOM.L_CustomXmlNodeNotFound="The specified node was not found.";Strings.OfficeOM.L_CoercionTypeNotMatchBinding="The specified coercion type is not compatible with this binding type.";Strings.OfficeOM.L_TooManyArguments="too many arguments";Strings.OfficeOM.L_OperationNotSupportedOnThisBindingType="Operation is not supported on this binding type.";Strings.OfficeOM.L_InValidOptionalArgument="invalid optional argument";Strings.OfficeOM.L_FileTypeNotSupported="The specified file type is not supported.";Strings.OfficeOM.L_GetDataParametersConflict="The specified parameters conflict.";Strings.OfficeOM.L_CallbackNotAFunction="Callback must be of type function, was of type {0}."