• David Glick
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 5
    Replies
I have content that displays in a salesforce application tab that I define under User Interface -> Tabs.  In that content, I have a link that should select another tab of the running application, for example the "Sales" application, and make that the active tab, perhaps the "Opportunities" tab, but it can be any available tab actually.  How can I do this?  Is there some JavaScript that would do it perhaps?
Hi,
 
I am using a Developer Edition Salesforce.Com environment and I am writing Apex code to call RESTful Web Services that my company’s product provides.  I have added the URL to the “Remote Site Settings” using a hostname and when I ran the Visualforce Page, I got an error that the DNS failed.  I then changed the “Remote Site Settings” to use the IP address, and now I get “Access Denied”, and “Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect”.
 
This is the entire response:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!-- /* Stylesheet for Squid Error pages Adapted from design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License */ /* Page basics */ * { font-family: verdana, sans-serif; } html body { margin: 0; padding: 0; background: #efefef; font-size: 12px; color: #1e1e1e; } /* Page displayed title area */ #titles { margin-left: 15px; padding: 10px; padding-left: 100px; background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left; } /* initial title */ #titles h1 { color: #000000; } #titles h2 { color: #000000; } /* special event: FTP success page titles */ #titles ftpsuccess { background-color:#00ff00; width:100%; } /* Page displayed body content area */ #content { padding: 10px; background: #ffffff; } /* General text */ p { } /* error brief description */ #error p { } /* some data which may have caused the problem */ #data { } /* the error message received from the system or other software */ #sysmsg { } pre { font-family:sans-serif; } /* special event: FTP / Gopher directory listing */ #dirmsg { font-family: courier; color: black; font-size: 10pt; } #dirlisting { margin-left: 2%; margin-right: 2%; } #dirlisting tr.entry td.icon,td.filename,td.size,td.date { border-bottom: groove; } #dirlisting td.size { width: 50px; text-align: right; padding-right: 5px; } /* horizontal lines */ hr { margin: 0; } /* page displayed footer area */ #footer { font-size: 9px; padding-left: 10px; } body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; } --></style> </head><body id=ERR_ACCESS_DENIED> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr> <div id="content"> <p>The following error was encountered while trying to retrieve the URL: <a href="http://172.30.238.94:8080/ibi_apps/rs/ibfs?">http://172.30.238.94:8080/ibi_apps/rs/ibfs?</a></p> <blockquote id="error"> <p><b>Access Denied.</b></p> </blockquote> <p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p> <p>Your cache administrator is <a href="mailto:support@salesforce.com?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20proxy-iad.net.salesforce.com%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2008%20Sep%202017%2018%3A39%3A24%20GMT%0D%0A%0D%0AClientIP%3A%2010.222.61.10%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Fibi_apps%2Frs%2Fibfs%3FIBIRS_action%3DsignOn%26IBIRS_userName%3Dadmin%26IBIRS_password%3Dadmin%20HTTP%2F1.1%0ASFDC_STACK_DEPTH%3A%201%0D%0AHost%3A%20172.30.238.94%3A8080%0D%0AContent-Length%3A%200%0D%0AX-Forwarded-For%3A%2010.222.204.43%0D%0A%0D%0A%0D%0A">support@salesforce.com</a>.</p> <br> </div> <hr> <div id="footer"> <p>Generated Fri, 08 Sep 2017 18:39:24 GMT by proxy-iad.net.salesforce.com (squid)</p> <!-- ERR_ACCESS_DENIED --> </div> </body></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!-- /* Stylesheet for Squid Error pages Adapted from design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License */ /* Page basics */ * { font-family: verdana, sans-serif; } html body { margin: 0; padding: 0; background: #efefef; font-size: 12px; color: #1e1e1e; } /* Page displayed title area */ #titles { margin-left: 15px; padding: 10px; padding-left: 100px; background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left; } /* initial title */ #titles h1 { color: #000000; } #titles h2 { color: #000000; } /* special event: FTP success page titles */ #titles ftpsuccess { background-color:#00ff00; width:100%; } /* Page displayed body content area */ #content { padding: 10px; background: #ffffff; } /* General text */ p { } /* error brief description */ #error p { } /* some data which may have caused the problem */ #data { } /* the error message received from the system or other software */ #sysmsg { } pre { font-family:sans-serif; } /* special event: FTP / Gopher directory listing */ #dirmsg { font-family: courier; color: black; font-size: 10pt; } #dirlisting { margin-left: 2%; margin-right: 2%; } #dirlisting tr.entry td.icon,td.filename,td.size,td.date { border-bottom: groove; } #dirlisting td.size { width: 50px; text-align: right; padding-right: 5px; } /* horizontal lines */ hr { margin: 0; } /* page displayed footer area */ #footer { font-size: 9px; padding-left: 10px; } body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; } --></style> </head><body id=ERR_ACCESS_DENIED> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr> <div id="content"> <p>The following error was encountered while trying to retrieve the URL: <a href="http://172.30.238.94:8080/ibi_apps/rs/ibfs/WFC/Repository/Tests/Car_Report.fex">http://172.30.238.94:8080/ibi_apps/rs/ibfs/WFC/Repository/Tests/Car_Report.fex</a></p> <blockquote id="error"> <p><b>Access Denied.</b></p> </blockquote> <p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p> <p>Your cache administrator is <a href="mailto:support@salesforce.com?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20proxy-iad.net.salesforce.com%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2008%20Sep%202017%2018%3A39%3A24%20GMT%0D%0A%0D%0AClientIP%3A%2010.222.61.10%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Fibi_apps%2Frs%2Fibfs%2FWFC%2FRepository%2FTests%2FCar_Report.fex%20HTTP%2F1.1%0ASFDC_STACK_DEPTH%3A%201%0D%0AHost%3A%20172.30.238.94%3A8080%0D%0AContent-Length%3A%200%0D%0AX-Forwarded-For%3A%2010.222.204.43%0D%0A%0D%0A%0D%0A">support@salesforce.com</a>.</p> <br> </div> <hr> <div id="footer"> <p>Generated Fri, 08 Sep 2017 18:39:24 GMT by proxy-iad.net.salesforce.com (squid)</p> <!-- ERR_ACCESS_DENIED --> </div> </body></html>
 
I’d appreciate any assistance you could provide.
 
Thank you,

David.
I am new to Salesforce.com.  I am following the example in the Force.com IDE manual and created the trigger and class, however, when I add an Account, the Description field is not populated with "Hello World".  So it seems my trigger and class are not getting activated.

Also, when I went to save in Eclipse, I got a message that it was not in sync with the organization, but I continued anyway.  My class and trigger are saved on the site though so it seems things are ok.
I am new to Salesforce.com.  I am following the example in the Force.com IDE manual and created the trigger and class, however, when I add an Account, the Description field is not populated with "Hello World".  So it seems my trigger and class are not getting activated.

Also, when I went to save in Eclipse, I got a message that it was not in sync with the organization, but I continued anyway.  My class and trigger are saved on the site though so it seems things are ok.