Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7664501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:19:22+00:00 2026-05-31T14:19:22+00:00

We have a custom Visualforce page that is within the Account page layout. This

  • 0

We have a custom Visualforce page that is within the Account page layout. This is working for several customers and we’ve never has a problem with it.

Today one of our customers has added new users to their Salesforce organisation and at first they could see the Visualforce page, but they “made some changes” and now none of the new users can see the Visualforce page. It is still working for the older users.

The new users see the following error in the JavaScript console:

document.forms.echoScontrolForm_xxx is undefined

We think there is some kind of config/permissions issue with the new users but at the moment we are unable to diagnose the issue.

For information here is the Visualforce markup (it just creates an IFrame to load our external app into the page):

<apex:page standardController="Account">
    <apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js" />
    <h1 style="font-size: 20px; color: #909090;">Loading...</h1>
    <script type="text/javascript">
        jQuery(document).ready(function() {
            var orgId = '{!$Organization.Id}';
            var accountId = '{!account.id}';
            var url = 'https://' + orgId.substring(0, 15) + '.somesite.com/Account/' + accountId.substring(0, 15) + '?SessionID=' + encodeURIComponent('{!$Api.Session_ID}') + '&ServerURL=' + encodeURIComponent('{!$Api.Partner_Server_URL_200}');
            $('body').empty().append($('<iframe />', { src: url, style: 'border: none; width: 100%; height: 300px;' }));
        });
    </script>
</apex:page>

Any pointers as to what is causing this would be very helpful!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:19:23+00:00Added an answer on May 31, 2026 at 2:19 pm

    Turns out that the customer had created a custom Visualforce page that contained the standard page layout which in turn contained our Visualforce control. Their custom Visualforce control had some issues that they didn’t disclose to us, but were causing execution of the to fail.

    They resolved these issues and our VF control started working again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visualforce page using a custom controller that is used to edit
I have custom event that has several different subscribers who will all use the
I have custom classes that I currently instantiate within App.xaml as resources. I want
I have custom exceptions in my django project that look like this: class CustomFooError(Exception):
So I noticed that a piece of Javascript on my VisualForce page was working
I have custom assembly that is loaded on runtime. at this point i have
I have created a custom visualforce page. Here in the controller class i want
I have created a custom visualforce page. Here in the controller class i allow
I have custom gallery. Gallery represents items that are frame layout. There are one
I have custom coded several enterprise applications for mid to large organizations to use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.