Skip to content

Error when using postValues from api #325

Answered by kingpatrickj
kingpatrickj asked this question in Q&A
Discussion options

You must be logged in to vote

After doing some more testing, I found that postValues() only accepts strings as values. I got numbers to work with newValue.toString() with the number still able to increment like normal after running the script. Similarly for dates (though I haven't found a way to manipulate a date, then convert it to a string). Links work if you wrap the text with '[[]]'. I haven't tested any other field types, but they would presumably work like the rest.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kingpatrickj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant