Plaza 365
Plaza 365

No results found for your search

RegisterLog in

2

Visit article

#er

Dynamics 365 ERP - Development

Category

Aug 11, 2024

Published date

Text

Article Type


AI Summary

  • The article discusses a mistake in the SaveField method of the TST2_OneDriveERDest_OneDrive class related to parameters that has been fixed.
  • The post explains how to send files to OneDrive by implementing functionality in a separate class for reusability.
  • Two classes are created: one for deserializing the token response and another for API communication.
  • The deserialization class, TST2_OneDriveApi_RefreshTokenJson, extracts the token value from the JSON response.
  • The communication class, TST2_OneDriveAPI, includes methods to retrieve the token and send files to OneDrive.
  • The getToken method retrieves the access token by sending a request to the Microsoft login endpoint.
  • The sendFile method sends a file from a stream to OneDrive using the access token for authorization.
  • Overall, the article provides a detailed guide on how to integrate file sending functionality with OneDrive using Dynamics 365.

Registered users can view the full text for FREE!

Sign In Now!