This discussion is archived
12 Replies Latest reply: Oct 11, 2012 12:33 PM by 965922 RSS

Problem with htmldb_get

965922 Newbie
Currently Being Moderated
Hello,
In my application I'm using htmldb_get to execute an On-Demand process.
When I run the application through ApEx login it works fine, but when not logged in (just accessing application url) the On-Demand process doesn't work.
My JavaScript code that calls On-Demand process:
var ajaxRequest=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=GRADES_INATIVAS',0);
          ajaxRequest.add('F202_PRODUTO_ID',$v('P10_PRODUTO_ID'));
          ajaxRequest.add('F202_GRADE_ID',grade_id);
          ajaxRequest.add('F202_GRADE_FECHADA_ID',gradeFechadaID.value);
          gResult = ajaxRequest.get();          
     if(gResult){
          alert(gResult.substring(19,gResult.length));
          html_GetElement(gradeFechadaID.id).value = '';
     }

Thanks for help.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points