microsoftgraph / microsoftgraph/msgraph-sdk-php
How to use range-update API with Microsoft Graph PHP SDK?
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- PHP
- Estrellas
- 669
- Forks
- 150
- Merge medio
- 15 h 21 min
- PR fusionados (30 d)
- 3
Descripción
Hello humans of the earth,
I'm trying to figure out how to use the range-update API with the Microsoft Graph PHP SDK. I want to update the value of a specific cell in an Excel worksheet, but I’m not sure how to properly construct the request using the SDK.
What I've tried:
- I attempted using WorkbookWorksheetItemRequestBuilder::rangeWithAddress() to target the cell, but there doesn’t seem to be a clear method to perform the PATCH with the updated value.
- Using WorkbookRange directly is challenging since it lacks a setValues() method or any way to set cell content.
- I tried using RequestInformation::setContentFromParsable(), but it throws a type error since it expects a Parsable object, not a simple array.
What I’m looking for:
- A recommended way to use the SDK to perform the range-update without manually crafting the HTTP request.
- If there’s no current method, is there a workaround using the SDK’s RequestAdapter that adheres to best practices?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza rastreando WorkbookWorksheetItemRequestBuilder::rangeWithAddress(), WorkbookRange, RequestInformation::setContentFromParsable() y el RequestAdapter para entender cómo se representan las solicitudes PATCH y los cuerpos de las solicitudes. Confirma si el SDK expone una ruta compatible para la range-update API o si el RequestAdapter puede proporcionar una, y documenta el uso recomendado o la limitación resultante.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100