Any one know how to display google map inside IFRAME in crm 2011 RRS feed

  • Question

  • I tried the following function.js to display google map inside IFRAME in crm 2011 but It's not working

    function gmap()

    var MapUrl="http://maps.google.com/";


    Any Help me to solve the issue

    Friday, September 7, 2012 1:31 PM


All replies

  • Hello,

    Have you unchecked "Restrict cross frame scripting checkbox" in your iframe?

    You are trying to use CRM 4.0 syntax for CRM 2011. Correct syntax for CRM 2011 would be:


    Freelance Developer for Dynamics CRM 4.0/2011

    Friday, September 7, 2012 2:10 PM
  • yes, I unchecked "Restrict cross frame scripting checkbox" in my iframe,

    I am getting the following error,

    This content can't be displayed in a frame

    To help protect the security of information you enter into this website,the publisher of this content doesnot allow it to be displayed in a frame


    Friday, September 7, 2012 2:54 PM
  • i saw that syntax  from one website,can u tell correct syntax for crm 2011 for the above issue?


    Friday, September 7, 2012 2:57 PM
  • in the google maps url that you have add output=embed as a querystring at the end of the url.

    Output=embedwill display the map instead of the error.



    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    • Proposed as answer by Sam - Inogic Saturday, September 8, 2012 1:32 AM
    Saturday, September 8, 2012 1:31 AM
  • after Putting that query string i am getting the same error
    //Google Map
    function gmap()
    var MapUrl="http://maps.google.com/?Output=embed";


    Monday, September 10, 2012 6:14 AM
  • Hi ..

    Take  a look At the Bellow Solution..

    google maps viewer for dynamics crm 2011

    • Marked as answer by sathishtech Thursday, September 13, 2012 8:33 AM
    Monday, September 10, 2012 6:43 AM
  • how to add that google maps viewer in my application?


    Monday, September 10, 2012 7:17 AM
  • Hi 

    Have You Gon through the Document..

    Download The Solution and Follow Bellow Steps.

    Install steps
    1.Import managed solution in CRM
    2.Create section in form as a web resource 
    3.Bind address part fields from your entity as additional parameters as shown bellow - format isyourCaption1=new_field1&yourCaption2=new_field2
    new_field1, new_field2, ... ,new_fieldN are entity fields containing address parts such as address line 1, city, region, country etc. Lookup fields are supported also. 

    Monday, September 10, 2012 12:58 PM