To set a lookup column to null using Power Pages web API, you need to use a specific syntax. The usual syntax for preparing the data object for the API call won't work for null values. Instead, use the syntax "data["ita_TableName"] = null;". Here's an example of how the code would look: if(value){ data["[email protected]"] = "/ita_tablenames(" + value + ")"; } else{ data["ita_TableName"] = null; }
Login now to access my digest by 365.Training