Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Update Row background with API
Does anyone have any C# code to just find a row and update the row background color (highlight the row). I have it on another program, but because my rows have System Cells (Created By & Created Date) I have to completely rebuild the rows with the cells before I can apply the format.
I was wondering if there was a quick way to just change the formatting of the row without having to rebuild it.
Comments
-
Hi Brent,
First, you'll want to GET /serverinfo to get the server information. This tells you formatting defaults and gives you an array of numbers.
These numbers are formatt descriptors, you can use our API documentation to get the lookup table of our format descriptors: https://smartsheet-platform.github.io/api-docs/#format-descriptor
You'll then want to include the optional "format" parameter in your get/update row requests.
If you run into trouble with this, email api@smartsheet.com and they can work with you directly.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives