web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / InsertRow in Smartheet
Power Apps
Suggested Answer

InsertRow in Smartheet

(2) ShareShare
ReportReport
Posted on by 21
Hi, 

How do I use Smartsheet connector to Insert Row in specific Sheet? 

Documentation is quite poor and don't know how to pass values properly. Code that I use is below. How do I fix it to make to make it work?
 
Smartsheet.InsertRow(
    "192045464213123";
    {
        [
            {
                "columnId": 4266183311445892,
                "value": "TEST",
                "displayValue": "TEST"
            }
        ]
    }
)
Categories:
I have the same question (0)
  • Suggested answer
    BostonSailor Profile Picture
    154 on at
    Your "Row Post" object (the second argument in the Insert Row call) needs to be well-formed JSON. Try something like this:
     
    Smartsheet.InsertRow(
        "SheetID", // The ID of your Smartsheet
        {
            "cells": [
                {
                    "columnId": "ColumnID1", // The ID of the column
                    "value": "Value1" // The value to insert
                },
                {
                    "columnId": "ColumnID2",
                    "value": "Value2"
                }
                // Add more columns as needed
            ]
        }
    )
     
  • CU22080829-0 Profile Picture
    2 on at
    @BostonSailor

    Unfortunatelly this doesn't work. I've got few messages:

    • "Unexpected characters. The formula contains the 'cells' symbol where the 'Ident' symbol is expected."
    • "Unexpected characters. The formula contains the 'cells' symbol where the 'Colon' symbol is expected."
    • "Expected colon. A colon (:) was expected at this point in the formula."
    • "Unexpected characters. The formula contains the 'Colon' symbol where the 'CurlyClose' symbol is expected."
    • "Unexpected characters. The formula contains the 'Colon' symbol where the 'ParenClose' symbol is expected."
    • "Unexpected characters. The symbols are used in the formula in an unexpected way."

     

    Code that I used:

    Smartsheet.InsertRow(

        "1920494682634852";

        { 

          "cells": [

                { 

                  "columnId": "4266183311448892";

                    "value": "Test"

                }

            ]

        }

    )

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard