You need to sign in to do that
Don't have an account?

PLEASE HELP!!!
Please help…
Instead of coming to this url ‘/a0F60000000HbP0’ I am coming to the home page.
Please let me know how I need to modify my s-control .
Here is the code:
var o = new sforce.SObject('WS__c');
o.set('Svc__c', _owner);
o.set('Welder__c', _num_id);
o.set('Dist__c', _dis_id);
o.set('City__c', _city);
o.set('State__c', _state);
o.set('WMake__c', _make);
o.set('WldMd__c', _model);
var results = sforce.connection.create([o]);
var locationString = '/' + results[0].id + '/e';
window.parent.parent.location.href = locationString;
any error message during the create call.
HTHs,
if (result[0].getBoolean("success")) {
//do success code
} else {
alert("failed to create " + result[0]);
}
Code: Hope this helps!
~ sfdcfox ~