You need to sign in to do that
Don't have an account?
SFDC Devloper
How to access /oppitm/lineitemsort.jsp
Hi All,
when i trying to Access Salesforce Standard page .
i am getting "Unable to Access page " ....
How to solve this , Can any one help me.
Code:
function sorting(lineids,oppid){ var form = document.createElement("form"); form.setAttribute("method", "post"); form.setAttribute("action", "/oppitm/lineitemsort.jsp"); //set the id of the request to the opportunity ID var hiddenField = document.createElement("input"); hiddenField.setAttribute("type", 'hidden'); hiddenField.setAttribute("name", 'id'); hiddenField.setAttribute("value", oppid); form.appendChild(hiddenField); //the name of the sorted OLI list that the JSP is expecting is "duel0" var hiddenField = document.createElement("input"); hiddenField.setAttribute("type", 'hidden'); hiddenField.setAttribute("name", 'duel0'); hiddenField.setAttribute("value", String(lineids)); form.appendChild(hiddenField); var hiddenField = document.createElement("input"); hiddenField.setAttribute("type", 'hidden'); hiddenField.setAttribute("name", 'retURL'); hiddenField.setAttribute("value", '/'+oppid); form.appendChild(hiddenField); //set to save var hiddenField = document.createElement("input"); hiddenField.setAttribute("type", 'hidden'); hiddenField.setAttribute("name", 'save'); hiddenField.setAttribute("value", 'Save'); form.appendChild(hiddenField); //need to do this so it works in IE document.body.appendChild(form); //submit!! form.submit(); }