Skip to content

Method: Write data to a sheet #7

@cyclops1982

Description

@cyclops1982

This should provide the ability for the value of a single cell to be returned.

Method Details

Property Value
Service Object Name Cell (See #5)
Service Object Method Name Write Cell Value
Service Object Method Description Write a single value from a single given Cell.
Execution type Update
Input SpreadSheetId, Cell, EffectiveValueBool, EffectiveValueString, EffectiveValueNumber, EffectiveValueFormula, EffectiveValueDateTime, EffectiveValueDate, EffectiveValueTime, IsEmpty
Required Inputs Sheet Id, Cell, IsEmtpy
Output FormattedValue, IsEmpty

Validation / Error handling

  1. If the SpreadSheetId does not exist, then provide the error message: "Spreadsheet '{SpreadSheetId}' does not exist."
  2. The IsEmtpy is used to indicate if a cell should be cleared or not. If true is provided, the cell will be cleared.
  3. If IsEmpty is false, then the cell needs to be set and at LEAST one of the EffectiveValue properties needs to be set. If IsEmpty is False and NO effectiveValue is provided, the following error must be shown: "Need a value if the cell is not empty."
  4. Only one EffectiveValue property can be filled in. If multiple are filled the following error should be shown "Multiple values supplied. Please provide only one value."
  5. When setting the value, the type of the cell must also be set based on which property is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions