Dear Community,
I’m currently trying to learn how to use Rest API in Application Studio to update data.
I created a button to update the second “Description” field and then call the rest api to update it
but the data is never updated, i checked on the payload the rowmod still blank “”
Is there something that i miss?
Thanks
aarong
(Aaron Gulley)
2
Are you sending in a RowMod - U
1 Like
how do i set row mod “U” in this application studio?
Ok. so i succeed on sending the RowMod “U” but now here’s the new error
Object reference not set to an instance of an object.
The data is from PurTerms.GetRows then i just use row-update to change Description and RowMod to “U” then pust it to rest-erp PurTerms.Update
1 Like
hmwillett
(Hannah Willett)
6
You don’t even need to specify the method parameters.
And, before you ask how it knows what DataView to use, it’s based on the Dataset ID.
These will do the same thing:
1 Like
thank you for ur guidance
note from my event, i need to remove my “data-commit” first to make it works