Deplyoment - MS CRM connection by Javascript & HTML

Hello everybody,
I would love for my project work a small mobile client build (PhoneGap)
which connects to the CRM and can read me a few records.
Has anyone ever done this?
I would be enough the part with connecting to the CRM and read a record.
Thanks in advance and best regards
Sid

Hello,
You can recheck following article -
https://msdn.microsoft.com/en-us/library/dn481568.aspx
Dynamics CRM MVP/ Technical Evangelist at
SlickData LLC
My blog

Similar Messages

  • How to hide ms crm base url in html

    Hi, Actually we are using some crm web resources in html is it possible to hide crm urls?. please see the below details. Please help me to build dynamic url in html
    we are using like this
    <script src="https://example.crm5.dynamics.com//WebResources/PolicyInfo"></script>
    Now i want to hide like this
     <script src= window.parent.sessionStorage.getItem("myurl"); + "PolicyInfo"></script>
    <script type="text/javascript">
        function call() {
        debugger;
            sessionStorage.myurl = "";
    sessionStorage.setItem("myurl","https://example.crm5.dynamics.com//WebResources/");
      var vamurl  = sessionStorage.getItem("myurl");
      return vamurl;
        window.onload = call;
    </script>
            <script src= window.parent.sessionStorage.getItem("myurl"); + "PolicyInfo"></script>
    or
    <script src= call(); + "biz_PolicyInfo"></script>
    Both methods are not working. Please help me on these.

    If someone knows how to view the source code he probably knows also to check the network traffic from the browser console, so it's kind of useless trying to hide the full url of a WebResource
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

  • Can I use JavaScript HTML Portlet and PDK Portlets

    Can I use JavaScript HTML Portlet and PDK Portlets?
    My Script works fine with the an HTML portlet but it always gives a an Error Message in the status bar is that normal...
    Other then that I have JavaScript in my PDK portlet page it does not work.. it is the the same javascript I use for in my HTML portlet which works in HTML portlets..

    You'll have to place your JavaScript in the header section of your Portal page. To do so, use HTML/UI templates. For more information, refer to the How to Design and Build Compelling Portal Interfaces whitepaper.
    Good luck,
    Peter

  • JavaScript/HTML notification problem

    Below problems are in JavaScript/HTML only. In Flex both works well.
    In JavaScript/HTML on Mac, dock icon bounces only once in CRITICAL.
    Below 3 cases(type, CRITICAL, "aaa"), same results.
    How do I use JavaScript code to react doc icon repeatedly?
    function notify() {
    if (air.NativeApplication.supportsDockIcon) {
    var critical = document.getElementById("critical");
    var type = (critical.checked ? air.NotificationType.CRITICAL : air.NotificationType.INFORMATIONAL);
    //air.NativeApplication.nativeApplication.icon.bounce(type);
    //air.DockIcon(air.NativeApplication.nativeApplication.icon).bounce(air.Notific ationType.CRITICAL);
    air.NativeApplication.nativeApplication.icon.bounce("aaa");
    function setListener()
    nativeWindow.addEventListener(air.Event.DEACTIVATE, notify);
    </script>
    </head>
    <body onload="setListener()">
    And I have another problem on Windows just as Mac.
    Below cases(type, CRITICAL, ,no argumens) are same results.
    Application windows and taskbar flash only once.
    How do I use JavaScript code to flash window and taskbar??
    function notify(){
    if(air.NativeApplication.supportsSystemTrayIcon && air.NativeWindow.supportsNotification) {
    var critical = document.getElementById('critical');
    var type = (critical.checked ? air.NotificationType.CRITICAL : air.NotificationType.INFORMATIONAL);
    window.nativeWindow.notifyUser(type);
    //window.nativeWindow.notifyUser(air.NotificationType.CRITICAL);
    //window.nativeWindow.notifyUser();
    function setListener(){
    window.nativeWindow.addEventListener(air.Event.DEACTIVATE, notify);
    </script>
    </head>
    <body onLoad="setListener()">

    I've got the same problem.
    Using Javascript/HTML the icon only bounces once in OS X and the system tray doesn't even highlight in Windows XP Pro for me.
    I have also tried every permutation of use for:
    air.NativeApplication.nativeApplication.icon.bounce(air.NotificationType.CRITICAL);
    -- and --
    air.NativeApplication.stage.nativeWindow.notifyUser(air.NotificationType.CRITICAL);
    And still nothing works as you describe  in:
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7dcd. html
    -- and --
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7dcb. html
    any suggestions as to how I can overcome this issue would be appreciated.

  • How to establish an Https connection from a html client

    Hi! I�m totally new to Java so my question is rather"stupid". I have an html page that sends a post to a servlet
    <form name="form" action="servlet/ServletLogOn" method="post">
    I want to establish an https connection between the client and the servlet. How is it?
    Thanks in advance.

    Ignore the previous poster's reply - he was obviously mislead by my original post re: JSSE.
    How you install an SSL certificate on your webserver is completely dependent on the webserver you are using. Ususally there is some functionality for doing this from the administrative interface - usually involves pasting some text from the CA's (certificate authority, e.g. Verisign) site into a text box and designating a port number for SSL traffic (use 443, it's internet standard). I've actually only done this for Netscape Enterprise Server - you may want to find a forum for users of your webserver to ask for specifics.

  • CRM 2013 - Inconsistent javascript issue crash the web client and user needs to reopen

    Hello,
    We are using CRM 2013 on premise version and almost 600 users are using it. We have some inconsistent JavaScript issue (following is the log for same) which happens to users in a day or two. When this issue occurs user can not work in system and they have
    to open new instance of CRM.
    Does anybody knows about this error?
    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get property 'location' of undefined or null reference</Message>
       <Line>1</Line>
       <URL>/_static/_common/scripts/main.js?ver=1676323357</URL>
       <PageURL>/main.aspx#313155368</PageURL>
       <Function>anonymous($p0,$p1,$p2){this.$3_3.get_currentIFrame()&&Mscrm.PerformanceTracing.write("Unload",this.$3_3.get_currentIFrame().src);this.$H_3=$p0.toString();this.$26_3();this.$1A_3();this.$1J_3();if($p0.get_isLocalServer())$p0.get_query()["pagemode"]="iframe</Function>
       <CallStack>
        <Function>anonymous($p0,$p1,$p2){this.$3_3.get_currentIFrame()&&Mscrm.PerformanceTracing.write("Unload",this.$3_3.get_currentIFrame().src);this.$H_3=$p0.toString();this.$26_3();this.$1A_3();this.$1J_3();if($p0.get_isLocalServer())$p0.get_query()["pagemode"]="iframe";addPassiveAuthParameters($p0);var$v_0=$p0.toString();if(IsNull($p2))$p2=false;var$v_1=this.$18_3($p0,$p2);if($v_1){if(this.$2z_3()){window.location.reload();return}this.$2d_3();this.$1s_3();Mscrm.PerformanceTracing.write("Navigate",$v_0);!Mscrm.Utilities.isIE()&&this.raiseEvent(Mscrm.ScriptEvents.UpdateTopLocation,null);this.$3_3.get_currentIFrame().contentWindow.location.replace($v_0)}else{this.$10_3();var$v_2=this.get_contentWindow().Sys.Application.findComponent("crmPageManager");if($v_2){!Mscrm.Utilities.isIE()&&$v_2.raiseEvent(Mscrm.ScriptEvents.UpdateTopLocation,null);var$v_3={};$v_3["sourceUri"]=Mscrm.Utilities.getContentUrl(null);$v_2.raiseEvent(Mscrm.ScriptEvents.IFrameReactivated,$v_3)}}window.self.InnerIFrameSrcChangeTimestamp=(newDate).getTime();this.title=$p1;if(window.LOCID_UI_DIR==="RTL"&&$p0.toString().indexOf("PersonalWall")>=0&&window.UseTabletExperience)this.$3_3.get_currentIFrame().style.position="RELATIVE"}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1366x768</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2015-04-20T15:41:12</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1033</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{E8BBA7AE-A552-DE11-B475-001E0B4882E2}</OrgID>
        <UserID>{614837CD-448B-DE11-A5E1-005056970D6C}</UserID>
        <CRMVersion>6.1.2.112</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    Are you on-premise, or on-line? : It's on-premise
    Can you reproduce it on-demand, or is it sporadic?: It's sporadic
    There is a mention of loading an iFrame in the error, do you have iFrames on the form that generates this error?
    It's not on specific forms, so can't identify that. Yes we have iframes on some forms.
    Does it happen on any/all entity forms, or specific ones?  Do the entity forms have any custom JavaScript on them?
    It's not on specific forms. And yes we have javascript on almost all forms.
    Do you have any network problems or slowness in your network? Does the problem happen when the network is busy?
    We need to check this on next occurrence.
    Do the users that see this error have any unusual add-ins or toolbars in their browser?  This is not for specific user. Its happening for all randomly.
    Have you tried other browsers like Chrome or FireFox and do users see the problem there as well?
    We need to check only for IE.

  • Pass a value from a PL/SQL function to a javascript (html header) ? ?

    Hey Guys,
    Have a question regarding how to pass a value from a PL/SQL function to a javascript in the HTML Header.
    I have created a PL/SQL function in my database, which does looping.
    The reason for this is:  On my apex page when the user selects a code, it should display(or highlight buttons) the different project id's present for that particular code.
    example= code 1
    has project id's = 5, 6, 7
    code 2
    has project id's = 7,8
    Thank you for your Help or Suggestions
    Jesh
    The PL/SQL function :
    CREATE OR REPLACE FUNCTION contact_details(ACT_CODE1 IN NUMBER) RETURN VARCHAR2 IS
    Project_codes varchar2(10);
    CURSOR contact_cur IS
    SELECT ACT_CODE,PROJECT_ID
    FROM ACTASQ.ASQ_CONTACT where ACT_CODE = ACT_CODE1;
    currec contact_cur%rowtype;
    NAME: contact_details
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 6/25/2009 1. Created this function.
    BEGIN
    FOR currec in contact_cur LOOP
         dbms_output.put_line(currec.PROJECT_ID || '|');
         Project_codes := currec.PROJECT_ID|| '|' ||Project_codes;
    END LOOP;
    RETURN Project_codes;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    -- Consider logging the error and then re-raise
    RAISE;
    END contact_details;
    /

    Jesh:
    I have made the following modifications to your app to get it to work as I thing you need it to.
    1) Changed the source for the HTML Buttons Region(note use of id vs name for the Buttons)
    <script>
    function hilitebtn(val) {
    //gray buttons
    $x('graduate').style.backgroundColor='gray'
    $x('distance').style.backgroundColor='gray'
    $x('career').style.backgroundColor='gray'
    $x('photo').style.backgroundColor='gray'
    //AJAX call to get project-ids
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=GETPROJECTS',0);
    get.addParam('x01',val)
    gReturn = get.get();
    var arr=gReturn.split(':');  //dump into array
    get = null;
    for (i=0;i<arr.length;i++) {
    // alert('val=' + arr);
    if ( arr[i]==5)
    $x('graduate').style.backgroundColor='red';
    if ( arr[i]==6)
    $x('distance').style.backgroundColor='red';
    if ( arr[i]==7)
    $x('career').style.backgroundColor='red';
    if ( arr[i]==8)
    $x('photo').style.backgroundColor='red';
    </script>
    <table cellpadding='0' cellspacing='0' border='0'>
    <tr><td>
    <input type='button' id='graduate' value='Graduate'>
    </td>
    <td>
    <input type='button' id='distance' value='Distance'>
    </td>
    <td>
    <input type='button' id='career' value='Career/Tech'>
    </td>
    <td>
    <input type='button' id='photo' value='Photos'>
    </td>
    </tr></table>
    2) Defined the application process  GETPROJECTS as DECLARE
    IDS varchar2(1000);
    l_act_code varchar2(100) :=4;
    begin
    IDS:='';
    l_act_code := wwv_flow.g_x01;
    for x in(
    SELECT ACT_CODE,PROJECT_ID
    FROM ASQ_CONTACT
    where ACT_CODE = l_act_code)
    LOOP
    IDS := IDS || X.PROJECT_ID|| ':' ;
    END LOOP;
    HTP.PRN(IDS);
    END;
    3) Changed the 'onchange' event-handler on p1_act_code to be 'onchange=hilitebtn(this.value)'
    4) Added the JS to the HTML Page Footer <script>
    hilitebtn($v('P1_ACT_CODE'));
    </SCRIPT>

  • Javascript/HTML question

    I've been teaching myself Java on and off for the past couple years with the help of these forums and other tutorials. Now I've decided to take on a project that requires the use of HTML and Javascript and I can't seem to find the information I need. I was hoping that somebody from these forums could either answer my questions and/or point me in the right direction to find the answers.
    The project is simple. I created an HTML window with an inputTextArea, an outputTextArea, and two buttons (Submit and Reset). When Submit is pressed I need the program to take the text from inputTextArea one line at a time, check the indexOf a string, and add tags at the beginning and end of the string if it meets certain criteria before appending it to outputTextArea.
    I can (and have) written this very easily in Java but I can't seem to find the methods I need in Javascript. In java I use a java.io LineReader to read the inputTextArea.getText() one line at a time and then make the changes as needed. I actually can't even find a tutorial in Javascript that can explain how to take the text from inputTextArea and print it into outputTextArea.
    So the main thing I need to know is how to read one line of text at a time from the inputTextArea. I think I can figure the rest out.

    That was actually my original thought when I started on the Java version of the program but I couldn't figure out how to enter the the carriage return in as a variable to be indexed. So it wasn't until after I found the LineReader that I was able to complete the Java version.
    Is there some way to enter the carriage return in as a searchable variable?

  • Will Adobe AIR apps work on iOS (Javascript/HTML)?

    Hello,
    I haven't been able to find any definitive answer on whether Adobe AIR apps using Javascript and HTML can work on iOS.
    Anyone know for sure?
    And if so, what happens with the APIs available through these swfs that we currently include:
    networkInfoWrapper.swf
    servicemonitor.swf
    applicationupdater_ui.swf
    Many thanks
    Stephen

    The answer is no. Apps developed for AIR using HTML and JavaScript are not supported on iOS or other mobile platforms. The mobile platforms do include a StageWebView component that can be used to load and display HTML and JavaScript. However, it is entirely different than the HTMLLoader control used on the desktop platforms (for HTML-based AIR apps). You cannot, for example, call any AIR/Flash APIs from JavaScript running in a StageWebView. In general, very little communication is possible between your ActionScript application code and the JavaScript code running in the StageWebView object.

  • Dynamic CRM connect outlook Client with different domain

    Hi Guys,
    I had installed CRM 2011 in cloud with different domain.
    If I use browser is working fine just that when i use Outlook client it show 
    15:24:16|  Error| Exception : The request for security token could not be satisfied because authentication failed.    at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
       at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
    I found that is because you must connect to the same domain.
    any idea that i can use my Outlook client to connect to CRM 2011 without changing my domain?
    Regards,
    Kim

    Yes - I've been scarred with this for many years :(
    If it is just CAS 1 that is causing issues, then focus in on that.  The support statement for Win 2008 R2 is that NLB is still a 3rd party component and support may ask for it to be disabled.
    http://support.microsoft.com/kb/278431 
    Does CAS1 and CAS2 have the same NICs (firmware as well), driver, teaming software, and teaming config? 
    I also want to ask what the network team did for configuring the switch ports on the servers?  This will vary from vendor to vendor  - did they do the same config on both?
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
    Thanks Rhoderick, issue still persists
    can you also help clarify what you meant by "configuring the switch ports on the servers"?
    thanks again

  • Webkit. How to connect external javascript from dir C:

    I can't execute javascript from dir C:
    I have some html, that I load in Webkit with loadContent(). In that html invoked function test(). Function contains in a separate javascript file.
    <head>     
    <script language='javascript' type='text/javascript' src="file:///C:/temp/test.js"></script>
    <script>
         function getText() { var val = document.getElementById('text_area').value;
              prompt('getText', "val");
    </script>          
    </head>
    <body>
           <textarea id='text_area' name='text_area' style="width:100%; height:100%"></textarea>     
           <script> test(); </script>
    </body>External javascript (test.js)
    function test() {
            alert('It works!');
         getText();           
    }External js doesn't work. PromptHandler (AlertHandler) doesn't catch anything. If I use wEngine.executeScript('test'), appear error: netscape.javascript.JSException: ReferenceError: Can't find variable: getText.
    But that code works on any other browsers.

    Thank you for the problem report!
    This looks like a bug in WebView. A Jira issue has been filed to track this: http://javafx-jira.kenai.com/browse/RT-17330. Note that the issue may end up classified as not-a-bug because the ability to run local scripts from dynamic contents may be considered a security hole.
    As a workaround, try saving your HTML into a temporary file and load it using WebEngine.load(). It should work as in any other browser. Another option is to include all necessary code in the HTML document loaded with WebEngine.loadContent(), but I gather that is undesirable in your case.
    Edited by: 890759 on Oct 11, 2011 5:19 AM
    Edited by: 890759 on Oct 11, 2011 5:21 AM

  • Old CRM 4.0 Javascripts (hard to make sense of)

    We're in the process of moving an on premise CRM from 4.0 to 2013.   Our goal is just to get an idea of what the original programmer was trying to do - and replicate the functionality in 2013 ideally NOT using javascript (but using javascript if
    necessary).
    We've figured out a lot by ourselves.  In these blocks of code we can use some advice.  All of this pertains to the account entity.  If you can, please explain what you think the programmer was trying to acheive and the most practical method
    for achieving it in 2013.
    By the way: &#38; means &
    &#60;  means <
    Code Block 1:
    var disable = false;
    crmForm.all.ftgbase_accounttypeid.Disabled = disable;
    if (crmForm.all.ftgbase_accounttypeid &#38;&#38; crmForm.all.ftgbase_accounttypeid.DataValue != null)
        disable = (crmForm.all.ftgbase_accounttypeid.DataValue[0].name == "Distributor");
    crmForm.all.ftgbase_accounttypeid.Disabled = disable;
    for (var ctr = 1 ; ctr &#60;4 ; ctr++)
       var lu = crmForm.all("ftgbase_userdefined" + ctr + "id");
        if (lu != null)
            if (crmForm.all.ftgbase_accounttypeid.DataValue != null)
                lu.AddParam("search", crmForm.all.ftgbase_accounttypeid.DataValue[0].name);
                lu.Disabled = false;
            lu.Disabled = (disable || crmForm.all.ftgbase_accounttypeid.DataValue == null);
    Code Block 2:
    window.ftgAddRelatedRecord = new Function("fromType", "relatedType", "var sUrl = '?_CreateFromType=' + fromType + '&#38;_CreateFromId=' + crmForm.ObjectId; openFrmObj( sUrl, buildWinName(), relatedType );");
    window.ftgAddTask = new Function("type", "var sParentId   = null; var sParentType = null; var sParentName = null; var accountId = crmForm.ObjectId;sParentId   = crmForm.ObjectId; sParentType = 1; sParentName = crmForm.all.name.DataValue;
    addActivityTo(type, sParentId, sParentType, sParentName, null, null, null, null, null);");
    Code Block 3:
    window.snapshotreport = new Function("var SERVER_URL = window.location.protocol + '//' + window.location.host; var url = SERVER_URL + '/crmreports/viewer/viewer.aspx?action=run&#38;id={FDDCE2E1-DD32-DE11-BAE5-000C29BFF7C5}&#38;context=records&#38;recordstype=1&#38;records='
    + crmForm.ObjectId + '&#38;helpID=Customer%20Snapshot.rdl'; var x = window.showModalDialog(url,'','dialogWidth:735px;dialogHeight:550px');");
    var navElement = document.getElementById('nav_ftgbase_snapshot_report');
    if (navElement != null)    
        navElement.onclick = function LoadAreaOverride()
            snapshotreport(); event.cancelBubble = true;
    var userId2 = getUserId();
    Code Block 4:
    var accountId = crmForm.ObjectId;
    window.CompetitiveInfo = new Function("var SERVER_URL = window.location.protocol + '//' + window.location.host; var url = SERVER_URL + '/ISV/competitiveinfo/products.aspx?orgId=9ddfde93-3d6a-dd11-be84-000c29bff7c5&#38;salesCallId="+accountId
    +"&#38;userId="+userId2+"&#38;time=1284312665602'; var x = window.showModalDialog(url,'','dialogWidth:735px;dialogHeight:550px');");
    Code Block 5
    UpdateAssociatedCompetitiveInfoButtons('account_ftgbase_competitiveInfos', 'Add existing Competitive Info to this record');
    function UpdateAssociatedCompetitiveInfoButtons(loadAreaId, buttonTitle)
       var navElement = document.getElementById('nav_account_ftgbase_competitiveInfos');
        if (navElement != null)
            navElement.onclick = function LoadAreaOverride()
                // Call the original method to launch the navigation link
                loadArea(loadAreaId);
                var associatedViewIFrame = document.getElementById('account_ftgbase_competitiveInfosFrame');
                if (associatedViewIFrame != null)
                    associatedViewIFrame.onreadystatechange = function HideTitledButton()
                        if (associatedViewIFrame.readyState == 'complete')
                            var iFrame = frames[window.event.srcElement.id];
                            var liElements = iFrame.document.getElementsByTagName('li');
                            for (var i = 0; i &#60; liElements.length; i++)
                                if (liElements[i].getAttribute('title') == 'Add a new Competitive Info to this record')
                                    liElements[i].onclick = function LoadAreaOverride()
            CompetitiveInfo();
                                              // event.cancelBubble
    = true;
                               //     liElements[i].style.display = 'none';
                                //    break;
                                if (liElements[i].getAttribute('title') == 'Add existing Competitive Info to this record')
                                    liElements[i].style.display = 'none';
                                    break;

    We're in the process of moving an on premise CRM from 4.0 to 2013.   Our goal is just to get an idea of what the original programmer was trying to do - and replicate the functionality in 2013 ideally NOT using javascript (but using javascript if
    necessary).
    We've figured out a lot by ourselves.  In these blocks of code we can use some advice.  All of this pertains to the account entity.  If you can, please explain what you think the programmer was trying to acheive and the most practical method
    for achieving it in 2013.
    By the way: &#38; means &
    &#60;  means <
    Code Block 1:
    var disable = false;
    crmForm.all.ftgbase_accounttypeid.Disabled = disable;
    if (crmForm.all.ftgbase_accounttypeid &#38;&#38; crmForm.all.ftgbase_accounttypeid.DataValue != null)
        disable = (crmForm.all.ftgbase_accounttypeid.DataValue[0].name == "Distributor");
    crmForm.all.ftgbase_accounttypeid.Disabled = disable;
    for (var ctr = 1 ; ctr &#60;4 ; ctr++)
       var lu = crmForm.all("ftgbase_userdefined" + ctr + "id");
        if (lu != null)
            if (crmForm.all.ftgbase_accounttypeid.DataValue != null)
                lu.AddParam("search", crmForm.all.ftgbase_accounttypeid.DataValue[0].name);
                lu.Disabled = false;
            lu.Disabled = (disable || crmForm.all.ftgbase_accounttypeid.DataValue == null);
    Code Block 2:
    window.ftgAddRelatedRecord = new Function("fromType", "relatedType", "var sUrl = '?_CreateFromType=' + fromType + '&#38;_CreateFromId=' + crmForm.ObjectId; openFrmObj( sUrl, buildWinName(), relatedType );");
    window.ftgAddTask = new Function("type", "var sParentId   = null; var sParentType = null; var sParentName = null; var accountId = crmForm.ObjectId;sParentId   = crmForm.ObjectId; sParentType = 1; sParentName = crmForm.all.name.DataValue;
    addActivityTo(type, sParentId, sParentType, sParentName, null, null, null, null, null);");
    Code Block 3:
    window.snapshotreport = new Function("var SERVER_URL = window.location.protocol + '//' + window.location.host; var url = SERVER_URL + '/crmreports/viewer/viewer.aspx?action=run&#38;id={FDDCE2E1-DD32-DE11-BAE5-000C29BFF7C5}&#38;context=records&#38;recordstype=1&#38;records='
    + crmForm.ObjectId + '&#38;helpID=Customer%20Snapshot.rdl'; var x = window.showModalDialog(url,'','dialogWidth:735px;dialogHeight:550px');");
    var navElement = document.getElementById('nav_ftgbase_snapshot_report');
    if (navElement != null)    
        navElement.onclick = function LoadAreaOverride()
            snapshotreport(); event.cancelBubble = true;
    var userId2 = getUserId();
    Code Block 4:
    var accountId = crmForm.ObjectId;
    window.CompetitiveInfo = new Function("var SERVER_URL = window.location.protocol + '//' + window.location.host; var url = SERVER_URL + '/ISV/competitiveinfo/products.aspx?orgId=9ddfde93-3d6a-dd11-be84-000c29bff7c5&#38;salesCallId="+accountId
    +"&#38;userId="+userId2+"&#38;time=1284312665602'; var x = window.showModalDialog(url,'','dialogWidth:735px;dialogHeight:550px');");
    Code Block 5
    UpdateAssociatedCompetitiveInfoButtons('account_ftgbase_competitiveInfos', 'Add existing Competitive Info to this record');
    function UpdateAssociatedCompetitiveInfoButtons(loadAreaId, buttonTitle)
       var navElement = document.getElementById('nav_account_ftgbase_competitiveInfos');
        if (navElement != null)
            navElement.onclick = function LoadAreaOverride()
                // Call the original method to launch the navigation link
                loadArea(loadAreaId);
                var associatedViewIFrame = document.getElementById('account_ftgbase_competitiveInfosFrame');
                if (associatedViewIFrame != null)
                    associatedViewIFrame.onreadystatechange = function HideTitledButton()
                        if (associatedViewIFrame.readyState == 'complete')
                            var iFrame = frames[window.event.srcElement.id];
                            var liElements = iFrame.document.getElementsByTagName('li');
                            for (var i = 0; i &#60; liElements.length; i++)
                                if (liElements[i].getAttribute('title') == 'Add a new Competitive Info to this record')
                                    liElements[i].onclick = function LoadAreaOverride()
            CompetitiveInfo();
                                              // event.cancelBubble
    = true;
                               //     liElements[i].style.display = 'none';
                                //    break;
                                if (liElements[i].getAttribute('title') == 'Add existing Competitive Info to this record')
                                    liElements[i].style.display = 'none';
                                    break;

  • AJAX - JavaScript - HTML

    Hi all,
    I am currently trying to find editors or IDEs for AJAX,HTML,Java.
    I am currently using Eclipse for my JAVA projects. Can you please suggest me which editor do you prefer to write html,javascript, or AJAX. I am not really interested in visual editing just code.
    Thank you all take care
    Adam

    You'd be better off posting this question in an HTML, Javascript or AJAX forum.

  • ECC and CRm Connectivity

    Hey all,
    I've been working according the best practices
    CRM Replication
    Building Block Configuration Guide
    to connect an IDES CRM 4 to and IDES R3.
    After many problems the connection between the systems is working and data is replicating,
    but there are some problems because those are IDES systems and there is already data in the systems I get some errors, that I don't know how to deal with.
    In Tx. SMW01 I can see the following errors:
    1. For the MATERIAL queue:
      a. EAN 2348789098765432 does not correspond to the GTIN format and cannot be transferred
      b. Plant 1000 is not assigned to any location
    2. For the Customer_Main queue:
    Customer number 403740 is already assigned to a business partner
    Technical error occurred (4)
    3. For the sales queue:
       Processing of document with Guid 4B683CC54CC25C498F0113CC4A211F16 is canceled
       Business transaction type SO does not exist
       Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG.
    How can I fix those errors, its look like customizing errors...
    Thanks alot
    Natti.

    Hi,
    Any update onthe above issue. I am also facing the same problem.
    Regards,
    Khan

  • XML Vs Javascript/HTML

    Hi! All JDeveloper's Support Group. Normally
    I used Javascript and HTML to create my
    webpage. But recently, I found that XML
    is very much better. Can the code in my
    present Javascript and HTML be enhanced but
    with the mixture of XML? Will the output
    be browsable with any browser, that is,
    IE or Netscape or other browser? Pls let
    me know soon. Thanks & best regards.

    You might want to check out Oracle's XSQL Servlet. It's a free web publishing framework that caters to SQL/XML/XSLT/Java publishing of database information over the web.
    JDev 3.2 ships with BC4J-integration for XSQL Servlet as well.
    http://technet.oracle.com/tech/xml
    Click on "XDK for Java".

Maybe you are looking for