locked
CRM 4.0 IFD - customizations RRS feed

  • Question

  • Hi Guys,

    I've recently configured IFD for our on-premise crm 4.0 application. Now we are facing issues with the existing custom applications. Some of these applications are created as virtual directories inside crm application and other as web site in the same crm server.

    One application we are accessing through I-frame, the below url is currently specified but working only in on-premise mode:

    https://crmserver.domain.com/orgname/customapp/default.aspx

    we changed the url as below:

    ../customapp/default.aspx

    now that the url is working in IFD but not in on-premise. I guess its because of the orgname that is used in on-premise mode.

    How can I set the url in I-frame that can work in both the situations. Kindly help.

    Monday, July 5, 2010 9:40 AM

Answers

  • Hi Bittu.CRM

    You can write a small javascript code to check the URL (either IFD or On-Premises) and set the correct IFRAME URL accordingly.

    if (location.href.indexOf(https://crmserver.domain.com) != -1){
    crmForm.all.IFRAME_iframename.src = "";
    }else
    {
    crmForm.all.IFRAME_iframename.src = "";
    }

    Hope it will help

    Thanks

    • Proposed as answer by FaisalKhan01 Monday, July 5, 2010 1:17 PM
    • Marked as answer by CSK.CRM Wednesday, July 7, 2010 5:29 AM
    Monday, July 5, 2010 11:08 AM
  • Hi,

    you can work around this with the function prependOrgName to detect wether it is an internal or an external request. You can also use this function to create the correct url for websites within the crm. See http://www.langalaxy.de/2010/05/howto-detect-external-request-with-javascript/

    • Marked as answer by CSK.CRM Wednesday, July 7, 2010 5:29 AM
    Monday, July 5, 2010 11:43 AM

All replies

  • Hi Bittu.CRM

    You can write a small javascript code to check the URL (either IFD or On-Premises) and set the correct IFRAME URL accordingly.

    if (location.href.indexOf(https://crmserver.domain.com) != -1){
    crmForm.all.IFRAME_iframename.src = "";
    }else
    {
    crmForm.all.IFRAME_iframename.src = "";
    }

    Hope it will help

    Thanks

    • Proposed as answer by FaisalKhan01 Monday, July 5, 2010 1:17 PM
    • Marked as answer by CSK.CRM Wednesday, July 7, 2010 5:29 AM
    Monday, July 5, 2010 11:08 AM
  • Hi,

    you can work around this with the function prependOrgName to detect wether it is an internal or an external request. You can also use this function to create the correct url for websites within the crm. See http://www.langalaxy.de/2010/05/howto-detect-external-request-with-javascript/

    • Marked as answer by CSK.CRM Wednesday, July 7, 2010 5:29 AM
    Monday, July 5, 2010 11:43 AM
  • Hi Guys,

    I've one more question for you.

     

    I have created a separate website in the same crm server. Eventhough we cannot access the website over the internet. we used the link in the CRM application's I-frame in 3.0 version. It was working good  before and after upgrading to 4.0. Now after installing IFD when people access the crm application over internet, the I frame is not loading. Kindly share your thoughts.

    Wednesday, July 7, 2010 5:57 AM
  • Hi Guys,

    Kindly respond to my question. Let me know if you have any queries.

    Wednesday, July 7, 2010 2:29 PM
  • Hi Bittu.CRM

    Create a virtual folder in actual CRM site, copy all of your separate site into it and set that URL in your IFRAME. It would work as it will become part of the same CRM site and can be accessble on Internet.

    Hope it will help. Let me know if not clear.

    Faisal

    Wednesday, July 7, 2010 4:20 PM
  • Who do you set the url of the IFrame? If you use any scripts, please show them.

    Friday, July 9, 2010 10:41 AM
  • Hi Keller,

    previously I set the url as 'servername:445/customapp/default.aspx'. Now that I installed IFD I don't think this will work. So I need to know how can I set the URL which should work in both ONpremise and IFD environments. Also the customapp website cannot be accessed directly over the internet.

    Monday, July 12, 2010 12:43 PM