GetUrlKeyValue('ID') returns undefined
Posted: 19 Dec 2016
I am setting up a new form set with its own related items view. Now I am trying to prepopulate the parent item field in the quick edit spreadsheet and it is not working, even using exactly the same code as what is working on other forms.
I am trying to assign it by
fd.populateFieldsInGrid($('.related-Works'), {
parentItem: GetUrlKeyValue('ID'),
});
but when I try console.log(GetUrlKeyValue('ID')); in the developer tools console, it is returning undefined.
?
I am trying to assign it by
fd.populateFieldsInGrid($('.related-Works'), {
parentItem: GetUrlKeyValue('ID'),
});
but when I try console.log(GetUrlKeyValue('ID')); in the developer tools console, it is returning undefined.
?