CRM 2013: Iframe does not display the url set in onform load event with setSrc. How to make this work?

I have a situation we need to display a url in Iframe when a form is loading. the url is set in code with setSrc, or updated the query string value. this worked in crm 2004 not any more in 2013.  MSDN states the below to avoid in OnLoad event. what
is the best way to handle this situation?  Searched web people recommend using setInterval which i dont want to use.
Any help on this issue is appreciated. 
https://msdn.microsoft.com/en-us/library/gg328034(v=crm.6).aspx
Avoid using the OnLoad Event. IFRAMES and web resources load asynchronously and the frame may not have finished loading before the Onload event script finishes. This can cause the src property of the IFRAME or web resource
you have changed to be overwritten by the default value of the IFRAME or web resource URL property.

Thank you for you reply.  this URL you send uses window.setInterval which i am not comfortable using it. we need to call clearInterval(),
if not the IFrame refresh every second. 
function SetURL()
if(Xrm.Page.ui.controls.get("IFRAME_ActivitySmmary")!=null)
Xrm.Page.ui.controls.get("IFRAME_ActivitySmmary").setSrc(reportUrl + "&id="+ customerId);
                Xrm.Page.ui.controls.get("IFRAME_ActivitySmmary").setVisible(true);
else
{ window.setInterval("SetURL()",1000);}

Similar Messages

  • IOS 6 updated on my 3GS phone. The maps works well but does not give spoken turn by turn directions. Any ideas on how to make this work?

    Installed iOS6 on my 3GS phone. The maps app works well, but does not give spoken turn by turn directions.
    Any ideas on how to fix this?

    Go to http://www.apple.com/ios/maps/ and look at the bottom: Turn-by-turn navigation is available only on iPhone 4S, iPhone 5, and iPad 2 or later with cellular data capability. Flyover is available only on iPhone 4S, iPhone 5, iPad 2 or later, and iPod touch (5th generation). Cellular data charges may apply.
    You can always use the WAZE app like I do.

  • Using Mavericks - Keychain does not pass the passwords to my iPad?  Any ideas on how to make it work?

    Does anyone kbnow how to have Keychain use passwords in my iOS device (iPad)?  I find my self writing down passowrds now which completely defeats the concept behind Keychain and iCloud, right?  Thanks for any help.

    Make sure Keychain is switched ON in Settings > iCloud
    Try the instructions here >  How to automatically generate a password with iCloud Keychain and iOS 7

  • Firefox does not display the basic menu line File Edit View etc. How do I get this menu to show. I have tried uninstalling and reinstalling, but that does not help

    When I ask for help finding bookmarks, the answer tells me to click on bookmarks as shown in the illustration, but there is no such line displayed on my computer.

    '''''"Firefox does not display the basic menu line File Edit View etc."''''': That is the Menu Bar; see below.
    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help)<br /> <u>Firefox 3.6.x versions allow the user to hide the Menu Bar.</u><br />
    *Tap the ALT key or the F10 key, Menu Bar will display, click View, click Toolbars, click Menu Bar to place a check mark next to it, '''''OR'''''
    *Press and hold the ALT key while pressing the letters VTM on your keyboard, then release the ALT key
    *See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    '''<u>Other Toolbars</u>''', see: https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    <br />
    '''Other items that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape
    **Current versions are 9.4.2 and 10.0.1 (aka Reader X)
    **More info about version 10 (aka Reader X)
    ***New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    ***See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.

  • Lync 2013, text does not display in chat box. Windows 7 pc with dual monitors.

    Has anyone experienced an issue with Lync 2013 where when someone sends a chat the text doesn't display in the chat box. Or on occasion when initiating a chat, the text typed in doesn't display? The person experiencing this
    behavior has dual monitors and often times when she is working on a document - then goes to Lync and initiates a chat and types, the words do not display in the chat box. Her graphics drivers are current, (8.15.10.2869). At one point she was able to drag the
    chat box over to the monitor on the left and then the text displayed. Since then she has received a brand new laptop, windows 7 and the Lync behavior continues but now her dragging the chat box to other monitor no longer resolve text display issue. Ideas?

    Hi,
    Did the issue happen if only use single monitor?
    Please update to the latest version for Lync client 2013 and then test again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • OBIEE Answers does not display the result set of a report query

    Hi,
    We have a pivot table type of report in Oracle Business Intelligence Enterprise Edition v.10.1.3.3.2 Answers that has the following characteristics:
         3 Pages
         3 Sections , 4 Columns
         18363 Rows in the result set
    As per the NQQuery.log, the query for this report executes successfully resulting in 18363 rows. However, nothing comes up in the display on Answers. Moreover, no error is reported. The instanceconfig.xml file has the following setting:
    <PivotView>
         <CubeMaxRecords>30000</CubeMaxRecords>
         <CubeMaxPopulatedCells>300000</CubeMaxPopulatedCells>
    </PivotView>
    Even with these settings, Answers just returns a blank page - nothing is displayed in the name of the result set of the report query. Has anyone encountered this problem scenario before?
    Any help is much appreciated.
    Thanks,
    Piyush

    Hi Fiston / Pradeep,
    Thanks for your inputs. A few points to note:
    -> I am actually not getting any error message in answers or the NQQuery log. Moreover I am not getting any errors related to "query governor limit exceeding in cube generation" also.
    -> I have other pivot table type of reports in the same repository that work fine. In fact the report which has this issue even works sometimes - what actually is happening is that if I alter the number of sections from 3 to 4, then the result set changes from 14755 Rows to 18363 Rows and as per the NQQuery.log in both cases the query completes successfully. However, when the result set has 14755 rows, I get to see the output in Answers; however when the result set is 18636 rows, the Answers screen just goes blank and does not show any output or error. This makes me believe that there is some parameter in instanceconfig or the NQSconfig file - I have tried a lot of changes but nothing works !
    Any help is much appreciated.
    Best Regards,
    Piyush

  • Why is it that now, when I click on a link for a website I've saved, it does NOT show the URL in the address bar? I can't drag it to an email to share the link.

    Why is it that in these newer versions of Firefox (I have 21.0), when I open a link that I've saved, it does NOT display the URL in the address bar any more?
    I can't drag and drop the link into an email, and I can't see the actual web address I'm connected to for reference OR for security purposes. Why was this changed?
    It becomes necessary to reveal the properties of the URL link I've saved, using the Windows "Properties", then copying and pasting the URL into the Firefox address bar, before I can do anything with it.

    No changes have been made and no problem with extensions has interfered with the URL appearing in Firefox before. Only with the last few new versions of Firefox has this cropped up. Also, the link opens correctly - it just doesn't display the URL in the address bar, instead it just reads (in gray) "Search or enter address." How could another extension interfere if Firefox is the sole program associated with .htm, .html files?

  • My IPhone 4's mailing feature does not display the toolbar at the bottom for deleting, moving, or writing emails. What is wrong with it?

    My work recently decided to buy every full time employee an IPhone 4 to be used for work purposes. (I do suspect these are refurbished, but I don't think that matters) I have had no trouble with it, except for on occasion the mailing feature does not display the toolbar at the bottom for deleting, moving, or writing emails. You know what I'm talking about...that bar at the bottom of the mailbox when you open an email that you use to delete, respond, forward, move, etc. It just goes away for no reason, and then reappears for a day or two, and goes away again. It is quite annoying since I can't respond to any of my emails without getting on my work computer. If you have any suggestions, please help!

    Hi there,
    You may need to force close the Mail application when this happens. The next time this happens, use the steps in the article below to coles out of the mail application.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Hope that helps,
    - Griff W.

  • HT4157 I have an iPad 2 and it does not display the cellular data button under settings

    I have an iPad 2 and it does not display the cellular data button under settings.  It does display a Bluetooth button in its place. I have tried the reset but no luck

    Is the iPad the Cellular version? Does it have an active Data plan? Does it have a Sim card installed in inside it?

  • Screen briefly flashes white but does not display the page when the Safari icon or other icons are tapped.

    A problem has just started with my IPAD Air after 3 months of use.
    If I try to open Safari by tapping on the icon the screen  briefly flashes white but does not display the page.
    Similarly if I try to open Settings page, Mail page, Calendar or Clock the screen just briefly flashes but the Apps do not run.
    Some of the Apps do work on tapping the icon e.g. Maps, iBooks, Appstore, iTunes, Newstand etc.
    I do have some website links which display when the icon is tapped e.g. John Lewis but some links do not work.
    I have ensured that the ipad is fully charged,  powered it off an on again, and cleaned the screen with a lint free cloth  but the
    same problem keeps occurring.

    I saume you used a second display at one time, otherwise the Display settings wouldn't be treating your primary display as a secondary.
    IF you open your System Preferences>Displays (-System Preferences) and click "Gather Windows" it should pull everything to the display on which you clicked it.

  • Mac computers - FF 29.0 and 30.0 does not display the video layer in the Revolution Slider section of WordPress site. Why?

    Mac computers - FF 29.0 and 30.0 does not display the video layer in the Revolution Slider section of WordPress site. Why?
    We prepared simple Word Press web site. We used a Revolution slider plugin with HTML5 video layer. It works properly on Chrome, Safari, older Mozilla FF.
    But we had a problem on PC computers with FF 29.0 30.0 – after reinstall of browser everthing seems to be OK. The slider works. Unfortunately even the reinstallation on Mac computers does not help. There is no visible video on Mac FF 30.0.
    We are looking for some information what we can do to solve this problem. Could you help?

    Can you play the video on YouTube?
    *http://www.youtube.com/watch?v=Ugh2YvHU7D0#t=58
    Note that Mac lacks support to play MP4 files natively without using a Flash player.

  • Ibook g4 that does not  display the battery meter, sound volume, tim

    I have an ibook g4 that does not display the battery meter, sound volume, time & day.When i move cursor over the area where they should be I see a spinning beach ball beach ball

    Choose Go to Folder from the Finder's Go menu and enter ~/Library/Preferences/ as the folder's path. Locate the item named com.apple.systemuiserver with or without a plist at the end, and drag it to the desktop.
    (10471)

  • Oracle reports output in excel format does not display the graphs

    Oracle reports output in excel format does not display the graphs: "linked image cannot be displayed".
    The output file in PDF format the graph is supported.

    Do you have any header and footer on your template?
    If you have any header and footer then try to adjust it as of to display full page.
    Thanks
    Yasar

  • Can anyone help me with getting the iframe widget to display the url properly?

    Can anyone help me with getting the iframe widget to display the url properly?

    Please elaborate more as what exactly you are referring to, which iframe widget ? also by url do you mean page url where you are using iframe ?
    Thanks,
    Sanjit

  • When my Firefox language settings are fr_fr or fr_ca Firefox does not display the e with acute accent character correctly when it is displayed in a javascript alert box. However, it does display it correctly when my language settings are just fr. Please t

    Firefox does not display the e with acute accent character correctly from a javascript alert box when my browser language settings are fr_ca or fr_fr. However, it does it correctly when my browser language setting is fr. How do i get it to display e with acute accent and other iso8859 characters correctly in a javascript alert box when my browser language settings are fr_fr and fr_ca?
    == This happened ==
    Every time Firefox opened

    Use Unicode (UTF-8) for those characters.
    Then you will always be sure that they are displayed correctly.

Maybe you are looking for