CRM On Demand - Administration (MOSC)

MOSC Banner

Javascript API - Reading offscreen record

edited Apr 21, 2014 12:00PM in CRM On Demand - Administration (MOSC) 1 commentAnswered

Hi

I am trying to retrieve an off-screen record and do some validation on this.

can you please check whether i have given in the right format.

var callback=function(request,response){

  var status = response.status;

  if (status == "OK"){

  var _osf = response.getFieldValue("OffScreenField");

  alert("Off Screen Field value : " + _osf);

  if(_osf == "Yes")

  {

  //do something

  }

  }

  else {

  alert("error " + response.errors);

  }

  };

oraclecrmod.datasvc.readRecord("Account","OffScreenField",{searchType:"rowId","rowId":"1QA2-TNRWW"},callback);

thank you

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center