I am using REST API to create a list item in another list. Based on the successful creation of the list item I am just updating the current SharePoint field value. This whole process is executing through PreSaveAction() method.
Here I am able to pre fill list column, but after saving the list item the pre fill column is empty.
Here is my Code:
function PreSaveAction()
{
createListItemThroughRESTAPI();
$('input[id*="<'id Name'>"]').attr('value','Test Value');
return true;
}
Any help would be greatly appreciated.