Is there a way to refresh the fields on form load? I tried using this, based on another post:
fd.spRendered(function() {
fd.control('PReqLookup').ready().then(function(control){
fd.control('PReqLookup')._dataProvider.refresh();
});
});
from here: Refreshing a List or Library control
as well as this one:
fd.spRendered(function() {
fd.control('PReqLookup').ready().then(function() {
fd.control('PReqLookup').refresh().then(function(){
alert('List refreshed!');
});
});
});
from here: Run a function on refresh of Data Table - #3 by Jamal_Smith-Graham
but it's not updating the looked up values unless I manually remove and re-add looked up value.