Answers for "javascript Error: Invalid web service call, missing value for parameter: 'documentId'."

0

javascript Error: Invalid web service call, missing value for parameter: 'documentId'.

/*
Your Javascript must pass parameters named Exactly as in the web service.
Remember that these parameters in client- and server-side are case-sensitive. 
*/

// Web service:
 public static List<MyObject> GetMyObjects(int ObjectId)
    { ...
    
// Javascript:
CallMethodAsync(null, "GetMyObjects", { ObjectId: theCurrentObjId }, function (data) {
                    self.SavedObjects = data.Result;
                    ...
                });
Posted by: Guest on July-20-2020

Code answers related to "javascript Error: Invalid web service call, missing value for parameter: 'documentId'."

Code answers related to "Javascript"

Browse Popular Code Answers by Language