Reverted to using a server method call to get the needed value from the REST webservice