• RELEVANCY SCORE 3.82

    DB:3.82:Webresource Axd pd





    Caros colegas,minha aplicação esta gerando muito arquivos nesta extenção e de tamanho consideravel causando lentidão, gostaria de saber o q eles fazer exatamente e como melhorar o desempenho da minha aplicação já q eles representam mas de 80% do trafego do meu sistema.será que tem como o cliente fazer cache destes arquivos?

    DB:3.82:Webresource Axd pd

    Ola Mariano,Eis aqui a sua utilidade: http://aspnet.4guysfromrolla.com/articles/080906-1.aspx
     

  • RELEVANCY SCORE 3.82

    DB:3.82:Webresource.Axd 404 Errors a7








    Windows Server 2003
    Microsoft-IIS/6.0
    asp.net 2.0
    PLESK 9.5.4

    Hi
    I have a website on an hosting service.
    From fiew days i have a great problem. My log files report thousands of 404 errors for the webresource.axd file, but pages are correctly loaded. My hosting service says : parallels is working on the problem.
    Well. Can i write something in web.config file to avoid this problem?
    thx

    DB:3.82:Webresource.Axd 404 Errors a7




    Windows Server 2003
    Microsoft-IIS/6.0
    asp.net 2.0
    PLESK 9.5.4

    Hi
    I have a website on an hosting service.
    From fiew days i have a great problem. My log files report thousands of 404 errors for the webresource.axd file, but pages are correctly loaded. My hosting service says : parallels is working on the problem.
    Well. Can i write something in web.config file to avoid this problem?
    thx

  • RELEVANCY SCORE 3.53

    DB:3.53:Refresh Silverlight Webresource 7j





    Hello,
    I'm working on a silverlight webresource,
    Is there anyway to add a button that when clicked reloads the silverlight webresource only ?? and doesn't reload all the crm form ??
    Thanks

    Zarour

    DB:3.53:Refresh Silverlight Webresource 7j

    I've always used:
    namespace for refresh page :
    using System.Windows.Browser;
    code: give this code inside ur button click..
    HtmlPage.Document.Submit();I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
    Mubasher Sharif
    Check out my about.me profile!
    http://mubashersharif.blogspot.com
    Linked-In Profile
    Follow me on Twitter!

  • RELEVANCY SCORE 3.18

    DB:3.18:Xrm Utility Html Webresource Window Properties Set Programatically Using Jscript ? How? 98


    Hello Experts,
    I opened the HTML Webresource using Xrm.Page.utility ,I want that HTML webresource window should not have toolbar,menubar and statusbar How can I set these properties in Xrm.page.utility,Please suggest..

    Thanks and Regards
    Muralikrishna

    DB:3.18:Xrm Utility Html Webresource Window Properties Set Programatically Using Jscript ? How? 98

    Thanks Santosh,
    I tried as you said it is working .

    Thanks and regards
    Muralikrishna

  • RELEVANCY SCORE 3.08

    DB:3.08:Using Jquery In Crm 2011 To Change Data Not Working 3c


    I am having simple javascript function as webresource to set the phone number on change event of email attribute on account entity.
    function testingchange()
    {$(#telephone2).val('123456789');}
    On changing the email id my phone number is set to 123456789 but when I save the form, phone number never gets saved. I am using jquery1.4.1.min.js webresource file on account entity form libraries. Xrm.Page.getAttribute('telephone2').setValue('123456789')
    works but not the above jquery method. Any clues?
    Thanks/Guru

    DB:3.08:Using Jquery In Crm 2011 To Change Data Not Working 3c

    Changing values through jQuery is not supported, to change/retrieve values you need to use Xrm.Page.*Kids don't try this at home!

  • RELEVANCY SCORE 3.00

    DB:3.00:Problem Accessing Images On Web Part For Image Button p8


    I have created a web part with some image buttons on but I cannot seem to set the imageurl properly.
    I tried adding the image as an embeded resource before deployment and setting the image button markup as
    img originalsrc=%=WebResource(SharePointWebParts.images.plus.gif)%' alt=toggle onclick=toggleOrderDetails(this) /
    making sure to add
    [assembly: WebResource(SharePointWebParts.images.minus.gif, image/gif)]
    into the AssemblyInfo file. This throws an error WebResource not found when running the code.
    I then tried another method for adding images to an image button

    ImageButton ib = (ImageButton)e.Item.FindControl(ib1); //find imagebutton
    string path = ib.CommandArgument; //get full filepath by CommandArgument
    string exten = path.Substring(path.LastIndexOf(.)); //get index of '.'
    if (exten == .pdf)
    ib.ImageUrl = cs.GetWebResourceUrl(rsType, SharePointWebParts.images.pdf_icon_16.gif);

    This even returns a value as below but still the image does not display
    WebResource.axd?d=sFLD-YdO53WjRVC9rPJwct0DJ2EN4KLbv-enpqrBoDK57XBGPpIJZpduwzQAQtn9jStoSNYejdM_biUWchTwHXahrFAAtO77VBNCfHm5j4LGsmA0m4BFuZANduLMwoqt1YPkdiI6xe3Z3XU4X5Fzwev9XE9GwSKd6qq1CUBLmzyZk-G_-vG-BaRmOdACETq_DM_GFA2t=634702765059502356

    DB:3.00:Problem Accessing Images On Web Part For Image Button p8

    Hi James,
    In my opinions, you should not add the picture as a resource file, you'd better to add a mapped folder and then add the picture to this folder.
    You can do as below steps:

    1.Right click the project name, select add--Sharepoint images mapped folder.
    2.There will be a folder list in the project, add the picture you want to use in this folder.
    Thanks,
    Simon

    Simon Huang
    TechNet Community Support

  • RELEVANCY SCORE 2.93

    DB:2.93:How To Retrieve Values Of Variables From Html Webresource To Crm2011 Entites? fd


    hi,
    i have a HTML webresource attached to my custom entity.
    now my requirement is to get the value of one of the variables present in HTML web resource.
    help me to achieve this.

  • RELEVANCY SCORE 2.92

    DB:2.92:Publishing A Webreference From Code... cd


    Hi,
    I'm attempting to publish a WebResource from code but I'm not sure I understand the Publish Request Schema currently because even though I don't get an error, the web resource isn't published.
    Here is a sample of what I'm doing.

    string webResourceXml = webresourceswebresource+ webResource.Id.ToString() +/webresource/webresources;

    PublishXmlRequest publichReq = new PublishXmlRequest()
    {
    ParameterXml = webResourceXml
    };

    PublishXmlResponse response = (PublishXmlResponse)service.Execute(publichReq);

    DB:2.92:Publishing A Webreference From Code... cd

    Ignore this post, I just found out that I'm passing the wrong XML :)
    I was missing importexportxml.../importexportxml around my XML.

  • RELEVANCY SCORE 2.80

    DB:2.80:Add Webresource Or Iframe Ms Crm 2013 8c


    Hi All,
    Is it possible to add webresource or iframe between ribbon button tab and information.

    Check the below screenshot.
    Supported or Unsupported by any way provide solution.
    Thanks

    DB:2.80:Add Webresource Or Iframe Ms Crm 2013 8c

    The property window of iframe must be there as it is present with all the fields. Open form in design mode and double click the iframeRegards Faisal

  • RELEVANCY SCORE 2.79

    DB:2.79:Use Frame Inside Iview j8



    Hi.

    I try to create iview and this iview has frame.

    So,I created portal component and made test JSP file like this.

    This code doesn't work.

    Anybody know how to use frame inside iview ?

    Regards, Arnold.

    HTML

    HEAD

    TITLE/TITLE

    %

    String webResource = componentRequest.getWebResourcePath();

    String strTop = webResource + "/pagelet/top.jsp";

    String strBottom = webResource + "/pagelet/bottom.jsp";

    %

    frameset rows="110,*" border=0

    frame src="%= strTop %" name="top"

    frame src="%= strBottom %" name="botton" scrolling="auto"

    /HEAD

    BODY

    /BODY

    /HTML

    DB:2.79:Use Frame Inside Iview j8


    Hi,

    have the answers been of any value for you? If yes, please consider rewarding points for helpful answers! Thanks in avance!

    Best regards

    Detlev

  • RELEVANCY SCORE 2.79

    DB:2.79:Problema Con Webresource.Axd Y Url Rewrite px


    He creado varios callbacks en mi aplicacion asp.net vb que funcionaban perfectamente en local. Al subirlos al servidor, que tiene activado el modulo urlrewrite, veo que fallan, se quedan cargando eternamente.
    Esta URL provoca el error 500 (Module URL Rewrite):
    http://www.xxxxxxxxx.com/WebResource.axd?d=q8XiaAN4mxE_dItp-F5tZ_67kiCg7kr9wAsoOclC4Vn-crPscSWAxjCkWJDMCGiSafKGoDHT05UIoxltIKPmnxxwBRE1t=634604460479085897
    En el webconfig tengo esto:
    rules
    rule name=RedirectUserFriendlyURL1 stopProcessing=true
    match url=^index\.aspx$ /
    conditions
    add input={REQUEST_METHOD} pattern=^POST$ negate=true /
    add input={QUERY_STRING} pattern=^opc1=([^=amp;])$ /
    add input={URL} negate=true pattern=\.axd$ /

    /conditions
    action type=Redirect url={C:1} appendQueryString=false /
    /rule
    rule name=RewriteUserFriendlyURL1 stopProcessing=true
    match url=^([^/])/?$ /
    conditions
    add input={REQUEST_FILENAME} matchType=IsFile negate=true /
    add input={REQUEST_FILENAME} matchType=IsDirectory negate=true /
    add input={URL} negate=true pattern=\.axd$ /

    /conditions
    action type=Rewrite url=index.aspx?opc1={R:1} /
    /rule
    rule name=RedirectUserFriendlyURL2 stopProcessing=true
    match url=^index\.aspx$ /
    conditions
    add input={REQUEST_METHOD} pattern=^POST$ negate=true /
    add input={QUERY_STRING} pattern=^opc1=([^=amp;])amp;opc2=([^=amp;])$ /
    add input={URL} negate=true pattern=\.axd$ /

    /conditions
    action type=Redirect url={C:1}/{C:2} appendQueryString=false /
    /rule
    rule name=RewriteUserFriendlyURL2 stopProcessing=true
    match url=^([^/])/([^/])/?$ /
    conditions
    add input={REQUEST_FILENAME} matchType=IsFile negate=true /
    add input={REQUEST_FILENAME} matchType=IsDirectory negate=true /
    add input={URL} negate=true pattern=\.axd$ /

    /conditions
    action type=Rewrite url=index.aspx?opc1={R:1}amp;opc2={R:2} /
    /rule
    /rules
    Como vereis he añadido la linea
    add input={URL} negate=true pattern=\.axd$ /
    a las entradas para que los ficheros .axd no tengan el efecto del url rewrite. No se que puede estar pasando, y espero que alguien pueda aconsejarme para poder solucionar el problema.
    Muchas gracias.

    Balta

    DB:2.79:Problema Con Webresource.Axd Y Url Rewrite px

    Hola de nuevo, nadie sabe a que puede deberse? Yo creo que tiene que ser algo facil de solucionar pero no encuentro la forma, crei que con el codigo que puse se arreglaba
    add input={URL} negate=true pattern=\.axd$ /

    Gracias, saludos!Balta

  • RELEVANCY SCORE 2.79

    DB:2.79:Drildown - Html Webresource In A Chart Pane mx


    I have imported a chart xml using an HTML WebResource for a target entity. I'd like to know if it is possible to change the records displayed in the grid from my WebResource, similar to when you click on a bar in a chart, the grid will be updated with the
    records of the clicked bar only.
    Thanks!

    DB:2.79:Drildown - Html Webresource In A Chart Pane mx

    I have imported a chart xml using an HTML WebResource for a target entity. I'd like to know if it is possible to change the records displayed in the grid from my WebResource, similar to when you click on a bar in a chart, the grid will be updated with the
    records of the clicked bar only.
    Thanks!

  • RELEVANCY SCORE 2.78

    DB:2.78:Open Form When Pressing On A Webresource Image.... 99


    Hi everyone.
    I have created a webresource that displays an image on the account entity.
    I want it so that whenever a user clicks on that image they will open up a new form to add a note relating to that account.
    Do I need to turn the webresource to a button and use an OnClick event?

    DB:2.78:Open Form When Pressing On A Webresource Image.... 99

    You can attach the onclick event to an image as well.
    document.getElementById(image).attachEvent(onclick, function () { alert(Clicked!); }, false);

  • RELEVANCY SCORE 2.78

    DB:2.78:Webresource.Axd - Esta Solicitao De Recurso Invlida (Invalid Webresource Request) 1z


    Ol, meu site no est gerando o arquivo WebResource.axd . Quando acesso pelo browser o endereo completo do arquivo WebResource.axd recebo o erro:

    System.Web.HttpException: Essa solicitao de recurso da Web invlida (invalid webresource request).

    O normal exibir o cdigo JavaScriptdo ASP.NET no lado do cliente, isso est acontecendo em todas as pginas do site. J procurei vrias referncias na Web,tentei executar o comando asnet_regiis.exe
    i limpar o cache do ASP.Net no servidor porm o erro continuar.

    Algum pode ajudar a resolver esse problema?

    DB:2.78:Webresource.Axd - Esta Solicitao De Recurso Invlida (Invalid Webresource Request) 1z

    Veja
    http://forums.asp.net/t/1020915.aspxNão esqueça de usar o componente / na barra para posta seu código. Microsoft MCPD,MCTS,MCC

  • RELEVANCY SCORE 2.78

    DB:2.78:How To Retrieve Image From Webresource And Show It In Fetchxml Report (Crm 2011 Online) pz



    Hi,

    Is it possible at all to load image from CRM 2011 Online WebResource and show it on the Report (FetchXML)? Any samples, suggestion or tutorials
    wanted :).

    Appreciate your help.

    DB:2.78:How To Retrieve Image From Webresource And Show It In Fetchxml Report (Crm 2011 Online) pz

    HI,
    I also have the same requirement as getting the Logo Image from web resource and displaying in Reprot with FetchXML.
    I tried same as above but no luck.
    Can anyone give suggestions to overcome this.
    Thanks Regards
    M. Prasad Reddy.

  • RELEVANCY SCORE 2.78

    DB:2.78:Soap Receiver Adapter Problem (Client Certificate Required) p7



    My Scenario is similar to described in https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3721. [original link is broken] [original link is broken] [original link is broken] I have two PI servers running on one machine. I am trying to post message HTTPS with Client authentication via SOAP adapter from one PI system to SOAP adapter of other PI server. I have done the following configuration.

    PI Server AXD - (Client) - Receiver SOAP adapter

    PI Server AXQ - (Server) - Sender SOAP Adapter.

    Steps in AXD

    1. I have created a certificate of AXD in the service_ssl view of key storage.

    2. I have imported the AXQ public certificate in to AXD in the TrustedCAs of Key storage

    Steps in AXQ

    1. I have created a certificate of AXQ in the service_ssl view of key storage.

    2. I have imported the AXD public certificate in to AXQ in the TrustedCAs of Key storage.

    3. I have created a user in AXQ and assigned the certificate of AXD under usermangement in Security provider to this user.

    4. I have added the AXD certificate under Client Authentication tab with require client certificate option checked in the SSL Provider.

    5. I have assigned the user created in AXQ in the step above to the Sender Agreement.

    Now when I post message from AXD with Configure Client Authentication checked (Here I have selected the certificate of AXD and view as service_ssl) I am getting the following error.

    Exception caught by adapter framework: SOAP: response message contains an error XIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION - java.security.AccessControlException: client certificate required at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:884) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_3

    Any pointer to solve this problem is highly appreciated.

    Thanks

    Abinash

    DB:2.78:Soap Receiver Adapter Problem (Client Certificate Required) p7


    Hi Hemant,

    I have couple of questions. Why do we need to import certificate for SOAP WS-Security and from where I can get it?

    As far as my scenario goes I am not using message level security.

    Secondly what do you mean by TRUSTED/WebServiceSecurity? I don't see any such view inside the Key Storage. I can see a view named just WebServiceSecuity though.

    Also I don't have a decentralized adapter installation rather I have two separate PI instances having their own central adapter engine.

    Abinash

  • RELEVANCY SCORE 2.74

    DB:2.74:Refresh Content Inside Tab Crm 2011 Using Javascript 73


    Hello Experts
    I put html webresource inside one tab.For field onchange event I must refresh that tab (where html webresource available).How can I achieve this.Please let me know any one worked on that.
    Thanks and Regards
    murali

    DB:2.74:Refresh Content Inside Tab Crm 2011 Using Javascript 73

    Hi Murali,
    Refer to following thread for the same topic:
    http://social.microsoft.com/Forums/en-US/69e7d774-8b02-475b-b4c0-6871c989ac96/refreshing-a-web-resource-on-a-form-crm-2011?forum=crmdevelopment
    I am not sure why do you need webresource in IFrame. If there isa need to show then the URL for the web resource can be used in Iframe. But more effectively you can load the Iframe URL in script using following link:
    http://social.microsoft.com/Forums/en-US/4a7877a0-5ab7-4a6f-9e74-5633f6a9ed3d/ms-crm-2011-how-to-set-source-url-to-iframe-present-in-the-section-through-the-javascript?forum=crmdevelopment

    Hope this helps.

    -----------------------------------------------------------------------
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/

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

  • RELEVANCY SCORE 2.74

    DB:2.74:Display Records In Html Table Using Fetchxml 8k


    Is there a way to retrieve records using fetchXml and display them in HTML webresource using TABLE and Javascript?

    Frank

  • RELEVANCY SCORE 2.74

    DB:2.74:Business Rule And Webresource Conflict 71


    Hi,
    I have a business rule that makes a 'case' entity to 'Closed' status when 'Priority' ischanges to 0.
    Also before closing a case, validations are checked through JavaScript webresource(OnChange event of CaseStatus field).

    But the business rule is firing when priority changes to 0 and making the case status as 'Closed' without checking the validations.
    Is it because CaseStatus field is not changed manually and OnChange event has not happened?
    Please suggest a solution for this scenario..
    Thanks

    DB:2.74:Business Rule And Webresource Conflict 71

    please check the limitations section of the following article. Onchange is suppressed when business rules are run on a field. Please use JavaScript to do the action, or use a plugin to accomplish the business rule.
    http://msdynamicscrmblog.wordpress.com/2013/11/05/business-rules-in-dynamics-crm-2013/
    regards

    Jithesh

  • RELEVANCY SCORE 2.74

    DB:2.74:Mscrm 2011: How To Cancel The Autoreload For Webresources After Navigating To Another Related Entity (Left Pane) 33


    I use a html WebResource (for instance the html WebResource from the SDK Solution REST JQuery Contact Editor , where I can edit a list of contacts)
    I customize this WebResource on a Form, I open the Form and input some data
    in the List).
    Then I click on the left navigation pane (fr instance I click on Activities).
    When I come back to the Form, the data that I've
    filled in the Contact List (Webresource) ist gone, because the WebResource was reloaded.
    Of course I can stop that data loss through onbeforeunload, but then I have to accept that every time when I click on the left pane I have to confirm that I don't want to lose the data. That's irritating.

    My question is: How can I prevent the autoreloading of WebResourcesafter clicking of the left pane?
    Best Regards,
    Diana Birkelbach

    DB:2.74:Mscrm 2011: How To Cancel The Autoreload For Webresources After Navigating To Another Related Entity (Left Pane) 33

    Unfortunately, there is not much that you can do to make that happen due to the fact that HTTP is a stateless protocol, and CRM navigation is based on HTTP URL.
    One thing I think you could advise to your client users is, when they need to work onthis type ofweb resource page for a long period of time, they can leave the page open as it is, but open another CRM homepage in a different browser tab (CtrlT)or
    even a new window (CtrlN) so that they can perform other tasks there.
    Hope this helps.Daniel Cai | http://danielcai.blogspot.com

  • RELEVANCY SCORE 2.74

    DB:2.74:Upgrade Microsoft Dynamics Crm 2010 - Crm 2013, Legacyfeaturecheck Error (On-Premise) s7


    Hi guys, got an problem with an inplace upgrade, when I run the legacy feature check I got the errors below.

    Error: WebResource - Web resource mp_/js/license/form.js contains a reference to
    the 2007 web service endpoint
    Error: WebResource - Web resource mp_/js/import/form.js contains a reference to
    the 2007 web service endpoint
    Error: WebResource - Web resource mp_/js/annualreport/form.js contains a referen
    ce to the 2007 web service endpoint
    Error: WebResource - Web resource mp_/js/creditcheck/form.js contains a referenc
    e to the 2007 web service endpoint
    Error: WebResource - Web resource mp_/js/common.js contains a reference to the 2
    007 web service endpoint

    Anyone have a clue where I can find the files and correct the errors? Or is there any Tools to correct this errors?

    DB:2.74:Upgrade Microsoft Dynamics Crm 2010 - Crm 2013, Legacyfeaturecheck Error (On-Premise) s7

    Thank you very much.

    It was a crappy third-party solution, So im going to remove the solution to get the upgrade working.

    Cheers.

  • RELEVANCY SCORE 2.68

    DB:2.68:Trouble Connecting To Newegg.Com, Clearing Cachs And Cookies Doesnt Work. This Happened After Updating To Firefox 16. zj



    Timestamp: 10/18/2012 6:48:24 PM
    Error: SyntaxError: XML tag name mismatch (expected frame)
    Source File: http://images10.newegg.com/WebResource/Scripts/USA/TP_Cretio/criteo_ld.js
    Line: 3, Column: 2
    Source Code:
    /frameset

    Timestamp: 10/18/2012 7:20:00 PM
    Error: The stylesheet http://images10.newegg.com/WebResource/Themes/2005/CSS/USA/newegg.v1.w.7210.0.css was not loaded because its MIME type, "text/html", is not "text/css".
    Source File: http://www.newegg.com/
    Line: 0

    Timestamp: 10/18/2012 7:20:00 PM
    Error: The stylesheet http://images10.newegg.com/WebResource/Themes/2005/CSS/USA/home2011.v1.w.7298.0.css was not loaded because its MIME type, "text/html", is not "text/css".
    Source File: http://www.newegg.com/
    Line: 0

    Timestamp: 10/18/2012 7:20:03 PM
    Error: TypeError: Web.Caching is undefined
    Source File: http://www.newegg.com/
    Line: 32

    Timestamp: 10/18/2012 7:20:03 PM
    Error: SyntaxError: XML tag name mismatch (expected frame)
    Source File: http://images10.newegg.com/WebResource/Scripts/USA/Common/WebApplication.v1.w.6952.1.js
    Line: 3, Column: 2
    Source Code:
    /frameset

    Timestamp: 10/18/2012 7:20:03 PM
    Error: SyntaxError: XML tag name mismatch (expected frame)
    Source File: http://images10.newegg.com/WebResource/Scripts/USA/Common/PageDisplayLib.v1.w.6936.0.js
    Line: 3, Column: 2
    Source Code:
    /frameset

    Timestamp: 10/18/2012 7:20:03 PM
    Error: SyntaxError: XML tag name mismatch (expected frame)
    Source File: http://images10.newegg.com/WebResource/Scripts/USA/WWW/ShellShocker.v1.w.6936.0.js
    Line: 3, Column: 2
    Source Code:
    /frameset

    Timestamp: 10/18/2012 7:20:03 PM
    Error: SyntaxError: XML tag name mismatch (expected frame)
    Source File: http://images10.newegg.com/WebResource/Scripts/USA/Common/jquery-1.4.3.min.js
    Line: 3, Column: 2
    Source Code:
    /frameset

    Timestamp: 10/18/2012 7:20:03 PM
    Error: SyntaxError: XML tag name mismatch (expected frame)
    Source File: http://images10.newegg.com/WebResource/Scripts/USA/Common/swfobject.v1.5.js
    Line: 3, Column: 2
    Source Code:
    /frameset

    Timestamp: 10/18/2012 7:30:20 PM
    Error: TypeError: Web.Caching is undefined
    Source File: http://www.newegg.com/
    Line: 32

    Timestamp: 10/18/2012 9:07:54 PM
    Error: this.docShell is null
    Source File: chrome://global/content/bindings/browser.xml
    Line: 323

    Newegg.com is the only website I'm having problems with. Scans show no signs of malware. The other newegg websites work fine oddly enough. So does every other website I use. When trying to connect, the website's address shows but the page is totally blank or certain pictures are missing. Refreshing doesn't help

    DB:2.68:Trouble Connecting To Newegg.Com, Clearing Cachs And Cookies Doesnt Work. This Happened After Updating To Firefox 16. zj



    If you use extensions (Tools Add-ons Extensions) like Adblock Plus or NoScript or Flash Block that can block content then make sure that such extensions aren't blocking content.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools Add-ons Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools Add-ons Appearance).

    Do not click the Reset button on the Safe mode start window or otherwise make changes.

    https://support.mozilla.org/kb/Safe+Mode
    https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • RELEVANCY SCORE 2.67

    DB:2.67:Webresource.Axd Handler Error Message mj





    We’re trying to setup an ASP.Net 2.0 Web site on Windows 2008 / Plesk 8.6 and we’re running into some trouble. Im getting the following error message:
    The WebResource.axd handler must be registered in the configuration to process this request

    Here is the actual link of my site: http://66.132.238.105/main/login.aspx?ReturnUrl=/listings/listings.aspx

    The error appears to only be on ASP.NET pages with validation controls. We searched the Internet and found a forum post that describes the problem I am having as well as what happens when I make the changes suggested by the error message to the web.config file. Here is the forum link: http://forums.iis.net/p/1147595/1862138.aspx and I’m attaching a screenshot of the error message I get when clicking the Plesk ASP.NET icon.

    You can view this screenshot here: http://www.jmwebdesigns.com/temp/Capture.gif

    Can someone at Plesk please instruct me on what’s going on and to help provide a solution ASAP? Thanks!

  • RELEVANCY SCORE 2.67

    DB:2.67:Re: 9s


    What program is used to open an AXD file. The IV6 object model has this
    extension.

    Thanks,

    --
    Wayne Massey

    DB:2.67:Re: 9s

    I've posted a PDF version of the chart in customer files.

    -Brian

    "Randall A. Maxey" wrote in message
    news71F8795033851366331DE285620F1E7@in.WebX.maYIadrTaRb...
    Since Actrix is a dead product, could someone from Autodesk re-post the
    file
    as a PDF?

    Thanks,

    --Randy

    "Kent Keller" wrote in message
    news:AACC5A88A5D9B4F4EBB1BB5945C9DAE5@in.WebX.maYIadrTaRb...
    Brian

    What version of Actrix was that made with? Why Actrix... so few people
    have it? My copy
    says it is "Unexpected File Format"?

    I figured I would go find the PDF on the web, but this is apparently
    where
    Wayne got it
    from and it is in the Actrix?? format, not PDF??

    http://usa.autodesk.com/adsk/index/0,,1079044-123112,00.html

    --
    Kent
    Member of the Autodesk Discussion Forum Moderator Program


    "W Massey" wrote in message
    news:3E856F17119FC013A53DC0094ABBF6C5@in.WebX.maYIadrTaRb...
    Thanks,

    I'll send it to you.

    Wayne

  • RELEVANCY SCORE 2.67

    DB:2.67:Axd And Stripped Images k8


    Note: This was originally posted on 20th November 2007 at http://forums.arm.comHi all,due to [url="http://forums.arm.com/index.php?showtopic=10742"]bug #10742[/url] I would like to use AXD which does not show this bug. However I have some libs which are compiled without --dwarf2. Even after stripping the debug symbols AXD refuses to load these images. The same happens if libs are compiled with "-g-". In theory --dwarf should only effect the structure of the debug information. Or am I wrong on that?Anybody a clue if it is possible to convert --dwarf3 compiled image to --dwarf2?Regards, UIrich

    DB:2.67:Axd And Stripped Images k8

    Note: This was originally posted on 26th November 2007 at http://forums.arm.comYou could use fromelf to convert the image to a binary and then load that instead. Admittably more fiddlely, but should work.

  • RELEVANCY SCORE 2.67

    DB:2.67:Can I Dynamically Change A Webresource Based On Dropdown Onchange() ? kf


    Hello,
    I have several PNG WebResourcesregisteredwith names following the names pmdci_icon_1, pmdci_icon_2, pmdci_icon_3 and so on...
    I have added a WebResource field on my accounts form called WebResource_icon, which points to the fault pmdci_icon_0 PNG resource.
    Now, what I would like to do is to add an onChange() to a dropdown I created, which will change the WebResource_icon to a PNG resource based on the value of the dropdown. For instance, if I select Option 22 from my dropdown, the WebResource_icon would then
    display the pmdci_icon_22.
    No, while I know how to do this with Java Script pointing to file at a specific URL (e.x.: /icons/pmdci_icon_$VALUE.png) I am not sure however which function to use to specify another WebResource. I was wondering if someone could please point me in the right
    direction?
    Thanks in advance.
    P.

    DB:2.67:Can I Dynamically Change A Webresource Based On Dropdown Onchange() ? kf

    are you talking about something like this?
    http://social.microsoft.com/Forums/en/crm2011beta/thread/6a58ef65-bc55-4229-b78c-4440e1a44f23

  • RELEVANCY SCORE 2.67

    DB:2.67:Intel Xserve And Apple Xserve Diagnostics kx


    Has anyone figured out how to run the Apple Xserve Diagnostics (AXD) that is included with the new servers? The documentation is very poor to say the least, in once instance the user guide says to see the user guide for more information. Another pdf says to refer to www.apple.com/server/documentation for information on AXD yet this site has no mention of the intel Xserve yet. I've searched the service manual and got much of the same run around.

    I've managed to install the AXD on another Mac OS X server and activated the netboot image but it does not appear to run in the same manor as the Apple Remote Diagnostics for the Xserve G5s. Any help is appreciated!

    Mac OS X (10.4.8)

    DB:2.67:Intel Xserve And Apple Xserve Diagnostics kx

    Has anyone figured out how to run the Apple Xserve Diagnostics (AXD) that is included with the new servers? The documentation is very poor to say the least, in once instance the user guide says to see the user guide for more information. Another pdf says to refer to www.apple.com/server/documentation for information on AXD yet this site has no mention of the intel Xserve yet. I've searched the service manual and got much of the same run around.

    I've managed to install the AXD on another Mac OS X server and activated the netboot image but it does not appear to run in the same manor as the Apple Remote Diagnostics for the Xserve G5s. Any help is appreciated!

    Mac OS X (10.4.8)

  • RELEVANCY SCORE 2.67

    DB:2.67:Description About Customization.Xml jx


    I am looking for information about the structure and description of each element present in the cusotmizations.xml file. Can anyone tell me where I can find the information?

    e.g.,
    ImportExportXml-WebResources-CanBeDeleted
    WebResources
    WebResource
    WebResourceId/WebResourceId
    NameApplication_ribbon.js/Name
    DisplayNameApplication_ribbon/DisplayName
    DescriptionDefault Ribbon Library/Description
    WebResourceType3/WebResourceType
    IsCustomizable1/IsCustomizable
    CanBeDeleted1/CanBeDeleted
    IsHidden0/IsHidden
    FileName/WebResources/Application_ribbonjs/FileName
    /WebResource
    /WebResources

    DB:2.67:Description About Customization.Xml jx

    Hi,
    http://msdn.microsoft.com/en-us/library/gg309605.aspx.Michael Palmer
    xRMPalmer
    @MJFPalmer
    Rockstar365

  • RELEVANCY SCORE 2.66

    DB:2.66:Drivers For Axd Convertor 1a


    I use a PowerLab AxD conversion unit that connects to a PC via SCSI.I would like to write a front end application for this using LabVIEW butthere are no drivers available for this unit and the AxD manufacturer is notinterested. What steps would be involved in constructing my own drivers foruse in a Windows enviornment.Any help would be appreciated.

    DB:2.66:Drivers For Axd Convertor 1a

    [posted and mailed]billbo@cyllene.uwa.edu.au (billbo) wrote in 396306aa@pink.one.net.au:I use a PowerLab AxD conversion unit that connects to a PC via SCSI.I would like to write a front end application for this using LabVIEW butthere are no drivers available for this unit and the AxD manufacturer isnot interested. What steps would be involved in constructing my owndrivers for use in a Windows enviornment.Any help would be appreciated.If you know enough about SCSI, our company provides (sells) a SCSItoolkit for LabVIEW but you will need to understand the SCSI conventionsand have a detailed knowledge of the SCSI command block structures thatthe device uses to communicate. SCSI at any stage is not for thefainthearted. For specific hardware this will mean obtaining the commandblock structure directly from the provider. Out of interest I am not aware of the PowerLab AxD. Is this an ADInstruments PowerLab or some other manufacturer with a coincidental name.BTW we also have a LabVIEW driver for the PowerLab E Series and we arelocated around the corner in Vic Park, Perth. -- Alexander C. Le Dain, PhDICON Technologies Pty Ltdhttp://www.icon-tech.com.au

  • RELEVANCY SCORE 2.66

    DB:2.66:401 Errors Related To Css, Js And Axd Files 98


    My sharepoint farm is getting very slow these days, upon analyzing the log i found there are 401 errors on css,js and axd files like

    NetworkError: 401 Unauthorized - http://servername/ScriptResource.axd?d=Ifc2kqLYbVl7lW0eMbeebX4FMq2a0Ef-lTJTl7RpRxI68bR4C11AFSt-fcE8-WydexgIDdeXWUqGAd_Up9ecNZFl64Q_d4dj8h8cEQ5TP9RBz5oGliPo6h_ywb1GfC5m4kO0TmU0HBARFWzmvvqPVlRTzLwmSH7YcV7ksS0zDpF2m-V60t=ffffffffb4a8867a
    NetworkError: 401 Unauthorized - http://servername/_layouts/1033/core.js?rev=mHKsOQ0iU3Q5jdm9OZNDdg%3D%3D
    NetworkError: 401 Unauthorized - http://servername/_layouts/1033/search.js?rev=yqBjpvg%2Foi3KG5XVf%2FStmA%3D%3D
    Can any one help me to find the root cause?
    aju

    DB:2.66:401 Errors Related To Css, Js And Axd Files 98

    Is there any other solution other than changing the authentication method?aju

  • RELEVANCY SCORE 2.66

    DB:2.66:How To Pass Value From Html Webresource In Crm 2013 Entity Field f9


    Hi,
    I have a html web resource in which two textbox. I have created a Iframe in crm 2013 and add this html webresource in Iframe. I want to pass values of textboxes of html webresource into crm fields. Please tell me how is it possible by using javascript?

    DB:2.66:How To Pass Value From Html Webresource In Crm 2013 Entity Field f9

    The field in which you are setting the value is a string type. So you have to set only string/null value to that field.Thanks, MS CRM Developer, Ranjan

  • RELEVANCY SCORE 2.62

    DB:2.62:Error While Setting Value Of Lookup Field From Html Webresource 3x


    Hi,
    I am trying to save lookup field value from html webresource as shown below
    var lookupValue = new Array();
    lookupValue[0] = new Object();
    lookupValue[0].id = quoteid;
    lookupValue[0].name = quotename;
    lookupValue[0].entityType = 'quote';
    CRMObject.new_quotelineitemsid = lookupValue;
    But it returns bad request error. I am passing this CRMobject to Parent page in which this webresource is added, if we comment this code all the other fields are saved but if we try to include above code it crashes.Below screen shot displays the Json request
    send to server for saving the entity and underlined code is the look up field request. Thanks in advance

    Thanks, Harkamal Grewal

    DB:2.62:Error While Setting Value Of Lookup Field From Html Webresource 3x

    Thanks JBlaeske for you help. My problem is solved now with just a small change in code provided by you .
    CRMObject.new_quotelineitemsid = new Array({ Id: quoteid, LogicalName: quote, Name: quotename });Thanks, Harkamal Grewal

  • RELEVANCY SCORE 2.62

    DB:2.62:Core-Cycles For Real View Debugger Amp; Axd d9


    Note: This was originally posted on 31st March 2008 at http://forums.arm.comHi Everyone, If i run the same code in both AXD and RVDS 3.0 (Target is ARM Simulator) will there be any difference between Corecycles of AXD and RVD? Thanx in Advance

    DB:2.62:Core-Cycles For Real View Debugger Amp; Axd d9

    Note: This was originally posted on 19th January 2010 at http://forums.arm.comHi, I am encountering the same situation. Is there any reason why this would happen?Thanks.

  • RELEVANCY SCORE 2.62

    DB:2.62:Webresource Is Not Updating Jscript Crm 2011 Why? jj


    Hello Experts,
    I am trying to update jscript webresource ,while debugging it is hitting the debugger of previous webresource.What is the problem not updating the webresource properly.please suggest.

    Thanks and Regards
    Muralikrishna

    DB:2.62:Webresource Is Not Updating Jscript Crm 2011 Why? jj

    Hi Murali,
    Follow the instructions given by Naveen and even then if that doesn't work, just clear cache of your browser and try again.
    --

    Thanks and Regards,
    Gopinath.

  • RELEVANCY SCORE 2.62

    DB:2.62:Profiling On Axd Arm9e j3


    Note: This was originally posted on 6th July 2007 at http://forums.arm.comI want to do frame level profing in ARM9E simulator (AXD Debugger). Before frame decoding I start timer and after decoding frame I stop the timer. From start and stop values I am calculating how much MCPS a frame decode is taking. Problme is : after certain number of frames have been decoded, the timer fails and I get totally random number for MCPS. I have seen this problem for different input files. Has anybody done profiling on ARM9E using timer? or is there any other way to profile?

    DB:2.62:Profiling On Axd Arm9e j3

    Note: This was originally posted on 9th July 2007 at http://forums.arm.comWhat do you mean by the timer "fails"? Can you provide more details? A few quick ideas:Is the timer wrapping around its maximum count limit? If your MPCS figure is a lot lower than you are expecting, then this could be causing it. Most timers let you generate an interrupt when it wraps, so you can count wrap count that way. If you are running with a cache, ensure that your timer peripheral is not cached.-- EDIT: Sorry, didn't see the simulator line - the caching probably isn't an issue then!

  • RELEVANCY SCORE 2.62

    DB:2.62:Per Silverlight-Webresource Ein Lookup Befllen? d3


    Guten Morgen liebe CRMler,
    ich steh mal wieder aufm Schlauch. Ich schreibe gerade an einer Silverlight-Webresource, welche auf einer dynamischen Enttit sitzt und mit eingebenen Werten entweder einen neuen Kontakt oder eine neue Firma erstellt. Nach der erstellung jedoch, soll
    der erstellte Kontakt (oder Firma) in ein dafr vorgesehenes Lookupfeld eingetragen werden.
    Ich spiele dabei auf die XRM-Komponente an, auf die man whrend der Laufzeit ber die Silverlight-Webresource zugreifen kann.
    Gemeint ist sowas wie:

    dynamic xrm = (ScriptObject)HtmlPage.Window.GetProperty(Xrm);
    xrm.Page.data.entity.attributes.get(new_name).setValue(Test);

    DB:2.62:Per Silverlight-Webresource Ein Lookup Befllen? d3

    Guten Morgen Andreas,
    tschuldige, dass ich etwas lnger nicht geantwortet habe. Ich habe nun zwei Lsungen ausprobiert. Deine funktioniert erstmal tadellos. Danke dafr! =D
    Bei meinem Projekt binde ich jedoch die .xap des Silverlightprojektes direkt ein und gehe nicht den Umweg ber eine HTML-Seite welches das Silverlight hostet. Ergo kann ich keine Funktionen auf einer HTML-Seite aufrufen, da es Diese ja nicht gibt.
    Mit der Funktion HtmlPage.Window.Eval kann man jedoch direkt im C# ein Javascript ausfhren und sich z.B. ein Object zurckgeben lassen.
    Sieht dann so aus:

    string lookupString = String.Empty;
    lookupString += (function() {;
    lookupString += var lookupArray = new Array(); ;
    lookupString += var lookupObject = new Object(); ;
    lookupString += lookupObject.id = + guid + ; ;
    lookupString += lookupObject.name = + targetEntityName + ; ;
    lookupString += lookupObject.typename = account; ;
    lookupString += lookupArray[0] = lookupObject; ;
    lookupString += return lookupArray;;
    lookupString += })();

    ScriptObject lookupObject = (ScriptObject)HtmlPage.Window.Eval(lookupString);

    xrm.Page.data.entity.attributes.get(lookup).setValue(lookupObject);

  • RELEVANCY SCORE 2.62

    DB:2.62:Calling Third Party Software From Labview sz


    Hi All,
    In one of the requirement, I need to open the Debugger(AXD debugger) then needs to send some commands from it.Is it possible to invoke debugger from LabVIEW and work on specific text boxes in the debugger.
    Details : APIs or DLLs related to debugger are not exposed to outside world.I am using teststand3.1 software as manangement tool.
    AXD debugger runs on Windows.
    Is any body come across similar type of issue ?,,Please suggest me the way to wokr on it.
    Regards,KHN

    DB:2.62:Calling Third Party Software From Labview sz

    If you cross post to multiple forums, please provide a link to your other posts.



  • RELEVANCY SCORE 2.62

    DB:2.62:Ribbon Workbench Not Finding Image Webresource? za


    Hello - I'm having trouble associating an image with a button in RWB. I added a png webresource to the Dashboards unmanaged solution. Then I opened the Dashboards solution through RWB to add a button to the ribbon. I tried to select an
    image for the new button through 16x16img and 32x32img lookup dialogs but the dialogs were not abe to locate any images. I'm able to add a new button through the RWB editor but I think RWB requires a button image to publish the button? Any idea
    why the dialog may have been unable to find the image webresource in my Dashboards solution?

    DB:2.62:Ribbon Workbench Not Finding Image Webresource? za

    Hi,
    Refresh the instance. Publish the dashboard solution (after adding image) and try opening the RWB. And choose the dashboard solution.
    Sometimes it takes time to reflect the image instantly.

    Regards,
    Rameshwari

  • RELEVANCY SCORE 2.62

    DB:2.62:Arquivos Axd No Google Chrome 1x


    Pessoal, estou com um problema muito chato e pode ser bobeira!!
    Não sei se é problema no browser ou eu sou o problema. kkkkkkkkk

    O Chrome não le meu arquivo axd... nos outros navegadores tudo normal.

    Se alguém puder me ajuda. Obrigado :))

    DB:2.62:Arquivos Axd No Google Chrome 1x

    Ola amigo, desculpa não entendi a parte não le meu arquivo, ele da erro de 404, ou alguma mensagem específica?Rodrigo Reis Ferreira
    Microsoft Certified

  • RELEVANCY SCORE 2.62

    DB:2.62:Call Workflow From Webresource 3s


    Hi,
    I want to call workflow from CRM webresource which is called on Page load.
    Please guide me regarding same.

    Thanks in advance.

    Thanks

    DB:2.62:Call Workflow From Webresource 3s

    Right you need to save the record before the id is generated. Otherwise getId() returns an empty guid (all 0's)Jason Lattimer
    My Blog- Follow me on Twitter- LinkedIn

  • RELEVANCY SCORE 2.61

    DB:2.61:How To Call Functions That Are In A Webresource Managed Solution kp


    Hi,
    i am using crm 2013. i have imported SOAP End Point managed solution from CRM SDK 2013 to my crm.

    The solution contains some webresources. these webresources contains some useful functions.
    now i need to call these functions in another webresource(Javascript) , how to do this.
    any help on this greatly appreciated.
    Thanks in advance.
    Regards,

    Nagaraj

    DB:2.61:How To Call Functions That Are In A Webresource Managed Solution kp

    Hi Mahendar,
    i am using latest SDK of CRM 2013, that line already existed in the script. here i am providing the SDK.Metadata.js file.

    // =====================================================================
    // This file is part of the Microsoft Dynamics CRM SDK code samples.
    //
    // Copyright (C) Microsoft Corporation. All rights reserved.
    //
    // This source code is intended only as a supplement to Microsoft
    // Development Tools and/or on-line documentation. See these other
    // materials for detailed information regarding Microsoft code samples.
    //
    // THIS CODE AND INFORMATION 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.
    // =====================================================================

    //snippetSDK.Metadata.js

    SDK = window.SDK || { __namespace: true };
    SDK.Metadata = SDK.Metadata || { __namespace: true };

    (function () {

    this.RetrieveAllEntities = function (EntityFilters, RetrieveAsIfPublished, successCallBack, errorCallBack, passThroughObject) {
    ///summary
    /// Sends an asynchronous RetrieveAllEntities Request to retrieve all entities in the system
    ////summary
    ///returnsentityMetadataCollection/returns
    ///param name=EntityFilters type=Number
    /// SDK.Metadata.EntityFilters provides an enumeration for the filters available to filter which data is retrieved.
    /// Include only those elements of the entity you want to retrieve. Retrieving all parts of all entitities may take significant time.
    ////param
    ///param name=RetrieveAsIfPublished type=Boolean
    /// Sets whether to retrieve the metadata that has not been published.
    ////param
    ///param name=successCallBack type=Function
    /// The function that will be passed through and be called by a successful response.
    /// This function must accept the entityMetadataCollection as a parameter.
    ////param
    ///param name=errorCallBack type=Function
    /// The function that will be passed through and be called by a failed response.
    /// This function must accept an Error object as a parameter.
    ////param
    ///param name=passThroughObject optional=true type=Object
    /// An Object that will be passed through to as the second parameter to the successCallBack.
    ////param
    if ((typeof EntityFilters != number) || (EntityFilters 1 || EntityFilters 15))
    { throw new Error(SDK.Metadata.RetrieveAllEntities EntityFilters must be a SDK.Metadata.EntityFilters value.); }
    if (typeof RetrieveAsIfPublished != boolean)
    { throw new Error(SDK.Metadata.RetrieveAllEntities RetrieveAsIfPublished must be a boolean value.); }
    if (typeof successCallBack != function)
    { throw new Error(SDK.Metadata.RetrieveAllEntities successCallBack must be a function.); }
    if (typeof errorCallBack != function)
    { throw new Error(SDK.Metadata.RetrieveAllEntities errorCallBack must be a function.); }

    var entityFiltersValue = _evaluateEntityFilters(EntityFilters);

    var request = [
    soapenv:Envelope xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\,
    //Allows retrieval if ImageAttributeMetadata objects
    soapenv:Headera:SdkClientVersion xmlns:a=\http://schemas.microsoft.com/xrm/2011/Contracts\6.0/a:SdkClientVersion/soapenv:Header,
    soapenv:Body,
    Execute xmlns=\http://schemas.microsoft.com/xrm/2011/Contracts/Services\ xmlns:i=\http://www.w3.org/2001/XMLSchema-instance\,
    request i:type=\a:RetrieveAllEntitiesRequest\ xmlns:a=\http://schemas.microsoft.com/xrm/2011/Contracts\,
    a:Parameters xmlns:b=\http://schemas.datacontract.org/2004/07/System.Collections.Generic\,
    a:KeyValuePairOfstringanyType,
    b:keyEntityFilters/b:key,
    b:value i:type=\c:EntityFilters\ xmlns:c=\http://schemas.microsoft.com/xrm/2011/Metadata\ _xmlEncode(entityFiltersValue) /b:value,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyRetrieveAsIfPublished/b:key,
    b:value i:type=\c:boolean\ xmlns:c=\http://www.w3.org/2001/XMLSchema\ _xmlEncode(RetrieveAsIfPublished.toString()) /b:value,
    /a:KeyValuePairOfstringanyType,
    /a:Parameters,
    a:RequestId i:nil=\true\ /,
    a:RequestNameRetrieveAllEntities/a:RequestName,
    /request,
    /Execute,
    /soapenv:Body,
    /soapenv:Envelope].join();
    var req = new XMLHttpRequest();
    req.open(POST, _getUrl() /XRMServices/2011/Organization.svc/web, true);
    try { req.responseType = 'msxml-document'} catch(e){}
    req.setRequestHeader(Accept, application/xml, text/xml, */*);
    req.setRequestHeader(Content-Type, text/xml; charset=utf-8);
    req.setRequestHeader(SOAPAction, http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute);
    req.onreadystatechange = function () {
    if (req.readyState == 4 /* complete */) {
    req.onreadystatechange = null; //Addresses potential memory leak issue with IE
    if (req.status == 200) {
    //Success
    var doc = req.responseXML;
    try{_setSelectionNamespaces(doc);}catch(e){}
    var entityMetadataNodes = _selectNodes(doc, //c:EntityMetadata);
    var entityMetadataCollection = [];
    for (var i = 0; i entityMetadataNodes.length; i) {
    var a = _objectifyNode(entityMetadataNodes[i]);
    a._type = EntityMetadata;
    entityMetadataCollection.push(a);
    }

    successCallBack(entityMetadataCollection, passThroughObject);
    }
    else {
    errorCallBack(_getError(req));
    }
    }
    };
    req.send(request);

    };

    this.RetrieveEntity = function (EntityFilters, LogicalName, MetadataId, RetrieveAsIfPublished, successCallBack, errorCallBack, passThroughObject) {
    ///summary
    /// Sends an asynchronous RetrieveEntity Request to retrieve a specific entity
    ////summary
    ///returnsentityMetadata/returns
    ///param name=EntityFilters type=Number
    /// SDK.Metadata.EntityFilters provides an enumeration for the filters available to filter which data is retrieved.
    /// Include only those elements of the entity you want to retrieve. Retrieving all parts of all entitities may take significant time.
    ////param
    ///param name=LogicalName optional=true type=String
    /// The logical name of the entity requested. A null value may be used if a MetadataId is provided.
    ////param
    ///param name=MetadataId optional=true type=String
    /// A null value or an empty guid may be passed if a LogicalName is provided.
    ////param
    ///param name=RetrieveAsIfPublished type=Boolean
    /// Sets whether to retrieve the metadata that has not been published.
    ////param
    ///param name=successCallBack type=Function
    /// The function that will be passed through and be called by a successful response.
    /// This function must accept the entityMetadata as a parameter.
    ////param
    ///param name=errorCallBack type=Function
    /// The function that will be passed through and be called by a failed response.
    /// This function must accept an Error object as a parameter.
    ////param
    ///param name=passThroughObject optional=true type=Object
    /// An Object that will be passed through to as the second parameter to the successCallBack.
    ////param
    if ((typeof EntityFilters != number) || (EntityFilters 1 || EntityFilters 15))
    { throw new Error(SDK.Metadata.RetrieveEntity EntityFilters must be a SDK.Metadata.EntityFilters value.); }
    if (LogicalName == null MetadataId == null) {
    throw new Error(SDK.Metadata.RetrieveEntity requires either the LogicalName or MetadataId parameter not be null.);
    }
    if (LogicalName != null) {
    if (typeof LogicalName != string)
    { throw new Error(SDK.Metadata.RetrieveEntity LogicalName must be a string value.); }
    MetadataId = 00000000-0000-0000-0000-000000000000;
    }
    if (MetadataId != null LogicalName == null) {
    if (typeof MetadataId != string)
    { throw new Error(SDK.Metadata.RetrieveEntity MetadataId must be a string value.); }
    }
    if (typeof RetrieveAsIfPublished != boolean)
    { throw new Error(SDK.Metadata.RetrieveEntity RetrieveAsIfPublished must be a boolean value.); }
    if (typeof successCallBack != function)
    { throw new Error(SDK.Metadata.RetrieveEntity successCallBack must be a function.); }
    if (typeof errorCallBack != function)
    { throw new Error(SDK.Metadata.RetrieveEntity errorCallBack must be a function.); }
    var entityFiltersValue = _evaluateEntityFilters(EntityFilters);

    var entityLogicalNameValueNode = ;
    if (LogicalName == null)
    { entityLogicalNameValueNode = b:value i:nil=\true\ /; }
    else
    { entityLogicalNameValueNode = b:value i:type=\c:string\ xmlns:c=\http://www.w3.org/2001/XMLSchema\ _xmlEncode(LogicalName.toLowerCase()) /b:value; }
    var request = [
    soapenv:Envelope xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\,
    //Allows retrieval if ImageAttributeMetadata objects
    soapenv:Headera:SdkClientVersion xmlns:a=\http://schemas.microsoft.com/xrm/2011/Contracts\6.0/a:SdkClientVersion/soapenv:Header,
    soapenv:Body,
    Execute xmlns=\http://schemas.microsoft.com/xrm/2011/Contracts/Services\ xmlns:i=\http://www.w3.org/2001/XMLSchema-instance\,
    request i:type=\a:RetrieveEntityRequest\ xmlns:a=\http://schemas.microsoft.com/xrm/2011/Contracts\,
    a:Parameters xmlns:b=\http://schemas.datacontract.org/2004/07/System.Collections.Generic\,
    a:KeyValuePairOfstringanyType,
    b:keyEntityFilters/b:key,
    b:value i:type=\c:EntityFilters\ xmlns:c=\http://schemas.microsoft.com/xrm/2011/Metadata\ _xmlEncode(entityFiltersValue) /b:value,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyMetadataId/b:key,
    b:value i:type=\ser:guid\ xmlns:ser=\http://schemas.microsoft.com/2003/10/Serialization/\ _xmlEncode(MetadataId) /b:value,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyRetrieveAsIfPublished/b:key,
    b:value i:type=\c:boolean\ xmlns:c=\http://www.w3.org/2001/XMLSchema\ _xmlEncode(RetrieveAsIfPublished.toString()) /b:value,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyLogicalName/b:key,
    entityLogicalNameValueNode,
    /a:KeyValuePairOfstringanyType,
    /a:Parameters,
    a:RequestId i:nil=\true\ /,
    a:RequestNameRetrieveEntity/a:RequestName,
    /request,
    /Execute,
    /soapenv:Body,
    /soapenv:Envelope].join();
    var req = new XMLHttpRequest();
    req.open(POST, _getUrl() /XRMServices/2011/Organization.svc/web, true);
    try { req.responseType = 'msxml-document'} catch(e){}
    req.setRequestHeader(Accept, application/xml, text/xml, */*);
    req.setRequestHeader(Content-Type, text/xml; charset=utf-8);
    req.setRequestHeader(SOAPAction, http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute);
    req.onreadystatechange = function () {
    if (req.readyState == 4 /* complete */) {
    req.onreadystatechange = null; //Addresses potential memory leak issue with IE
    if (req.status == 200) {
    var doc = req.responseXML;
    try{_setSelectionNamespaces(doc);}catch(e){}
    var a = _objectifyNode(_selectSingleNode(doc, //b:value));
    a._type = EntityMetadata;
    successCallBack(a, passThroughObject);
    }
    else {
    //Failure
    errorCallBack(_getError(req));
    }
    }

    };
    req.send(request);

    };

    this.RetrieveAttribute = function (EntityLogicalName, LogicalName, MetadataId, RetrieveAsIfPublished, successCallBack, errorCallBack, passThroughObject) {
    ///summary
    /// Sends an asynchronous RetrieveAttribute Request to retrieve a specific entity
    ////summary
    ///returnsAttributeMetadata/returns
    ///param name=EntityLogicalName optional=true type=String
    /// The logical name of the entity for the attribute requested. A null value may be used if a MetadataId is provided.
    ////param
    ///param name=LogicalName optional=true type=String
    /// The logical name of the attribute requested.
    ////param
    ///param name=MetadataId optional=true type=String
    /// A null value may be passed if an EntityLogicalName and LogicalName is provided.
    ////param
    ///param name=RetrieveAsIfPublished type=Boolean
    /// Sets whether to retrieve the metadata that has not been published.
    ////param
    ///param name=successCallBack type=Function
    /// The function that will be passed through and be called by a successful response.
    /// This function must accept the entityMetadata as a parameter.
    ////param
    ///param name=errorCallBack type=Function
    /// The function that will be passed through and be called by a failed response.
    /// This function must accept an Error object as a parameter.
    ////param
    ///param name=passThroughObject optional=true type=Object
    /// An Object that will be passed through to as the second parameter to the successCallBack.
    ////param
    if (EntityLogicalName == null LogicalName == null MetadataId == null) {
    throw new Error(SDK.Metadata.RetrieveAttribute requires either the EntityLogicalName and LogicalName parameters or the MetadataId parameter not be null.);
    }
    if (MetadataId != null EntityLogicalName == null LogicalName == null) {
    if (typeof MetadataId != string)
    { throw new Error(SDK.Metadata.RetrieveEntity MetadataId must be a string value.); }
    }
    else
    { MetadataId = 00000000-0000-0000-0000-000000000000; }
    if (EntityLogicalName != null) {
    if (typeof EntityLogicalName != string) {
    { throw new Error(SDK.Metadata.RetrieveAttribute EntityLogicalName must be a string value.); }
    }
    }
    if (LogicalName != null) {
    if (typeof LogicalName != string) {
    { throw new Error(SDK.Metadata.RetrieveAttribute LogicalName must be a string value.); }
    }

    }
    if (typeof RetrieveAsIfPublished != boolean)
    { throw new Error(SDK.Metadata.RetrieveAttribute RetrieveAsIfPublished must be a boolean value.); }
    if (typeof successCallBack != function)
    { throw new Error(SDK.Metadata.RetrieveAttribute successCallBack must be a function.); }
    if (typeof errorCallBack != function)
    { throw new Error(SDK.Metadata.RetrieveAttribute errorCallBack must be a function.); }

    var entityLogicalNameValueNode;
    if (EntityLogicalName == null) {
    entityLogicalNameValueNode = b:value i:nil=\true\ /;
    }
    else {
    entityLogicalNameValueNode = b:value i:type=\c:string\ xmlns:c=\http://www.w3.org/2001/XMLSchema\ _xmlEncode(EntityLogicalName.toLowerCase()) /b:value;
    }
    var logicalNameValueNode;
    if (LogicalName == null) {
    logicalNameValueNode = b:value i:nil=\true\ /;
    }
    else {
    logicalNameValueNode = b:value i:type=\c:string\ xmlns:c=\http://www.w3.org/2001/XMLSchema\ _xmlEncode(LogicalName.toLowerCase()) /b:value;
    }
    var request = [
    soapenv:Envelope xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\,
    //Allows retrieval if ImageAttributeMetadata objects
    soapenv:Headera:SdkClientVersion xmlns:a=\http://schemas.microsoft.com/xrm/2011/Contracts\6.0/a:SdkClientVersion/soapenv:Header,
    soapenv:Body,
    Execute xmlns=\http://schemas.microsoft.com/xrm/2011/Contracts/Services\ xmlns:i=\http://www.w3.org/2001/XMLSchema-instance\,
    request i:type=\a:RetrieveAttributeRequest\ xmlns:a=\http://schemas.microsoft.com/xrm/2011/Contracts\,
    a:Parameters xmlns:b=\http://schemas.datacontract.org/2004/07/System.Collections.Generic\,
    a:KeyValuePairOfstringanyType,
    b:keyEntityLogicalName/b:key,
    entityLogicalNameValueNode,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyMetadataId/b:key,
    b:value i:type=\ser:guid\ xmlns:ser=\http://schemas.microsoft.com/2003/10/Serialization/\ _xmlEncode(MetadataId) /b:value,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyRetrieveAsIfPublished/b:key,
    b:value i:type=\c:boolean\ xmlns:c=\http://www.w3.org/2001/XMLSchema\ _xmlEncode(RetrieveAsIfPublished.toString()) /b:value,
    /a:KeyValuePairOfstringanyType,
    a:KeyValuePairOfstringanyType,
    b:keyLogicalName/b:key,
    logicalNameValueNode,
    /a:KeyValuePairOfstringanyType,
    /a:Parameters,
    a:RequestId i:nil=\true\ /,
    a:RequestNameRetrieveAttribute/a:RequestName,
    /request,
    /Execute,
    /soapenv:Body,
    /soapenv:Envelope].join();
    var req = new XMLHttpRequest();
    req.open(POST, _getUrl() /XRMServices/2011/Organization.svc/web, true);
    try { req.responseType = 'msxml-document'} catch(e){}
    req.setRequestHeader(Accept, application/xml, text/xml, */*);
    req.setRequestHeader(Content-Type, text/xml; charset=utf-8);
    req.setRequestHeader(SOAPAction, http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute);
    req.onreadystatechange = function () {
    if (req.readyState == 4 /* complete */) {
    req.onreadystatechange = null; //Addresses potential memory leak issue with IE
    if (req.status == 200) {
    //Success
    var doc = req.responseXML;
    try{_setSelectionNamespaces(doc);}catch(e){}
    var a = _objectifyNode(_selectSingleNode(doc, //b:value));

    successCallBack(a, passThroughObject);
    }
    else {
    //Failure
    errorCallBack(_getError(req));
    }
    }
    };
    req.send(request);

    };

    this.EntityFilters = function () {
    /// summarySDK.Metadata.EntityFilters enum summary/summary
    /// field name=Default type=Number static=trueenum field summary for Default/field
    /// field name=Entity type=Number static=trueenum field summary for Entity/field
    /// field name=Attributes type=Number static=trueenum field summary for Attributes/field
    /// field name=Privileges type=Number static=trueenum field summary for Privileges/field
    /// field name=Relationships type=Number static=trueenum field summary for Relationships/field
    /// field name=All type=Number static=trueenum field summary for All/field
    throw new Error(Constructor not implemented this is a static enum.);
    };

    var _arrayElements = [Attributes,
    ManyToManyRelationships,
    ManyToOneRelationships,
    OneToManyRelationships,
    Privileges,
    LocalizedLabels,
    Options,
    Targets];

    function _getError(resp) {
    ///summary
    /// Private function that attempts to parse errors related to connectivity or WCF faults.
    ////summary
    ///param name=resp type=XMLHttpRequest
    /// The XMLHttpRequest representing failed response.
    ////param

    //Error descriptions come from http://support.microsoft.com/kb/193625
    if (resp.status == 12029)
    { return new Error(The attempt to connect to the server failed.); }
    if (resp.status == 12007)
    { return new Error(The server name could not be resolved.); }
    var faultXml = resp.responseXML;
    var errorMessage = Unknown (unable to parse the fault);
    if (typeof faultXml == object) {

    var faultstring = null;
    var ErrorCode = null;

    var bodyNode = faultXml.firstChild.firstChild;

    //Retrieve the fault node
    for (var i = 0; i bodyNode.childNodes.length; i) {
    var node = bodyNode.childNodes[i];

    //NOTE: This comparison does not handle the case where the XML namespace changes
    if (s:Fault == node.nodeName) {
    for (var j = 0; j node.childNodes.length; j) {
    var testNode = node.childNodes[j];
    if (faultstring == testNode.nodeName) {
    faultstring = _getNodeText(testNode);
    }
    if (detail == testNode.nodeName) {
    for (var k = 0; k testNode.childNodes.length; k) {
    var orgServiceFault = testNode.childNodes[k];
    if (OrganizationServiceFault == orgServiceFault.nodeName) {
    for (var l = 0; l orgServiceFault.childNodes.length; l) {
    var ErrorCodeNode = orgServiceFault.childNodes[l];
    if (ErrorCode == ErrorCodeNode.nodeName) {
    ErrorCode = _getNodeText(ErrorCodeNode);
    break;
    }
    }
    }
    }

    }
    }
    break;
    }

    }
    }
    if (ErrorCode != null faultstring != null) {
    errorMessage = Error Code: ErrorCode Message: faultstring;
    }
    else {
    if (faultstring != null) {
    errorMessage = faultstring;
    }
    }
    return new Error(errorMessage);
    };

    function _Context() {
    var errorMessage = Context is not available.;
    if (typeof GetGlobalContext != undefined)
    { return GetGlobalContext(); }
    else {
    if (typeof Xrm != undefined) {
    return Xrm.Page.context;
    }
    else
    { return new Error(errorMessage); }
    }
    };

    function _getUrl() {
    var url = _Context().getClientUrl();
    return url;
    };

    function _evaluateEntityFilters(EntityFilters) {
    var entityFilterArray = [];
    if ((1 EntityFilters) == 1) {
    entityFilterArray.push(Entity);
    }
    if ((2 EntityFilters) == 2) {
    entityFilterArray.push(Attributes);
    }
    if ((4 EntityFilters) == 4) {
    entityFilterArray.push(Privileges);
    }
    if ((8 EntityFilters) == 8) {
    entityFilterArray.push(Relationships);
    }
    return entityFilterArray.join( );
    };

    function _isMetadataArray(elementName) {
    for (var i = 0; i _arrayElements.length; i) {
    if (elementName == _arrayElements[i]) {
    return true;
    }
    }
    return false;
    };

    function _objectifyNode(node) {
    //Check for null
    if (node.attributes != null node.attributes.length == 1) {
    if (node.attributes.getNamedItem(i:nil) != null node.attributes.getNamedItem(i:nil).nodeValue == true) {
    return null;
    }
    }

    //Check if it is a value
    if ((node.firstChild != null) (node.firstChild.nodeType == 3)) {
    var nodeName = _getNodeName(node);

    switch (nodeName) {
    //Integer Values
    case ActivityTypeMask:
    case ObjectTypeCode:
    case ColumnNumber:
    case DefaultFormValue:
    case MaxValue:
    case MinValue:
    case MaxLength:
    case Order:
    case Precision:
    case PrecisionSource:
    case LanguageCode:
    return parseInt(node.firstChild.nodeValue, 10);
    // Boolean values
    case AutoRouteToOwnerQueue:
    case CanBeChanged:
    case CanTriggerWorkflow:
    case IsActivity:
    case IsAIRUpdated:
    case IsActivityParty:
    case IsAvailableOffline:
    case IsChildEntity:
    case IsCustomEntity:
    case IsCustomOptionSet:
    case IsDocumentManagementEnabled:
    case IsEnabledForCharts:
    case IsGlobal:
    case IsImportable:
    case IsIntersect:
    case IsManaged:
    case IsReadingPaneEnabled:
    case IsValidForAdvancedFind:
    case CanBeSecuredForCreate:
    case CanBeSecuredForRead:
    case CanBeSecuredForUpdate:
    case IsCustomAttribute:
    case IsManaged:
    case IsPrimaryId:
    case IsPrimaryName:
    case IsSecured:
    case IsValidForCreate:
    case IsValidForRead:
    case IsValidForUpdate:
    case IsCustomRelationship:
    case CanBeBasic:
    case CanBeDeep:
    case CanBeGlobal:
    case CanBeLocal:
    return (node.firstChild.nodeValue == true) ? true : false;
    //OptionMetadata.Value and BooleanManagedProperty.Value and AttributeRequiredLevelManagedProperty.Value
    case Value:
    //BooleanManagedProperty.Value
    if ((node.firstChild.nodeValue == true) || (node.firstChild.nodeValue == false)) {
    return (node.firstChild.nodeValue == true) ? true : false;
    }
    //AttributeRequiredLevelManagedProperty.Value
    if (
    (node.firstChild.nodeValue == ApplicationRequired) ||
    (node.firstChild.nodeValue == None) ||
    (node.firstChild.nodeValue == Recommended) ||
    (node.firstChild.nodeValue == SystemRequired)
    ) {
    return node.firstChild.nodeValue;
    }
    var numberValue = parseInt(node.firstChild.nodeValue, 10);
    if (isNaN(numberValue)) {
    //FormatName.Value
    return node.firstChild.nodeValue;
    }
    else {
    //OptionMetadata.Value
    return numberValue;
    }
    break;
    //String values
    default:
    return node.firstChild.nodeValue;
    }

    }

    //Check if it is a known array
    if (_isMetadataArray(_getNodeName(node))) {
    var arrayValue = [];

    for (var i = 0; i node.childNodes.length; i) {
    var objectTypeName;
    if ((node.childNodes[i].attributes != null) (node.childNodes[i].attributes.getNamedItem(i:type) != null)) {
    objectTypeName = node.childNodes[i].attributes.getNamedItem(i:type).nodeValue.split(:)[1];
    }
    else {

    objectTypeName = _getNodeName(node.childNodes[i]);
    }

    var b = _objectifyNode(node.childNodes[i]);
    b._type = objectTypeName;
    arrayValue.push(b);

    }

    return arrayValue;
    }

    //Null entity description labels are returned as label/ - not using i:nil = true;
    if(node.childNodes.length == 0)
    {
    return null;
    }

    //Otherwise return an object
    var c = {};
    if (node.attributes.getNamedItem(i:type) != null) {
    c._type = node.attributes.getNamedItem(i:type).nodeValue.split(:)[1];
    }
    for (var i = 0; i node.childNodes.length; i) {
    if (node.childNodes[i].nodeType == 3) {
    c[_getNodeName(node.childNodes[i])] = node.childNodes[i].nodeValue;
    }
    else {
    c[_getNodeName(node.childNodes[i])] = _objectifyNode(node.childNodes[i]);
    }

    }
    return c;
    };

    function _selectNodes(node, XPathExpression) {
    if (typeof (node.selectNodes) != undefined) {
    return node.selectNodes(XPathExpression);
    }
    else {
    var output = [];
    var XPathResults = node.evaluate(XPathExpression, node, _NSResolver, XPathResult.ANY_TYPE, null);
    var result = XPathResults.iterateNext();
    while (result) {
    output.push(result);
    result = XPathResults.iterateNext();
    }
    return output;
    }
    };

    function _selectSingleNode(node, xpathExpr) {
    if (typeof (node.selectSingleNode) != undefined) {
    return node.selectSingleNode(xpathExpr);
    }
    else {
    var xpe = new XPathEvaluator();
    var xPathNode = xpe.evaluate(xpathExpr, node, _NSResolver, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
    return (xPathNode != null) ? xPathNode.singleNodeValue : null;
    }
    };

    function _selectSingleNodeText(node, xpathExpr) {
    var x = _selectSingleNode(node, xpathExpr);
    if (_isNodeNull(x))
    { return null; }
    if (typeof (x.text) != undefined) {
    return x.text;
    }
    else {
    return x.textContent;
    }
    };

    function _getNodeText(node) {
    if (typeof (node.text) != undefined) {
    return node.text;
    }
    else {
    return node.textContent;
    }
    };

    function _isNodeNull(node) {
    if (node == null)
    { return true; }
    if ((node.attributes.getNamedItem(i:nil) != null) (node.attributes.getNamedItem(i:nil).value == true))
    { return true; }
    return false;
    };

    function _getNodeName(node) {
    if (typeof (node.baseName) != undefined) {
    return node.baseName;
    }
    else {
    return node.localName;
    }
    };

    function _setSelectionNamespaces(doc)
    {
    var namespaces = [
    xmlns:s='http://schemas.xmlsoap.org/soap/envelope/',
    xmlns:a='http://schemas.microsoft.com/xrm/2011/Contracts',
    xmlns:i='http://www.w3.org/2001/XMLSchema-instance',
    xmlns:b='http://schemas.datacontract.org/2004/07/System.Collections.Generic',
    xmlns:c='http://schemas.microsoft.com/xrm/2011/Metadata'
    ];
    doc.setProperty(SelectionNamespaces,namespaces.join( ));

    }

    function _NSResolver(prefix) {
    var ns = {
    s: http://schemas.xmlsoap.org/soap/envelope/,
    a: http://schemas.microsoft.com/xrm/2011/Contracts,
    i: http://www.w3.org/2001/XMLSchema-instance,
    b: http://schemas.datacontract.org/2004/07/System.Collections.Generic,
    c: http://schemas.microsoft.com/xrm/2011/Metadata
    };
    return ns[prefix] || null;
    };

    function _xmlEncode(strInput) {
    var c;
    var XmlEncode = '';
    if (strInput == null) {
    return null;
    }
    if (strInput == '') {
    return '';
    }
    for (var cnt = 0; cnt strInput.length; cnt) {
    c = strInput.charCodeAt(cnt);
    if (((c 96) (c 123)) ||
    ((c 64) (c 91)) ||
    (c == 32) ||
    ((c 47) (c 58)) ||
    (c == 46) ||
    (c == 44) ||
    (c == 45) ||
    (c == 95)) {
    XmlEncode = XmlEncode String.fromCharCode(c);
    }
    else {
    XmlEncode = XmlEncode '#' c ';';
    }
    }
    return XmlEncode;
    };

    }).call(SDK.Metadata);

    //SDK.Metadata.EntityFilters
    // this enum is written this way to enable Visual Studio IntelliSense
    SDK.Metadata.EntityFilters.prototype = {
    Default: 1,
    Entity: 1,
    Attributes: 2,
    Privileges: 4,
    Relationships: 8,
    All: 15
    };
    SDK.Metadata.EntityFilters.Default = 1;
    SDK.Metadata.EntityFilters.Entity = 1;
    SDK.Metadata.EntityFilters.Attributes = 2;
    SDK.Metadata.EntityFilters.Privileges = 4;
    SDK.Metadata.EntityFilters.Relationships = 8;
    SDK.Metadata.EntityFilters.All = 15;
    SDK.Metadata.EntityFilters.__enum = true;
    SDK.Metadata.EntityFilters.__flags = true;

    ///snippetSDK.Metadata.js

    Nagaraj

  • RELEVANCY SCORE 2.61

    DB:2.61:If The File Does Not Exist, The Code Stay On Hanging kk


    Hi All
    I use the following code in SSIS script task to download kmz file(zip file) from a HTTP site.It works fine as long as the file exists on the http site. If it does not exists, the package stays on hanging.
    Can anyone please tell me what I need to do here to fix that error.
    public void Main()
    {

    // TODO: Add your code here

    Variables varCollection = null;

    Dts.VariableDispenser.LockForRead(User::RemoteUri);
    Dts.VariableDispenser.LockForRead(User::LocalFileFolder);
    Dts.VariableDispenser.GetVariables(ref varCollection);

    string webResource;
    string fileName = string.Empty; ;

    try
    {

    WebClient myWebClient = new WebClient();
    webResource = varCollection[User::RemoteUri].Value.ToString();
    fileName = varCollection[User::LocalFileFolder].Value.ToString() webResource.Substring(webResource.LastIndexOf('/') 1);
    myWebClient.DownloadFile(webResource, fileName);

    //byte[] data;
    // using (WebClient client = new WebClient())
    //{
    // data = client.DownloadData(webResource);
    //}
    // FileInfo file = new System.IO.FileInfo(fileName);
    // file.Directory.Create(); // If the directory already exists, this method does nothing.
    // File.WriteAllBytes(file.FullName, data);
    //MessageBox.Show(webResource);
    //MessageBox.Show(fileName);

    Dts.TaskResult = (int)ScriptResults.Success;
    }

    catch (Exception e)
    {
    // Catch and handle error
    if (File.Exists(fileName)) File.Delete(fileName);
    if (!(e.Message.ToString().Contains(File unavailable) || e.Message.ToString().Contains(status code - 404 : Not Found)))
    {
    Dts.Events.FireError(0, Main(), e.Message \r e.StackTrace, String.Empty, 0);
    Dts.TaskResult = (int)ScriptResults.Failure;
    }
    }
    }

    Thanks

    shamen http://stalkingnightmare.wordpress.com/about/

    DB:2.61:If The File Does Not Exist, The Code Stay On Hanging kk


    Thank you..It works perfectly

    shamen http://stalkingnightmare.wordpress.com/about/

  • RELEVANCY SCORE 2.61

    DB:2.61:Crm 2011: Hide Html Webresource Placed On Form Header fp


    I have an HTML web resource placed on the form's header.
    How can i hide (or toggle visibility) the html web resource thru JScript?
    The web resource is placed on the Header section which is locked. I know that there's an easy way of putting the html web resource on a separate tab, and hide the whole tab instead, but the requirement says the html should stay in the header. Is there a
    way to hide the html webresource alone? Thanks for your inputs!

  • RELEVANCY SCORE 2.57

    DB:2.57:Does Blackberry Supports Axd Rendered Images? 8a



    does Blackberry supports AXD rendered images? This is the form generated by ASP.net chart control.

    Thanks.

    DB:2.57:Does Blackberry Supports Axd Rendered Images? 8a


    Greetings, thanks for your question.

    What is the MIME type of the content being downloaded to the BlackBerry Browser?

    If the MIME type of the AXD image content represents a supported image content type, then yes the browser would be able to render it.

    Can you provide a URL that can be quickly tested?




    Follow me on Twitter: @n_adam_stanley-------------------------------------------------------------------------------------------------------------------------Your app doesn't work? Use BlackBerry remote web inspector to find out why.

  • RELEVANCY SCORE 2.56

    DB:2.56:Large File Uploads With Jersey Client mj


    Hello All,

    I am getting heap spcace iissue while uploading large files via jersey client , the jvm will run out memory
    Can any one help me in understanding how can i send large file about 300mb
    via jersy client.

    code that i have wriiten is:

    WebResource webResource = client.resource(url);

    MultiPart multiPart = new MultiPart();

    FileDataBodyPart filePart = new FileDataBodyPart("file", file,
    MediaType.APPLICATION_OCTET_STREAM_TYPE);

    multiPart.bodyPart(filePart);
    multiPart.bodyPart(new FormDataBodyPart("code", code));
    ClientResponse response = webResource.type(MediaType.MULTIPART_FORM_DATA).post(ClientResponse.class,
    multiPart);

    Thanks

    DB:2.56:Large File Uploads With Jersey Client mj

    Thanks for ur reply but i have tried it by using

    client.setChunkedEncodingSize(10000);
    WebResource webResource = client.resource(url);
    // file to multi part Request
    MultiPart multiPart = new MultiPart();
    FileDataBodyPart filePart = new FileDataBodyPart("file", file,
    MediaType.APPLICATION_OCTET_STREAM_TYPE);
    multiPart.bodyPart(filePart);
    multiPart.bodyPart(new FormDataBodyPart("code",code));

    ClientResponse response = null;
    response = webResource.type(MediaType.MULTIPART_FORM_DATA).post(ClientResponse.class,
    multiPart);

    Now the file are easily send in chunked but the problem is i am not able to receive value of code now..

    On the other server where i am sending this file along code is:

    public void upload(@RequestParam("file") MultipartFile uploadedFile,
    @RequestParam("code") String code,
    Writer responseWriter) throws IOException
    {
    }

  • RELEVANCY SCORE 2.56

    DB:2.56:Crm2011: Invoke A Html Webresource From Plugin d9



    Hi,
    Can we invoke a HTML webresource from a CRM plugin?. The requirement is to create a plugin that will generate a word document to be placed on the server using 3rd party dlls. After the process is over, a custom dialog needs to be shown so that the user can
    download the document.
    Please advise what should be best approach to carry out the above tasks?

    DB:2.56:Crm2011: Invoke A Html Webresource From Plugin d9

    Hi
    Did this help?
    Please make sure to mark as answer to the response that helped you get through. This will help others with similar problem identify the answer and also close this thread as resolved.
    Thanks
    Dkay

  • RELEVANCY SCORE 2.56

    DB:2.56:Macro Excel Vba fa


    como fazer uma macropara somar centenas de valores distribuídos em 3 tabelas na mesma planilhaquando os nomes forem iguais. Por exemplo: AB32e 200 (AB32 é o nome na célula A2 e 200 a quantidade na célula B2); AB32 e 350 (AB32 é o nome na célula E2 e
    200 a quantidade na célula F2); AXD - 50 (AXD é o nome na célula L2 e 200 a quantidade na célula M2). Neste exemplo a macro inseriria o resultado AB32 e 550 (célula P2 e Q2). Agradeço a ajuda!

    DB:2.56:Macro Excel Vba fa

    Olá M,
    Agradeço o interesse e menciona os dados usados na macro acima. A questão é que essa macro só funciona quando os códigos (cod) são numéricos. Além disso é necessário, antes de executar a macro, inseir todos os codigos na coluna F sem repetir. Os resultados
    são inseridos na coluna G. O Range("A1").Select é um hábito que tenho de selecionar uma célula no iníco e no final de uma macro. O que preciso é adaptar a macro para que processe códigos alfa-numéricos.
    ForteAbraço e Feliz Natal!

    coluna/linha
    A
    B
    C
    D
    E
    F
    G

    1
    cod
    valor
    cod
    valor
    cod
    total

    2
    1
    100
    1
    11111
    1
    11612

    3
    2
    50
    4
    5444
    2
    130

    4
    2
    80
    3
    20

    5
    1
    200
    4
    18789

    6
    3
    20

    7
    4
    12345

    8
    1
    1

    9
    4
    1000

    10
    1
    200

  • RELEVANCY SCORE 2.56

    DB:2.56:Axd V2.2 Can Not Load Some Elf File Generated By Gcc cc


    DB:2.56:Axd V2.2 Can Not Load Some Elf File Generated By Gcc cc

    Note: This was originally posted on 22nd March 2007 at http://forums.arm.comAXD only has very limited support for GCC,. RVD has better support for GCC, but it is still limited to particular versions and you have to build with Dwarf3 debug data. Take a look at the RVDS Essentials Guide.

  • RELEVANCY SCORE 2.56

    DB:2.56:Pdf Filename In Webresource Url 7a



    Hi,

    I've got a maybe simple problem, but didn't find any solution.

    I get an PDF File from my application and open it as an external window.

    This works fine

    The URL contains not the filename but "unknown.pdf...".

    How can i change that?

    Following the code where i read the file and open the external window.

    File file = controller.getReportFile(...);
    byte[] fileData = null;

    try {
    fis = new FileInputStream(file);
    fileData = new byte[(int) file.length()];
    fis.read(fileData);
    fis.close();
    catch(Exception e) {
    }

    IWDWindow = null;

    try {
    IWDWebResource webResource = WDWebResource.getWebResource(fileData, WDWebResourceType.PDF);

    window = wdComponentAPI.getWindowManager().createExternalWindow(webResource.getURL(), "Report", false);

    window.open();
    catch(Exception e) {
    }

    DB:2.56:Pdf Filename In Webresource Url 7a


    I solved it.

    I displaced IWDWebResource with IWDCachedWebResource.

    This interface provides the method setResourceName(String name).

    String fileName = file.getAbsoluteFile().getName();

    IWDCachedWebResource webResource = WDWebResource.getWebResource(fileData, WDWebResourceType.PDF);
    webResource.setResourceName(fileName);

  • RELEVANCY SCORE 2.54

    DB:2.54:Verify Db Fails Using Db13 k3



    Hi,

    I am running verify DB using DB13 trx. But it gets terminated with below job log:

    SID is AXD

    DBSID is AXD

    JOB LOG:

    iJob started

    Step 001 started (program RSDBAJOB, variant 0000000000000, user ID BASIS001)

    Execute logical command BRBACKUP On host API2DEV

    Parameters:-u / -jid VERIF20070425103427 -c force -w only_dbv -p initAXD.sap -m ALL

    BR0051I BRBACKUP 7.00 (18)

    BR0252E Function fopen() failed for '/oracle/AXD/102_64/sapbackup/bdvcrmpg.dbv' at location main-8

    BR0253E errno 2: No such file or directory

    BR0121E Processing of log file /oracle/AXD/102_64/sapbackup/bdvcrmpg.dbv failed

    BR0056I End of database backup: bdvcrmpg.dbv 2007-04-25 10.34.36

    BR0280I BRBACKUP time stamp: 2007-04-25 10.34.37

    BR0054I BRBACKUP terminated with errors

    External program terminated with exit code 3

    BRBACKUP returned error status E/i

    As per the log, it is trying to create log in my ORACLE_HOME/sapbackup which does not exist and is thus getting terminated.

    But I have already set SAPDATA_HOME=/oracle/AXD and SAPBACKUP=/oracle/AXD/sapbackup for both the users axdadm and oraaxd.

    Also in initAXD.sap, parameter backup_root_dir = /oracle/AXD/sapbackup is set.

    Plz help in resolving this issue.

    bRegards,

    Chintan Sheth/b

  • RELEVANCY SCORE 2.54

    DB:2.54:Crm 2011 Beta Plug-In: Retireve Webresource Content sd



    Hi there,

    I'm developing a plug-in at CRM 2011 beta to retrieve an XML file from webresource.
    I have successfully retrieved the file and its content, but i'm not able to parse it back to string,
    because the content is encoded into another format (it looks like PHJvb3QDQo8SGVsbG8DQo8L3Jvb3Q).
    How can I decode or convert this format to a readable format?

    DB:2.54:Crm 2011 Beta Plug-In: Retireve Webresource Content sd

    I guess I was a few hours late on this one. getting web resource contents was part of my blogpost today. :)
    http://mileyja.blogspot.com/2011/03/retrieve-web-resource-contents-in.htmlJamie Miley
    http://mileyja.blogspot.com
    Linked-In Profile
    Follow Me on Twitter!

  • RELEVANCY SCORE 2.54

    DB:2.54:Html Webresource On Click Redirect To Another Page z9


    Hello everyone
    am display an html webresource in dashboard
    webresource contain the data of a entityT1
    on click of the row data(field)i need it redirect to particular page of the record.

    ms crm

    DB:2.54:Html Webresource On Click Redirect To Another Page z9

    First you need to local Xrm context for this you load de clientglobalcontext.js (http://msdn.microsoft.com/en-us/library/gg328541.aspx) After use de Open entity Formhttp://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_OpenEntityForm.

    Hope Help you!

  • RELEVANCY SCORE 2.54

    DB:2.54:Webresource Not Displaying In Crm 2011 Outlook Client ac


    HI,
    I have a webresource (an HTML page) in my form. It will be populated with values based on a lookup field. This is working fine in CRM 2011 Webclient. but I couldn't get the same in Outlook.
    I hope, the Preview pane in Outlook, must also show the Webresource? Should i configure anything/is it not possible?
    This is how it is displayed in Web Client:

    Outlook Client:

    DB:2.54:Webresource Not Displaying In Crm 2011 Outlook Client ac

    I AM seeing a subgrid on my outlook reading pane, and I dont want to. I use JS on the CRM client to filter the subgrid, but I thought I was safe because subgrids aren't displayed, but I'm seeing one. Did something change?

  • RELEVANCY SCORE 2.54

    DB:2.54:Unable To Add Webresource To The Crm Package Project - Crm Dev Toolkit dz


    Hi,

    We have a lot of webresources in the CRM solution that are not in the source control. I'm trying to add the webresource from CRMExplorer in visual studio to the package project and I get an error for some of the web resources.

    Has anybody seen this error ? and know the root cause/resolution ?

    DB:2.54:Unable To Add Webresource To The Crm Package Project - Crm Dev Toolkit dz

    It could be that you already have a file in the CrmPackage by the same name which is under source control and not -checked out?Scott Durow
    Blog www.develop1.net
    Follow Me
    Rockstar365
    If this post answers your question, please click Mark As Answer on the post and Mark as Helpful

  • RELEVANCY SCORE 2.53

    DB:2.53:Crm 2011 Beta Plug-In Retireve Documentbody 3z


    Hi ,
    am trying to read documet content using documentbody from annotation table. but i'm not able to parse it back to string.
    like bellow link given for read webresource content, i am trying for annotation document .
    http://social.microsoft.com/Forums/en-US/84ee2dd5-974e-4172-8e39-ec54eafdd39e/crm-2011-beta-plugin-retireve-webresource-content

    byte[] binary = Convert.FromBase64String(annot.Attributes[documentbody].ToString());

    string content = UnicodeEncoding.UTF8.GetString(binary);

    Gratefulfor
    any help!!

    DB:2.53:Crm 2011 Beta Plug-In Retireve Documentbody 3z

    Hi,
    The following few links should point you in the right direction:
    http://stackoverflow.com/questions/1011234/how-to-extract-text-from-ms-office-documents-in-c-sharp
    http://stackoverflow.com/questions/17046358/how-to-convert-a-word-document-to-a-text-file-in-c-sharp-without-using-microsoft
    http://stackoverflow.com/questions/10347533/converter-api-for-doc-docx-rtf-txt-xls-xslx-pdf-to-html-htm-format-for-webMichael Palmer
    xRMPalmer
    @MJFPalmer
    Rockstar365

  • RELEVANCY SCORE 2.53

    DB:2.53:Xrm.Utility.Openwebresource Win Params s1


    I have a ribbon button that is calling a javascript function that I want to open a new window for a webresource url.
    In my Visual Ribbon Editor I would have in the Address: $webresource:new_/mypage.html
    Instead, I'm calling a javascript function and calling:
    Xrm.Utility.openWebResource(new_/mypage.html, params);
    I would like to modify the Win Params for the following: fullscreen=yes,resizable=no,location=no
    The javascript file is firing correctly however, my webresource url is not opening. I've even tried just Xrm.Utility.openWebResource(new_/mypage.html);
    How can I correctly open a webresource url and pass in Win Params?

    DB:2.53:Xrm.Utility.Openwebresource Win Params s1

    There is is / in your webResourceName ?! and .html
    you shuld use resource NAME:
    new_mypage (probably without .html)
    btw you can also call directly from ribbon with static parameters for example:
    Actions
    Url WinParams=width=900,height=600,resizable=yes,toolbar=no,location=no PassParams=true WinMode=0 Address=$webresource:new_maypage /
    /Actions

  • RELEVANCY SCORE 2.53

    DB:2.53:Calling Quick Campaign Wizard From Html Webresource mj


    Dear All,
    I override the 'Quick Campaign button. First i need to ask few parameters and then need to call quick campain wizard. For this requirement, I override the quick campaign button by calling HTMLwebresource to ask the parameters.From HTML webresource
    i am trying to call quick campaign wizard. I am calling default CRM javascript function
    Mscrm.QuickCampaign.quickCampaignSelectedItems(SelectedControl,SelectedControlSelectedItemIds,SelectedEntityTypeCode,SelectedControlAllItemCount);
    I am referring the below scriptfiles on HTML Webresource.
    script src=ClientGlobalContext.js.aspx type=text/javascript/script
    script src=_static/_common/scripts/RibbonActions.js type=text/javascript/script
    Problems:
    1) Calling HTML webresourceon quick campaign Ribbon button - used Url function under commandActions. Not able to add below parameters from ribbon workbench tool
    crm Parameters: SelectedControl,SelectedControlSelectedItemIds,SelectedEntityTypeCode,SelectedControlAllItemCount
    2) When i click on the button on html webresource, it's showing error as Unable to get property 'quickCampaignSelectedItems' of undefined or null reference
    Kindly give some idea.

    DB:2.53:Calling Quick Campaign Wizard From Html Webresource mj

    Dear All,
    I override the 'Quick Campaign button. First i need to ask few parameters and then need to call quick campain wizard. For this requirement, I override the quick campaign button by calling HTMLwebresource to ask the parameters.From HTML webresource
    i am trying to call quick campaign wizard. I am calling default CRM javascript function
    Mscrm.QuickCampaign.quickCampaignSelectedItems(SelectedControl,SelectedControlSelectedItemIds,SelectedEntityTypeCode,SelectedControlAllItemCount);
    I am referring the below scriptfiles on HTML Webresource.
    script src=ClientGlobalContext.js.aspx type=text/javascript/script
    script src=_static/_common/scripts/RibbonActions.js type=text/javascript/script
    Problems:
    1) Calling HTML webresourceon quick campaign Ribbon button - used Url function under commandActions. Not able to add below parameters from ribbon workbench tool
    crm Parameters: SelectedControl,SelectedControlSelectedItemIds,SelectedEntityTypeCode,SelectedControlAllItemCount
    2) When i click on the button on html webresource, it's showing error as Unable to get property 'quickCampaignSelectedItems' of undefined or null reference
    Kindly give some idea.

  • RELEVANCY SCORE 2.53

    DB:2.53:Archivo .Axd z3


    estoy generando una grafico de mi base de datos , pero cuando corro el proyecto en el navegador la imagen del grafico no aparece, al guardarla tiene la extencion .axd , como hago para que mi grafico salga en el navegador ? o nesecito cambiar esa extension.
    espero respuesta, estaria agradecida!
    saludos

    DB:2.53:Archivo .Axd z3

    estoy generando una grafico de mi base de datos , pero cuando corro el proyecto en el navegador la imagen del grafico no aparece, al guardarla tiene la extencion .axd , como hago para que mi grafico salga en el navegador ? o nesecito cambiar esa extension.
    espero respuesta, estaria agradecida!
    saludos

  • RELEVANCY SCORE 2.53

    DB:2.53:Crm 2013 - How To Get A Returnvalue From A (Dialog) Html Webresource? 78


    Does anyone have a good model for showing an HTML webresource from the ribbon to use as a dialog and returnvalue to calling script? Ideally using callback function
    Thanks

    DB:2.53:Crm 2013 - How To Get A Returnvalue From A (Dialog) Html Webresource? 78

    I'm looking for a cross browser solution that will use an inline dialog if possible?

    Certainly when this is supported in RU3?
    Don't think Chrome supports modal dialog?
    Thanks

  • RELEVANCY SCORE 2.53

    DB:2.53:Crm 2011 Sdk Get Url Web-Resource m7


    Hy

    I'm using the following linq-syntax to get a web-resource in a plugin:
    WebResource xxx= (from a in OrgContext.CreateQueryWebResource()

    where a.Name == xxxName

    select a).SingleOrDefault();

    ...but how can I get the URL from this WebResource? Something like xxx.URL doesn't exist...but when I open the Web-Resource in CRM I see the URL...

    Thanks for your help,
    Peter

    DB:2.53:Crm 2011 Sdk Get Url Web-Resource m7

    IOrganizationService service = serviceFactory.CreateOrganizationService(new NullableGuid());

  • RELEVANCY SCORE 2.53

    DB:2.53:Web Resource Publishing In A Pre And Post Operation Plugins. a3



    I need to modify an xml webresource in a pre-operation and post-operation plugins and after that i need to publish those changes, but the code to publish (shown below) throws an exception.

    Is possible to publish the xml webresurce inside a plugin? if so, how I can do that? am I doing something wrong?

    PublishXmlRequest publishRequest = new PublishXmlRequest();

    publishRequest.ParameterXml =
    importexportxml
    webresources
    webresource webResource.LogicalName /webresource
    /webresources
    /importexportxml;

    try
    {
    service.Execute(publishRequest);
    }
    catch (Exception e)
    {
    throw new InvalidPluginExecutionException(Failure: WebResource publishing... e.ToString());
    }

    DB:2.53:Web Resource Publishing In A Pre And Post Operation Plugins. a3

    Hi Alex,
    publishRequest takes webresource id not webResouce.LogicalName
    try this:
    publishRequest.ParameterXml =
    importexportxml
    webresources
    webresource {webResourceId} /webresource
    /webresources
    /importexportxml;

    try
    {
    service.Execute(publishRequest);
    }
    catch (Exception e)
    {
    throw new InvalidPluginExecutionException(Failure: WebResource publishing... e.ToString());
    }
    puja jain

  • RELEVANCY SCORE 2.53

    DB:2.53:Load Xml Webresources In Plug-In xj


    Dear all,
    I've load a content of xml webresource in javascript. And it's run ok.
    But now i dont know how to get the content of webresource in my plug-in
    Any idea for it, please?

    DB:2.53:Load Xml Webresources In Plug-In xj

    Hi, It's work for me :) Thanks a lot.
    Do you know how to get current user lcid in plug-in?
    I found it it javascript like this:
    var Lcid = window.parent.Xrm.Page.context.getUserLcid();

  • RELEVANCY SCORE 2.53

    DB:2.53:New Managed Solution With A Part Less mx


    I have a managed solution with - say - version 1.0.0.0. This solution contains webresource test.js.I decide to publish a version 1.1.0.0 of this solution. The new version does not contain webresource test.js anymore.
    After importing version 1.2.0.0 webresource test.js remains in the system. This would not be a problem provided the state of test.js would be unmanaged. But, it is still managed and it is still related to the managed solution.
    How can I remove parts from a managed solution when I deploy a new version? Or, can managed solutions only grow?Henk van Boeijen

    DB:2.53:New Managed Solution With A Part Less mx

    Hi Henk,
    Unfortunately you can't delete the web resource with a managed solution install. If the web resource was set customizable = true in version 1.0.0.0 of your solution, the customer can delete it and you will need to communicate that with your customer. If
    you have set customizable = false in version 1.0.0.0, you will have to include the webresource as customizable=true in version 1.1.0.0 of your solution so that the customer can delete the component.
    I hope that helps!
    Thanks
    Mesganaw

  • RELEVANCY SCORE 2.53

    DB:2.53:File Upload Control On Crm 2011 Form a8


    Hi
    I added a file upload control inside an Iframe on form. I called a web-resource to do this.
    HTML webresource has following source :
    htmlheadmetametametameta/headbody
    table style=width:100%; background-color:white
    colgroupcol width=79%col width=1%col width=20%
    /colgrouptbodytr
    td
    input type=file onchange=setFormDirty(); id=userFileId name=userFile
    /td
    /tr
    /tbody/table
    /body/html

    Now, when I select a file and click save button on form, I want to create a webresource. I will be uploading only Image files, so please let me know how I can do it.
    Primarily, I am stuck at, how to read the file path, file and other file specifications which I can use in either jscript or a plugin to upload it as a webresource.

    DB:2.53:File Upload Control On Crm 2011 Form a8

    Hi,
    I have used file upload control in HTML web-resource.
    Please find the code below.
    We have developed an add-on by which you can upload image files into forms in CRM.
    This add-on uses the HTML 5 file upload control.
    input id=iptFile onchange=addPicture(this.files) type=file accept=image/gif,image/jpeg,image/png
    style=visibility: hidden /
    function addPicture(files) {
    var reader;
    try {
    reader = new FileReader();
    } catch (err) {
    alert(HTML5AlertMsg);
    return;
    }

    reader.onload = function (e) {
    // e.target.result holds the DataURL which
    // can be used as a source of the image:
    if (e.target.result.length max_file_size) {
    alert(FileSizeBigMsg);
    return;
    }
    };

    // Reading the file as a DataURL. When finished,
    // this will trigger the onload function above:
    reader.readAsDataURL(files[0]);
    }

    Let me know if this solves your problem.

  • RELEVANCY SCORE 2.53

    DB:2.53:Crm 2011 - Webresource Update Is Not Working Through Sdk cz


    Hi,
    I am having SDK code which creates XML WebResource from XDocument. This code works well for new WebResource Creation however when I try to update existing WebResource it makes no changes to itneitherit throws any error in Update Call. Following
    is code that I am having.
    Has anybody tried such scenario ?

    int _WebResource_Xml = 4;
    string _name = string.Format(treeview_/XML/{0}.xml, entityName);

    Entity e = new Entity(webresource);
    // dataFile: /webresources/treeview_/XML/Sample_XML_Data.xml,
    e[displayname] = _name;
    e[description] = _name -- Description;
    e[content] = getEncodedFileContents(xDOC);
    e[webresourcetype] = new OptionSetValue(_WebResource_Xml);

    Guid _id = CheckIfAvailable(_name, 4, orgSvc);

    if (_id != Guid.Empty)
    {
    e[webresourceid] = _id;
    orgSvc.Update(e);
    }
    else
    {
    e[name] = _name;
    Guid id = orgSvc.Create(e);
    }

    MaKeer | myencounterwithcrm.wordpress.com |

    CRM2011 User Settings Utility |
    CRM2011 Lookup Preview |
    CRM2011 Lookup Attribute Mapping |
    CRM2011 TreeView Control (Beta)

    DB:2.53:Crm 2011 - Webresource Update Is Not Working Through Sdk cz

    i agree,Here is some examples of how to publish customizations in code:

    Publish all customizations:
    http://mileyja.blogspot.com/2011/05/how-to-publish-all-customizations-using.html

  • RELEVANCY SCORE 2.53

    DB:2.53:Webresource z1


    Saudações
    estou tentando construir um controle que usa WebResource e esta dando esse erro
     
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1061: 'System.Web.UI.ControlCollection' does not contain a definition for 'maskedText' and no extension method 'maskedText' accepting a first argument of type 'System.Web.UI.ControlCollection' could be found (are you missing a using directive or an assembly reference?)Alguem sabe que erro é esse?
     
    No Render, se eu passar os writer.AddAttributes direto fuinciona, mas se colocar uma condição, nao funciona mais
     

    DB:2.53:Webresource z1

    Saudações
    estou tentando construir um controle que usa WebResource e esta dando esse erro
     
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1061: 'System.Web.UI.ControlCollection' does not contain a definition for 'maskedText' and no extension method 'maskedText' accepting a first argument of type 'System.Web.UI.ControlCollection' could be found (are you missing a using directive or an assembly reference?)Alguem sabe que erro é esse?
     
    No Render, se eu passar os writer.AddAttributes direto fuinciona, mas se colocar uma condição, nao funciona mais
     

  • RELEVANCY SCORE 2.53

    DB:2.53:Wss Webpart Problems With Embedded Js File - Help! ka


    Hi
    I have developed a webpart that renders items from a list but i need to embedd some javascript.
    I embedded a simple js file with the following code to test it with an onclick event.
    function Hello()
    {
    alert ('Hello');
    }
     
    BUT I get an error 'object expected' with the onclick event.
     
    When I view the wss source file I can see the axd file.
     
    I can embedd images no problem but not js files.
     
    Code below
     
    Assemblyinfo.cs
     
    [assembly: WebResource(JScript1.js, text/js)]
    [assembly: WebResource(WebPartLibrary2.news.jpg, img/jpeg)]
     
     
    Webpart code
     
    public class CustomPropertyWebPart : Microsoft.SharePoint.WebPartPages.WebPart
    {
    protected override void OnPreRender(EventArgs e)
    {
    string scriptlocation = Page.ClientScript.GetWebResourceUrl(this.GetType(), JScript1.js);
    Page.ClientScript.RegisterClientScriptInclude(JScript1.js, scriptlocation);
    base.OnPreRender(e);
    }
     
     
     

    DB:2.53:Wss Webpart Problems With Embedded Js File - Help! ka

    unfortunately not....embedding images is no problem....js files are another matter.
    We ended up embedding the js file through sp designer which is not a good solution
     

  • RELEVANCY SCORE 2.53

    DB:2.53:Set Focus On A Field Inside A Html Webresource 1s


    For my current project i have builed a html webresource that contains some input text fields. I am trying to set the focus on one of the fields wenn the form is loaded.
    I have tryed
    $(#fieldID).focus();
    And
    $(window).load(function(){
    var control=document.parentWindow.parent.Xrm.Page.ui.controls.get(WebResource);
    control.setFocus();
    $(#fieldID).focus();
    });
    Nothing is working.
    I am currently using CRM 2011 RU 13 and IE9.

    DB:2.53:Set Focus On A Field Inside A Html Webresource 1s

    HTML5 has autofocus attribute input id =Text1 type=text autofocus /
    Possibly can be attached via jQuery to existing field

  • RELEVANCY SCORE 2.53

    DB:2.53:Dynamics Crm 2011 Online: Incorrect Maxlength Metadata Reported For Content Attribute On Webresource Entity With Ur12. 9z


    We are currently usingthe RetrieveAllEntitiesRequest to retrieve entity metadata from the execute method. The AttributeMetadata for the 'content'attribute on the 'webresource' entity is reporting a MaxLength of 0. Before the release of UR12
    the MaxLength was reportedas 1073741823 using the same request. Is this change in metadata expected behavior? If not is this a know issue and will it be fixed?

    DB:2.53:Dynamics Crm 2011 Online: Incorrect Maxlength Metadata Reported For Content Attribute On Webresource Entity With Ur12. 9z

    Sorry that was the wrong link. I meant theRetrieveMetadataChangesRequest which is a new way to retrieve metadata with UR 12 so I was thinking maybe it will return the correct length.
    http://msdn.microsoft.com/en-us/library/jj863599.aspx

    Blake Scarlavai - http://mscrmdev.blogspot.com/ - Sonoma Partners -
    http://www.sonomapartners.com/ -
    Follow @bscarlav
    CRM 2011 JavaScript Model Generator -
    CRM 2011 Appender for log4net

  • RELEVANCY SCORE 2.49

    DB:2.49:Can Not Use Response .End() In Vs 2013 8z


    Hi,
    i have a problem as follows:
    after i use Response.End() to create a xls/ pdf file, it can not work. the filefox use Post to load the file . But it is nothing to create a xls file.

    Then, I try to add the RouteTable.Routes.MapPageRoute(File, {*name.xls}, ~/); and remove RouteTable.Routes.Ignore({resource}.axd/{*pathInfo});
    it can create the xls file and i can download the xls. however, all the axd is error 404 not find.

    please help me thanks.

    DB:2.49:Can Not Use Response .End() In Vs 2013 8z

    Please post questions related to ASP.NET in the ASP.NET forums (http://forums.asp.net ).

  • RELEVANCY SCORE 2.49

    DB:2.49:File .Axd dz


    I am creating a
    graph of my database, but when I run
    the project in the graphic image browser
    is not listed, to save has
    the extension. axd, as I leave
    for my graphics in the browser? or need to change
    the extension. expect an answer, I'd be
    grateful!

    regards

    DB:2.49:File .Axd dz

    I am creating a
    graph of my database, but when I run
    the project in the graphic image browser
    is not listed, to save has
    the extension. axd, as I leave
    for my graphics in the browser? or need to change
    the extension. expect an answer, I'd be
    grateful!

    regards

  • RELEVANCY SCORE 2.47

    DB:2.47:Access Local Drives From A Silverlight Webresource Getting Access Denied 1k


    Hi
    I'm trying to make a silverlight webresource that lists files on a network path that the user has access to but I keep getting access denied. Can a silverlight do this or is it a dead end?
    I'm trying it out on CRM Online.

    varfiles =
    Directory.EnumerateFiles(@C:\windows\system32\drivers);

    DB:2.47:Access Local Drives From A Silverlight Webresource Getting Access Denied 1k

    I suspect your issue may be less to do with the generic idea of local file system access, and more with the specific directory to which you are attempting to gain access.
    System directories such as this will be protected by UAC on Windows 7 (or similar), so it is to be expected that access will be prevented.--pogo (pat) @ pogo69.wordpress.com

  • RELEVANCY SCORE 2.47

    DB:2.47:Plugin To Read Binding Info From Webresource? da


    Hi
    I've written a plugin that uses basic http binding to connect to SSRS. I'd like the binding to be configurable without recompiling (at the moment I'm defining the binding in code), so I'd like the configuration to be kept in an XML webresource in CRM. I'm
    all good with retrieving the xml webresource and getting it in to an XmlDocument, but I'm not sure of the best way to build a binding from that? Is there a way to get .Net to build the binding for me?
    I could try and rewrite all the code to read the xml and create a Binding from it, property by property, but it would be far more robust if it was built using the binding's constructor or some sort of load method instead.
    Thanks
    James-- James

    DB:2.47:Plugin To Read Binding Info From Webresource? da

    Hi
    I've written a plugin that uses basic http binding to connect to SSRS. I'd like the binding to be configurable without recompiling (at the moment I'm defining the binding in code), so I'd like the configuration to be kept in an XML webresource in CRM. I'm
    all good with retrieving the xml webresource and getting it in to an XmlDocument, but I'm not sure of the best way to build a binding from that? Is there a way to get .Net to build the binding for me?
    I could try and rewrite all the code to read the xml and create a Binding from it, property by property, but it would be far more robust if it was built using the binding's constructor or some sort of load method instead.
    Thanks
    James-- James

  • RELEVANCY SCORE 2.45

    DB:2.45:Frames Break Generateauthenticationheader() ? (Crm 2011) k8


    CRM 2011:
    I am working on a CRM 4.0 to 2011 migration of a custom app code. In one place I imported an HTML file as a WebResource and had one of our SiteMap subareas link to it (src=$webresource:...). The HTML has some javascript near the beginning
    for building a soapHeader that I had to fiddle around with to get it to work:

    var soapHeader = +
    ?xml version=\1.0\ encoding=\utf-8\? +
    soap:Envelope xmlns:soap=\http://schemas.xmlsoap.org/soap/envelope/\ xmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance\ xmlns:xsd=\http://www.w3.org/2001/XMLSchema\ +
    this.parent.GenerateAuthenticationHeader();

    DB:2.45:Frames Break Generateauthenticationheader() ? (Crm 2011) k8

    My guess is that they do not want to replace the jscript authentication header at all as it is a security risk and could provide impersonation from the client side without even providing a password by manipulating the callerid.
    I could be wrong on that one though, so feel free to let me know if you think I am on track.

    Jamie Miley
    Check out my about.me profile!

    http://mileyja.blogspot.com

    Linked-In Profile
    Follow Me on Twitter!

  • RELEVANCY SCORE 2.45

    DB:2.45:Relation Between Dbo.Webresourcebase And Metadataschema.Attribute z7


    Hi All,

    I want to create a report with a part showing every javascript type of webresource, including the fields where the library is active.
    I have found a way to extract the javascript from the database, but I can not seem to find a reltation between the webresource table and the attribute table. Does anybody know how these objects are related to each other?

    Thanks!

    DB:2.45:Relation Between Dbo.Webresourcebase And Metadataschema.Attribute z7

    Hi,
    Form attributes attached event information is placed in the FormXml,you have to retrieve the FormXml byRetrieveFormXmlRequestand the can parse the attached event function and script information.Jehanzeb Javeed

    http://worldofdynamics.blogspot.com

    Linked-In Profile |CodePlex
    Profile

    If you find this post helpful then please Vote as Helpful and Mark As Answer.

  • RELEVANCY SCORE 2.45

    DB:2.45:Arquivos Consumindo Muita Banda (.Axd) kx


     
    Olá amigos, tem dois arquivos no meu servidor que estão consumindo muita banda, são eles:WebResource.axdScriptResource.axdGostaria de saber do que se tratam esses arquivos, e se eu posso apagar, pois eles estouraram o limite de transferencia mensal 250Mb em apenas uma semana.
     
    Obrigado!

    DB:2.45:Arquivos Consumindo Muita Banda (.Axd) kx

     
    Olá amigo,
     
    Vou usar este ToolkitScriptManager e depois posto aqui os resultados ...
     
    desde já eu agradeço!!!!

  • RELEVANCY SCORE 2.45

    DB:2.45:Security Exception While Creating Web Resource(Uploading A Image File) Through Plugin sj


    Hi All,
    I have a issue with uploading a image file to crm 2011 online when creating a web resource through the plugin(late bound) .....
    I have given the code below, an error is thrown at the FileStream instantiation .... some Security exception rises not allowing to access ....
    This same code works fine for onpremise version of CRM web resource gets created.... Please help on this ....
    var context = (IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext));
    var serviceFactory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
    var service = serviceFactory.CreateOrganizationService(context.UserId);
    var tracingService = (ITracingService)serviceProvider.GetService(typeof(ITracingService));

    if (context.InputParameters.Contains(Target) context.InputParameters[Target] is Entity)
    {
    var targetEntity = (Entity)context.InputParameters[Target];
    String filePath = (String)targetEntity.Attributes[new_imageurl];
    tracingService.Trace(filePath obtained);
    Entity webResource = new Entity(webresource);
    webResource[name] = new_User4;
    webResource[displayname] = User4 Image;
    tracingService.Trace(Content part entry);
    webResource[content] = getEncodedFileContents(filePath);
    webResource[webresourcetype] = new OptionSetValue(6);
    service.Create(webResource);
    tracingService.Trace(Web resource created);
    }
    }
    catch (Exception ex)
    {
    throw new InvalidPluginExecutionException(ex.Message);
    }
    }

    //Encodes the Web Resource File
    static public string getEncodedFileContents(String pathToFile)
    {
    FileStream fs = new FileStream(pathToFile, FileMode.Open, FileAccess.Read);
    byte[] binaryData = new byte[fs.Length];
    long bytesRead = fs.Read(binaryData, 0, (int)fs.Length);
    fs.Close();
    return System.Convert.ToBase64String(binaryData, 0, binaryData.Length);
    }
    }
    }

    Eddy Lino

    DB:2.45:Security Exception While Creating Web Resource(Uploading A Image File) Through Plugin sj

    Hi,
    Plugins in CRM online will be executed inisolation mode. They won't be allowed to access your file system.Because of that you are getting the security exception. If I am not wrong, pathToFile points your personal/network
    drive.
    Instead I suggest you to attach your file to the record's notes section. From there you can get the file iin the plugin context's Target property.
    Vikranth
    http://howto-mscrm.blogspot.com Please Mark it as answer if it helps in resolving your query

  • RELEVANCY SCORE 2.45

    DB:2.45:Call Javascript Function From Silverlight Webresource jm


    Hello,
    I have created a silverlight webresource ,in this silverlight application I have a button that calls a javascript function which is declared in the HTMl page that is created when creating silverlight application .
    I wrote this line of code to invoke the javascript function
    HtmlPage.Window.Invoke(funcName);
    I have uploaded the html web page to crm as well as silverlight XAP file
    but it seems that silverlight doesn't see the function declared in the html web page ??
    How can I do this ? is it the right way to dosuch thing??
    Thank you.Zarour

    DB:2.45:Call Javascript Function From Silverlight Webresource jm

    hi
    did u put this line in your constructor
    HtmlPage.Window.Invoke(funcName);
    check it onesPlease don't forget to Vote and marked as answer If this post answers your question or was helpful, please click Mark As Answer on the post and Mark as Helpful Be wise

  • RELEVANCY SCORE 2.45

    DB:2.45:Open Custom Webresource Html Page - Return Value To Ribbon Button Function? f8


    Hello, I'm in the process of creating a custom webresource html page. This html page will be opened via a js function from a ribbon button. This html page will need to return a value back to the window opener. Afaik, window.showModalDialog()
    is now deprecated and is definitely not supported by CRM. Can you please reply with some sample js I can use to accomplish what I'm trying to do in CRM?

    DB:2.45:Open Custom Webresource Html Page - Return Value To Ribbon Button Function? f8

    Hello, I'm in the process of creating a custom webresource html page. This html page will be opened via a js function from a ribbon button. This html page will need to return a value back to the window opener. Afaik, window.showModalDialog()
    is now deprecated and is definitely not supported by CRM. Can you please reply with some sample js I can use to accomplish what I'm trying to do in CRM?

  • RELEVANCY SCORE 2.44

    DB:2.44:Crm 2011 Dashboard Component (Webresource) File Not Found xx


    I've created a webresource which contains a hyperlink to one of commonly available Views. I've inserted this web resource into a dashboard and everything loads up right when i first access the dashboard. After clicking the link the view is displayed in
    a new window without any issues but the web resource in the dashboardis refreshed and I get a File not found message.

    I'm following the article below by just replacing a dialog session with a view.

    http://www.dynamicscrmtrickbag.com/2011/11/20/crm2011-dialog-power-tips-run-a-dialog-from-a-dashboard/

    DB:2.44:Crm 2011 Dashboard Component (Webresource) File Not Found xx

    I've created a webresource which contains a hyperlink to one of commonly available Views. I've inserted this web resource into a dashboard and everything loads up right when i first access the dashboard. After clicking the link the view is displayed in
    a new window without any issues but the web resource in the dashboardis refreshed and I get a File not found message.

    I'm following the article below by just replacing a dialog session with a view.

    http://www.dynamicscrmtrickbag.com/2011/11/20/crm2011-dialog-power-tips-run-a-dialog-from-a-dashboard/

  • RELEVANCY SCORE 2.44

    DB:2.44:Ldm For Armv6 With Rvds 2.2.1 pd


    Note: This was originally posted on 30th July 2010 at http://forums.arm.comHi All,I'm trying to use LDM for ARMv6 with RVDS 2.2.1 (AXD 1.3.1 build 98) for unaligned memory access. Processor is ARM1136J-S for both build and AXD debug.However, LDM results in data abort exception. LDR does not exhibit this error. My questions are1. Is it ARMv6 feature/ known-behaviour for LDM or is it RVDS 2.2.1/AXD 1.3.1 bug?2. I see some usage of LDR/ LDM with dest register same as source register. I was wondering how ARM takes care to access the memory location from one register and then write data to the same register! I'm concerned with data-path to and fro the register. Any insights? Thank you for all help and guidance,Naresh

    DB:2.44:Ldm For Armv6 With Rvds 2.2.1 pd

    Note: This was originally posted on 30th July 2010 at http://forums.arm.comI had thought that AXD did not have ARM11 support, but its a long time since I last used it. Anyway...If LDR works for the same address, than I would suspect address alignment. The ARM11s (when correctly configured) support unaligned accesses - but only with certain instructions. LDMs must always be word aligned, but not LDRs. So that could be the problem. If you look at the DFSR on entry to the abort it should confirm whether it is alignment or not.For 2, this is fine - as long as you do not specify the '!' which updates the address register. So... LDM r1, {r0-r4) would be ok LDM r1!, {r0-r4} is not okIn the first case, the pipeline handles the updates in the correct order.

  • RELEVANCY SCORE 2.44

    DB:2.44:Absolute Newbie In Need Of Help xd


    Note: This was originally posted on 19th November 2008 at http://forums.arm.comHi i'm in need of some help :-) if available?I'm using AXD debugger and Codewarrior on a EVALUATOR7T board. I have set it up correctly and can run converted mnemonics into machine code.The problem is that i'm looking into using undefined instructions with THUMB to help reduce power consumption. In order to do this i want to write in machine code (so i can see what the PC is doing when i'm using an undefined) as i can't compile an undefined instruction.How do i import machine code directly to AXD? is there an option in either AXD or codewarrior to allow for direct Machine code codeing?Thanks for any help if given.

    DB:2.44:Absolute Newbie In Need Of Help xd

    Note: This was originally posted on 26th November 2008 at http://forums.arm.comHow can the use of undefined instructions reduce power consumption? I'm curious.You can write directly in machine code by the method described by arunjr. You could also write a utility to directly modify your image before it is loaded onto the target, though that would be a little fiddly (if a neater solution).I'm not familiar with the environment you're using, but the ARM assembler can process arbitrary data using the ".DCD" directive. This can be used to inject arbitrary data into the instruction stream, and could therefore be used to create an undefined instruction. Indeed, if you look at the disassembly of your binary, you will see that this is how literal pools are implemented.There is documentation of the DCD directive [url="http://infocenter.arm.com/help/topic/com.arm.doc.dui0204i/Babbfcga.html"]on the ARM website[/url]. That links to the RVDS 4.0 documentation, but the syntax is likely to be identical for other versions of the ARM tools.

  • RELEVANCY SCORE 2.44

    DB:2.44:Dependant Optionsets In Sdk Crm 2011. c8


    Dear All,
    I am trying to do the Dependant Optionsets as mentioned in SDK by using XML webresource and JS webresource. I did the same example what they told. But it's not working. And also not showing any error. Anybody tried this ? kindly let me know.
    Thanks,
    NAG.

    DB:2.44:Dependant Optionsets In Sdk Crm 2011. c8

    use this JS with the original xml file

    //If the SDK namespace object is not defined, create it.
    if (typeof (SDK) == undefined)
    { SDK = {}; }
    // Create a Namespace container for functions in this library;
    SDK.DependentOptionSet = {
    init: function (webResourceName) {
    //Retrieve the XML Web Resource specified by the parameter passed.
    var configWR = new ActiveXObject(Msxml2.DOMDocument.6.0);
    configWR.async = false;
    var serverURL = Xrm.Page.context.getServerUrl();
    if (serverURL.match(/\/$/)) {
    serverURL = serverURL.substring(0, serverURL.length - 1);
    }
    var pathToWR = http://localhost/XRM/WebResources/sample_TicketDependentOptionSetConfig.xml; // pass the url of the xml web resource here

    configWR.load(pathToWR);
    //Convert the XML Data into a JScript object.
    var ParentFields = configWR.selectNodes(//ParentField);
    var JSConfig = [];
    for (var i = 0; i ParentFields.length; i) {
    var node = ParentFields[i];
    var mapping = {};
    mapping.parent = node.getAttribute(id);
    mapping.dependent = node.selectSingleNode(DependentField).getAttribute(id);
    mapping.options = [];
    var options = node.selectNodes(Option);
    for (var a = 0; a options.length; a) {
    var option = {};
    option.value = options[a].getAttribute(value);
    option.showOptions = [];
    var optionsToShow = options[a].selectNodes(ShowOption);
    for (var b = 0; b optionsToShow.length; b) {
    var optionToShow = {};
    optionToShow.value = optionsToShow[b].getAttribute(value);
    optionToShow.text = optionsToShow[b].getAttribute(label); // Label is not used in the code.
    option.showOptions.push(optionToShow);
    }
    mapping.options.push(option);
    }
    JSConfig.push(mapping);
    }
    // Attach the configuration object to DependentOptionSet
    // so it will be available for the OnChange events.
    SDK.DependentOptionSet.config = JSConfig;
    //Fire the OnChange event for the mapped optionset fields
    // so that the dependent fields are filtered for the current values.
    for (var depOptionSet in SDK.DependentOptionSet.config) {
    var parent = SDK.DependentOptionSet.config[depOptionSet].parent;
    Xrm.Page.data.entity.attributes.get(parent).fireOnChange();
    }
    },
    // This is the function set on the OnChange event for
    // parent fields.
    filterDependentField: function (ParentField, childField) {
    for (var depOptionSet in SDK.DependentOptionSet.config) {
    var DependentOptionSet = SDK.DependentOptionSet.config[depOptionSet];
    /* Match the parameters to the correct dependent optionset mapping*/
    //////////////////////////////////////////// pass here the name of the Dependent picklist and detrmine the name of the parent picklist
    if (childField == sample_subcategory)
    {
    ParentField = sample_category //the name of the parent picklist

    }
    else
    {
    ParentField = sample_subcategory // the other parent of the picklist
    }

    if ((DependentOptionSet.parent ==ParentField) (DependentOptionSet.dependent == childField)) {
    /* Get references to the related fields*/
    var ParentField = Xrm.Page.data.entity.attributes.get(ParentField);
    var ChildField = Xrm.Page.data.entity.attributes.get(childField);
    /* Capture the current value of the child field*/
    var CurrentChildFieldValue = ChildField.getValue();
    /* If the parent field is null the Child field can be set to null */
    /* If the parent field is null the Child field can be set to null */
    if (ParentField.getValue() == null) {
    ChildField.setValue(null);
    ChildField.setSubmitMode(always);
    ChildField.fireOnChange();
    // Any attribute may have any number of controls,
    // so disable each instance.
    var controls = ChildField.controls.get()
    for (var ctrl in controls) {
    controls[ctrl].setDisabled(true);
    }
    return;
    }

    for (var os in DependentOptionSet.options) {
    var Options = DependentOptionSet.options[os];
    var optionsToShow = Options.showOptions;
    /* Find the Options that corresponds to the value of the parent field. */
    if (ParentField.getValue() == Options.value) {
    var controls = ChildField.controls.get();
    /*Enable the field and set the options*/
    for (var ctrl in controls) {
    controls[ctrl].setDisabled(false);
    controls[ctrl].clearOptions();
    for (var option in optionsToShow) {
    controls[ctrl].addOption(optionsToShow[option]);
    }
    }
    /*Check whether the current value is valid*/
    var bCurrentValueIsValid = false;
    var ChildFieldOptions = optionsToShow;
    for (var validOptionIndex in ChildFieldOptions) {
    var OptionDataValue = ChildFieldOptions[validOptionIndex].value;
    if (CurrentChildFieldValue == OptionDataValue) {
    bCurrentValueIsValid = true;
    break;
    }
    }
    /*
    If the value is valid, set it.
    If not, set the child field to null
    */
    if (bCurrentValueIsValid) {
    ChildField.setValue(CurrentChildFieldValue);
    }
    else {
    ChildField.setValue(null);
    }
    ChildField.setSubmitMode(always);
    ChildField.fireOnChange();
    break;
    }
    }
    }
    }
    }
    };

  • RELEVANCY SCORE 2.44

    DB:2.44:Xserve Early 2009 And Service Diagnostics 9c


    I've got an Xserve early 2009 (Xserve3,1) that has its fans constantly blowing at maximum speed.I'd like to run ASD of AXD to locate the problem. Using Disk Utility I made boot disks (CD-ROM, USB, ...) containing ASD 3X106 and AXD 3X104. But the Xserve doesn't recognize neither of them as boot disks. It's impossible to boot from these disks.Does anyone have the proper procedure to run ASD or AXD on an Xserve?David

    DB:2.44:Xserve Early 2009 And Service Diagnostics 9c

    Make sure you are using 3X106 http://support.apple.com/kb/DL948 first.I made this into a bootable image on my external hard drive. So all i have to do is plug the usb drive to the front of the xserve and boot to it.Before you do any of this though I would try to reset the SMC. You can do that by shutting down the xserve and unpluging both power plugs for 1 min. See if that makes a change first, If not go into server monitor and check your temps, maybe one of the sensors is bad and reporting that the machine is hot when its not.

  • RELEVANCY SCORE 2.44

    DB:2.44:Download Filename Of Wdwebresource.Getpubliccachedwebresource() fa



    Using
    WDWebResource.getPublicCachedWebResource(
    byte[] webResource,
    WDWebResourceType resourceType,
    WDScopeType scopeType,
    WDDeployableObjectPart deployableObjectpart,
    bString key/b)

    DB:2.44:Download Filename Of Wdwebresource.Getpubliccachedwebresource() fa


    Hi Maksim,

    Thank you for your information. However, it seems downloading file thru either URL-generation from IWDCachedWebResource or FileDownload UI should do the same thing: creating a temp file holding data and redirect the browser to that temp file.

    With FileDownload UI, filename can be fully controlled, while IWDCachedWebResource cannot do so.

    Thanks!

    Tony

  • RELEVANCY SCORE 2.44

    DB:2.44:Loading Webresources And/Or Iframes In Dynamics Crm 2013 Sp1cu1 - Browser Not Loading Parallel 7j


    When Browsing in CRM in trace we can see that it waits to load instead of loading parallel.
    It only waits if there are iframes and webresource.
    When loading only the webresource or the iframe it is milliseconds.
    When loading the page with multiple iframes or webresource it waits until the first was loaded then loading the second and so on.
    Please vote for my request:
    https://connect.microsoft.com/dynamicssuggestions/feedbackdetail/view/1020784/loading-webresources-and-or-iframes-in-dynamics-crm-2013-sp1cu1-browser-not-loading-parallel

    gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS

    DB:2.44:Loading Webresources And/Or Iframes In Dynamics Crm 2013 Sp1cu1 - Browser Not Loading Parallel 7j

    Hello Wayne,
    Yes for sure. Tested in IE9,10,11, chrome, firefox, opera. Tested with nothing except name and address field and put an iframe. Name and address loads parallel but iframe waits until address name was loaded, then iframe came up. Also tested in crm online, same
    behavior.
    So it should be by design?gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS

  • RELEVANCY SCORE 2.44

    DB:2.44:Crm 2011: Saving From A Html Webresource When The Form Close? fd


    I have a html Web Resource , where the user can input some data.
    When the user leaves the Crm Form (using the window button), I need to check if there are changes in my WebResource and ask the user about saving this data.
    The IE onbeforeunload works only
    for web access, but not when the form opened from Outlook.
    How can I attach on form closing?

    Best regards,
    Diana

    DB:2.44:Crm 2011: Saving From A Html Webresource When The Form Close? fd

    Helo Tomas,
    Sorry for the late answer, but I was on holiday last week. I used an unsupported solution, but it worked till now. I overridden the CRM function that tellsif there are changes to save on the form, adding my own dirty check function.
    //use this only when CrmContext.isOutlookClient()==true
    try {
    var OrigEvent = Xrm.Page.data.entity.$S_0.hasDataToSerialize;
    Xrm.Page.data.entity.$S_0.hasDataToSerialize = function (mode) {
    var d1 = false;
    try {
    d1 = OrigEvent.call(this, mode);
    } catch (e) { ; }
    var d2 = false; // check here if your web resource has something to save
    return (d1 || d2);
    }
    } catch (e) { ; }
    Hope this helps.

    Best regards,
    Diana

  • RELEVANCY SCORE 2.44

    DB:2.44:Ms Crm 2011 Online - Get A Value From Webresource Iframe xf


    I have a iFrame webresource which sums some values from child entities. It is a decimal number. Now I want to do some calculations based on that field and want to save the result to the main form.

    How do I get acces to that decimal number?

    DB:2.44:Ms Crm 2011 Online - Get A Value From Webresource Iframe xf


    Hi.
    To access form from iFrame, you can check the following link
    http://social.microsoft.com/Forums/en-US/bfa0c9c3-16ed-4ed9-a30d-ff2a850b56db/passing-a-value-from-iframe-to-form-crm-2011?forum=crmdevelopment
    If the format of your webresource is Silverlight, you can try this link
    http://blogs.msdn.com/b/lezamax/archive/2010/11/03/accessing-crm-forms-from-silverlight-web-resources.aspx
    Jaimie

    No, I want to access iFrame from form, not form from iFrame.

  • RELEVANCY SCORE 2.44

    DB:2.44:Ssrs Reports Export To Csv Axd 9d


    Hi there,
    When I manage to export my ssrs report to CSV file, but report view just give me a AXD file, how to fix it?
    Thanks in advace!
    aragorn

    DB:2.44:Ssrs Reports Export To Csv Axd 9d

    Hi Aragorn,
    By design, when we select a format to export a report, the Reporting Service will firstly call the Reporting Services web service handle(.axd) to export the report.
    When there is a network issue or a server error, the webresource.axd file will be downloaded to the client.
    So, in this case, please check the following options to solve the issue:

    Is there proxy setting that may block the web service calls? Is there any server error? Please check this from the Event Viewer Is there any error in the Reporting Services error logs? By default, the logs can be found from:
    SSRS 2005: Install Driver:\Program Files\Microsoft SQL Server\MSSQL.X\Reporting Services\LogFiles
    SSRS 2008: Install Driver:\Program Files\Microsoft SQL Server\MSRS10.Instance\Reporting Services\LogFiles
    SSRS 2008 R2: Install Driver:\Program Files\Microsoft SQL Server\MSRS10_50.Instance\Reporting Services\LogFiles

    If we encounter any error above, please try to fix it, or please post the error message. This will help us to solve the issue.
    Thanks,
    Jin ChenJin Chen - MSFT

  • RELEVANCY SCORE 2.44

    DB:2.44:Calling A Javascript Function From Silverlight Button Webresource 3x


    Hi All,
    Haw can I call a Js function declared into a js file from a silverlight button.
    the button is on the form of an entity and the js function is declared in a js file as a webresource
    Thanks for Help

    DB:2.44:Calling A Javascript Function From Silverlight Button Webresource 3x

    Hi,
    1. In Silverlight try involing a JScript funciton by using the code below:
    HtmlPage.Window.Invoke(myFunction);
    Make sureto add namespace System.Windows.Browser;
    2. The other way could be in silverligth get Xrm client api reference, write desired JScript code in field OnChange event and call field onchange event via Silverlight:

    dynamic xrm = (ScriptObject)HtmlPage.Window.GetProperty(Xrm);

  • RELEVANCY SCORE 2.44

    DB:2.44:Ayuda Con Optimizacion De Sitio mf


    He probado el articulo pra no cargar el archivo core.js y funciona bien, y quisera ver como pudiera hacer lo mismo con recursos axd.
    Gracias

    robert

    DB:2.44:Ayuda Con Optimizacion De Sitio mf

    Me refiero a este articulo:
    http://www.sharepointnutsandbolts.com/2011/01/eliminating-large-js-files-to-optimize.html
    y Quisera hacer lo mismo con los recursos:
    ScriptResource.axd
    WebResource.axd
    gracias
    Robert

  • RELEVANCY SCORE 2.44

    DB:2.44:Using Javascript To Call A Stored Procedure Via Fetch/Soap ca


    Hi,
    I need to query a large amount of data and I was considering using a javascript webresource and Fetch. I later found out the limitations of Fetch and stumbled onto stored procedures. Is it possible to call a store proc from a webresource (perhaps via Fetch)?
    Or am I better off writing a SSRS report using a stored proc and presenting the report as a webresource?

    DB:2.44:Using Javascript To Call A Stored Procedure Via Fetch/Soap ca

    But how does that translate to the our crm url? Or is the report server something completely different?

  • RELEVANCY SCORE 2.44

    DB:2.44:Reference Jquery In Html Webresource 9x


    Hello,
    I'm developing a Html Webresource that is opened as a dialog from a ribbon button on Case form.
    I always get this error when loading the webresource which is ( $ is undefined ) and that means that the html webresource doesn't load the referenced jquery file while I'm referencing it inside the head as :
    script type=text/javascript src=jquery1.4.1.min.js/script
    What could be the problem ?Zarour

    DB:2.44:Reference Jquery In Html Webresource 9x

    Thank you , It works now in both ways for online hosted and locally.
    Thank you very much
    Zarour

  • RELEVANCY SCORE 2.44

    DB:2.44:Crm2011 Publish Webresource From Silverlight 1c


    Hi,
    i created and saved a new webresource from a silverlight application within crm2011.
    Now when i edit the webresources content, it won't apply until i publish the webresource.
    Is there any way to publish the given webresource directly from silverlight after it is saved?
    I understand, that the OData service does not support this and i have to use the OrganizationService directly via SOAP?
    When i fiddled a standard publish from crm i isolated the envelope:
    soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchemasoap:BodyPublishCustomizations xmlns=http://schemas.microsoft.com/crm/2009/WebServicesdatapublishwebresourceswebresource{6411207D-0E5A-E011-90BA-000C29770576}/webresource/webresources/publish/data/PublishCustomizations/soap:Body/soap:Envelope

    How can i process this xml snippet to call a publish request from silverlight?

    Tanks
    Regards
    Dennis

    DB:2.44:Crm2011 Publish Webresource From Silverlight 1c

    Solved it with the help of the latest crmsdk.
    In case you are wondering:

    OrganizationRequest publishRequest = new OrganizationRequest();
    publishRequest.RequestName = PublishXml;

    string publishXml = importexportxmlwebresourceswebresourcemyGuid/webresource/webresources/importexportxml;

    publishRequest.Parameters = new ParameterCollection();
    CRMOrganizationService.KeyValuePairstring, object myParam = new CRMOrganizationService.KeyValuePairstring, object();
    myParam.Key = ParameterXml;
    myParam.Value = publishXml;

    publishRequest.Parameters.Add(myParam);

    IOrganizationService soapService = SilverlightUtility.GetSoapService();

    soapService.BeginExecute(publishRequest, soapService_Completed, _context);

  • RELEVANCY SCORE 2.44

    DB:2.44:Conditionally Show An Html Webresource 7d


    Hello,
    I have a form with one part being a simple html webresource (just some static text displaying on the html). I only want to display the webresource or make it visible under a certain condition.
    Not sure what the syntax is for making a webresource visible or not visible. Is it part of the xrm object model?

    Thanks

    Robert

    DB:2.44:Conditionally Show An Html Webresource 7d

    Well that was easy enough - duh on me.
    Thank you,
    Robert

  • RELEVANCY SCORE 2.44

    DB:2.44:Ms Dynamics Crm 2011 - While Opening The Entity Form After Adding Html Webresource, I Am Getting Error. xz


    Hi,
    MS Dynamics CRM 2011 - While opening the Entity Form after adding html webresource, I am getting error.
    Can any one help me on this, please.
    ThanksRajeev

    DB:2.44:Ms Dynamics Crm 2011 - While Opening The Entity Form After Adding Html Webresource, I Am Getting Error. xz

    Hi,
    what exactly does this HTML Resource do? Is there some code you have created in there and can you share your code?
    We need a little more info to understand the problem.
    Greetings,
    PavlosPlease mark this reply as answer if it helps you find a resolution to your problem.