Siebel Business Process & Functionality (MOSC)

MOSC Banner

process JSON file from URL

edited Jun 9, 2015 10:04AM in Siebel Business Process & Functionality (MOSC) 1 commentAnswered

<script>

oraclecrmod.onReady(function() {

if(oraclecrmod.ctx.isObject("Account") && oraclecrmod.ctx.isDetailPage()) {

var on_click = function() {

$.get( "/OnDemand/user/Rest/027/Accounts/", function(data) {

       alert('page content: ' + data);

    }

);

}

var tb = oraclecrmod.getTitleBar("AccountFormTB");

var bt = oraclecrmod.createButton({

id:"TestBtn",

text:"Test Read",

parent:tb

});

bt.on("click",on_click);

}

});

</script>

What's wrong with that code? Can anyone please help me?

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