Hi Guys,I'm trying to remove current user from approver list as seen from my datacapture.cfg code in file attachment. Any suggestions, thanks.
var datasourceObject = new IWDatasource(); var datasourceMap = new IWMap(); var contextMap = new IWMap();datasourceObject.executeDatasource("callBackFunctionNameGoesHere", "LiveSite Reviewers", datasourceMap, contextMap); callBackFunctionNameGoesHere(resultMap, contextMap) { var datasourceObject = new IWDatasource(); datasourceObject.addOptionsToSelect(resultMap, "/Item/Name/Goes/Here"); }
datasourceObject.executeDatasource("callBackFunctionNameGoesHere", "LiveSite Reviewers", datasourceMap, contextMap);
function init(){ setValueForDatasource();}
Thanks Jeff for your assistance in getting to final solution. I needed to include an option as you suggested.This solution is for rpoulin, my "incredibly backwards approach" works and also for helping others with similar or related task. Final code is in attachment. Thanks to all who helped, Jeff I owe you a case of beer. Cheers.