6ix4our / CRM-Grid-Editor

A 100% Javascript Grid Editor for records in Microsoft CRM 4 grids. Works in online and offline mode.
http://crmentropy.blogspot.com/p/javascript-grid-editor.html
Apache License 2.0
11 stars 2 forks source link

Only works on server #9

Open dmch2 opened 13 years ago

dmch2 commented 13 years ago

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 commented 13 years ago

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 commented 13 years ago

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: https://github.com/6ix4our/CRM-Grid-Editor/issues/9#issuecomment-2055122

dmch2 commented 13 years ago

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: https://github.com/6ix4our/CRM-Grid-Editor/issues/9#issuecomment-2055122