Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Only works on server #9

Open
dmch2 opened this issue Sep 9, 2011 · 3 comments
Open

Only works on server #9

dmch2 opened this issue Sep 9, 2011 · 3 comments

Comments

@dmch2
Copy link

dmch2 commented Sep 9, 2011

I setup the grid editor on dev environment and everything worked fine. I then set it up on UAT but it only works when logged into the server. Users connecting from their own machines get no response after clicking on the 'Edit' button. I've checked as many Internet options as I can, no javascript errors are shown, being an admin or normal user makes no difference and there's nothing in the event log.

@6ix4our
Copy link
Owner

6ix4our commented Sep 9, 2011

Thank you for reporting this issue. There is a workaround to the problem:

Replace all of the SERVER_URL references in the script with a prependOrgName() method call. The problem is that the registry value for "CrmServerUrl" on the CRM server reports a host that works only from that machine; it is that value which is placed into the SERVER_URL JavaScript variable at run-time. I regret ever using it, and have since learned of better ways to approach this with the prependOrgNam() method.

@dmch2
Copy link
Author

dmch2 commented Sep 13, 2011

Hi David,

Thanks for the quick reply. I'll give it a try and let you know how I got
on.

Cheers
Dave

On Fri, Sep 9, 2011 at 8:54 PM, David Berry <
reply@reply.github.com>wrote:

Thank you for reporting this issue. There is a workaround to the problem:

Replace all of the SERVER_URL references in the script with a
prependOrgName() method call. The problem is that the registry value for
"CrmServerUrl" on the CRM server reports a host that works only from that
machine; it is that value which is placed into the SERVER_URL JavaScript
variable at run-time. I regret ever using it, and have since learned of
better ways to approach this with the prependOrgNam() method.

Reply to this email directly or view it on GitHub:
#9 (comment)

@dmch2
Copy link
Author

dmch2 commented Sep 13, 2011

That works perfectly - thanks :)

On Tue, Sep 13, 2011 at 8:32 AM, Dave Hooper hooper.dave@gmail.com wrote:

Hi David,

Thanks for the quick reply. I'll give it a try and let you know how I got
on.

Cheers
Dave

On Fri, Sep 9, 2011 at 8:54 PM, David Berry <
reply@reply.github.com>wrote:

Thank you for reporting this issue. There is a workaround to the problem:

Replace all of the SERVER_URL references in the script with a
prependOrgName() method call. The problem is that the registry value for
"CrmServerUrl" on the CRM server reports a host that works only from that
machine; it is that value which is placed into the SERVER_URL JavaScript
variable at run-time. I regret ever using it, and have since learned of
better ways to approach this with the prependOrgNam() method.

Reply to this email directly or view it on GitHub:
#9 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants