We have an internal client database website that I'd like to link to a custom
tab within CRM (as an iframe).
Each record/url in the client website has a client number. This client
number is the same as the "AccountNumber" within CRM.
So I want AccountNumber '7130' to display this url within my custom iframe
tab:
http://intranet.website.com/apps/company/body.asp?cno=7130
The account name also matches exactly, so if it is easier to build the url
based on the name, that would work too.
Thanks in advance...
|
|
0
|
|
|
|
Reply
|
Utf
|
12/11/2007 3:17:02 PM |
|
FYI, here's what I've done thus far:
1. Create an iframe tab. Tab is called "iframe"
2. Created an iframe section within that tab, the iframe properties tell me
the name of the iframe is "IFRAME_test"
I also had to enter url "http://" because it wouldn't let me leave it blank.
3. My OnLoad script is:
if (crmForm.all.accountnumber.DataValue != null)
{
document.all.IFRAME_test.src =
"http://intranet.website.com/apps/company/body.asp? cno=" +
crmForm.all.accountnumber.DataValue;
}
However, I just get a page cannot be displayed error.
Again, the CRM "accountnumber" field has the value I need to parse to the
url. accountnumber 7130 would equate to url:
http://intranet.website.com/apps/company/body.asp? cno=7130
Am I close?
|
|
0
|
|
|
|
Reply
|
Utf
|
12/11/2007 4:26:03 PM
|
|
Ok, the method I listed previously worked, I just had to use a different
field. Looks like our intranet used a different client identifier.
Nonetheless, I just updated the field in CRM, and everything works as
expected :)
"gtp101" wrote:
> FYI, here's what I've done thus far:
>
> 1. Create an iframe tab. Tab is called "iframe"
> 2. Created an iframe section within that tab, the iframe properties tell me
> the name of the iframe is "IFRAME_test"
> I also had to enter url "http://" because it wouldn't let me leave it blank.
>
> 3. My OnLoad script is:
>
> if (crmForm.all.accountnumber.DataValue != null)
> {
> document.all.IFRAME_test.src =
> "http://intranet.website.com/apps/company/body.asp? cno=" +
> crmForm.all.accountnumber.DataValue;
> }
>
> However, I just get a page cannot be displayed error.
>
> Again, the CRM "accountnumber" field has the value I need to parse to the
> url. accountnumber 7130 would equate to url:
> http://intranet.website.com/apps/company/body.asp? cno=7130
>
> Am I close?
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
12/11/2007 5:33:00 PM
|
|