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

PLEASE HELP !!! - "Unable to access page." using S-CONTROL
I am getting error:
Unable to access page.
Information needed by the page you have attempted to access is incorrect. If you believe this is an error, please refresh your screen. If the error persists, please report it to our Customer Support team and provide the URL of the page you were requesting as well as any other related information.
Information needed by the page you have attempted to access is incorrect. If you believe this is an error, please refresh your screen. If the error persists, please report it to our Customer Support team and provide the URL of the page you were requesting as well as any other related information.
When running this:
//////////////////////////////////////////////////////////////////////////////////////////////
var locationString ='/a01/e?nooverride=1&CF00N60000001MadM';
locationString += '&CF00N60000001Mtkg=' + _lenox_tech_rep;
locationString += '&00N60000001NEeU=' + _num;
locationString += '&CF00N60000001LfoI=' + _num;
locationString += '&CF00N60000001LfoI_lkid=' + _num;
locationString += '&00N60000001LoPq=' + _machine_make;
locationString += '&00N60000001LoQ5=' + _orientation;
locationString += '&00N60000001McdE=' + _location;
locationString += '&00N60000001LoPv=' + _model;
locationString += '&00N60000001LoQ7=' + _bfeet;
locationString += '&00N60000001LoQG=' + _bwidth;
locationString += '&00N60000001LoQ8=' + _btooth;
locationString += '&00N60000001LoQF=' + _binches;
locationString += '&00N60000001LoPr=' + _bgauge;
locationString += '&CF00N60000001LoQe=' + _customer_name;
locationString += '&00N60000001LoPl=' + _serial_number ;
locationString += '&CF00N60000001MccV=' + _dis_name;
locationString += '&CF00N60000001MccV_lkid=' + _dis_name;
locationString += '&CF00N60000001Mcca=' + _dis_sp_name;
locationString += '&CF00N60000001Mcca_lkid=' + _dis_sp_name;
locationString += '&CF00N60000001MzwZ=' + _s_dis_name;
locationString += '&CF00N60000001MzwZ_lkid=' + _s_dis_name;
locationString += '&CF00N60000001Mzxc=' + _s_dis_sp_name;
locationString += '&CF00N60000001Mzxc_lkid=' + _s_dis_sp_name;
locationString += '&00N60000001N9JM=' + _dis_loc;
locationString += '&00N60000001N9JR=' + _s_dis_loc;
locationString += '&CF00N60000001Mcd7=' + _lxsp;
locationString += '&00N60000001NEeU=' + _num;
locationString += '&CF00N60000001LfoI=' + _num;
locationString += '&CF00N60000001LfoI_lkid=' + _num;
locationString += '&00N60000001LoPq=' + _machine_make;
locationString += '&00N60000001LoQ5=' + _orientation;
locationString += '&00N60000001McdE=' + _location;
locationString += '&00N60000001LoPv=' + _model;
locationString += '&00N60000001LoQ7=' + _bfeet;
locationString += '&00N60000001LoQG=' + _bwidth;
locationString += '&00N60000001LoQ8=' + _btooth;
locationString += '&00N60000001LoQF=' + _binches;
locationString += '&00N60000001LoPr=' + _bgauge;
locationString += '&CF00N60000001LoQe=' + _customer_name;
locationString += '&00N60000001LoPl=' + _serial_number ;
locationString += '&CF00N60000001MccV=' + _dis_name;
locationString += '&CF00N60000001MccV_lkid=' + _dis_name;
locationString += '&CF00N60000001Mcca=' + _dis_sp_name;
locationString += '&CF00N60000001Mcca_lkid=' + _dis_sp_name;
locationString += '&CF00N60000001MzwZ=' + _s_dis_name;
locationString += '&CF00N60000001MzwZ_lkid=' + _s_dis_name;
locationString += '&CF00N60000001Mzxc=' + _s_dis_sp_name;
locationString += '&CF00N60000001Mzxc_lkid=' + _s_dis_sp_name;
locationString += '&00N60000001N9JM=' + _dis_loc;
locationString += '&00N60000001N9JR=' + _s_dis_loc;
locationString += '&CF00N60000001Mcd7=' + _lxsp;
window.parent.parent.location.href = locationString;
Hey!
There are 2 errors here:
1. You are not specifying https://na1.salesforce.com/ (or whatever your instance is)
2. window.parent.location.href and not 2 parents
1. I have instance url in place
2. I did try to delete second 'parent' and getting same error/
PLEASE ADVICE
2) window.parent.parent is an acceptable target (if javascript runs out of parents, the parent window references the current window-- window.parent == window if there is no parent).
The problem is with the first line:
var locationString ='/a01/e?nooverride=1&CF00N60000001MadM';
This line doesn't have an equals sign (eg. CF00N60000001MadM=somevalue or CF00N60000001MadM=). Since there isn't a value here, Salesforce complains that there is missing data. Either remove the &CF00N60000001MadM from the first line, or provide an equals sign (=) and a optionally a value to pass to the field.
locationString += '&CF00N60000001MccV_lkid=' + _dis_name;
it should be:
locationString += '&CF00N60000001MccV=' + _dis_name;
locationString += '&CF00N60000001MccV_lkid=' + _dis_id;