Patching CRM online only

Hi all
We have a CRM 2007 (ABAP only). We want to patch the middleware only without the Mobile Clients on the laptops of the sales representatives. Could someone tell me please which components I can patch without having to patch the CRM Mobile Clients? All except BBPCRM?
We are using the following components:
SAP_ABA         700      0016     SAPKA70016    Anwendungsübergreifende Komponente
SAP_BASIS     700      0016     SAPKB70016    SAP Basiskomponente
PI_BASIS         2005_1_700      0016     SAPKIPYJ7G   PI_BASIS 2005_1_700
ST-PI   2005_1_700      0006     SAPKITLQI6    SAP Solution Tools Plug-In
SAP_BW          700      0018     SAPKW70018   SAP NetWeaver BI 7.0
CRMUIF           600      0004     SAPK-60004INCRMUIF            SAP CRM UIF 600
SAP_AP           700      0013     SAPKNA7013   SAP Application Platform
BBPCRM         600      0004     SAPKU60004   BBPCRM
Thanks in advance for your help!
Regards
Marco

Hi,
the generation which you probably mean is done with Tx smoggen or smogtotal or gnrwb.
This only generates the function modules but does not affect the BDoc definitions themselves.
Only after the activation/generation of a BDoc definition some steps on the MSA clients need to be done (generating of new version of TPS.NET file).
Regards,
Wolfhard

Similar Messages

  • Fetch-Xml based report (to count User Access in the last 6 months ) for Microsoft Dynamics CRM Online

    Hi,
    I have created a User Access report for CRM on-premise using SQl query in the following format. One row corresponds to one user in organization. Currently, I am using Microsoft Dynamics CRM Online trial version and have two users in my organization.
    I want to the same report for CRM Online environment. Only Fetch-Xml based custom reports are supported by CRM online environment hence this SQL query cannot be used.
    I have already written fetch-xml query to retrieve user access records ("audit" entity records) in "last-x-months" (where x = 1,2,3,4,5,6) as below.
    I am able to retrieve the records with "last-x-months" condition at a time, for example, the last-2-months  in my fetch-xml query only.
    For, example, when I retrieve the records in the last-2-months, it also includes the records in the last month. I want to count the records in the 2nd month only that is the difference between these two. The difference will be my 2nd column.
    Similarly, I want the other columns.  
    For the case in the above example, I have created the two separate datasets to get the record-count for the last month and last-2-months. But, I am not able to use the two datasets in the same table in my report and hence not able to calculate the difference.
    Is there any way to solve this problem?

    Hi,
    I have modified my Fetch-XML query to retrieve all the required User Access records and removed aggregation and counting and grouping from the query as well. Did grouping and counting in SSRS. Now the report works fine as shown in the above picture.

  • CRM Online errors

    Our employees are having issue using CRM Online.
    First off they all are using Dell e7740 Latitude laptop running Win 8.1 64 bit with Office 2010 Ent.and IE 11.0.9600
    When they log onto the online website the get errors when clicking on links from the menu tab. Some users get further than others before it errors out.
    The other error message is just a generic contact your CRM Admin or Microsoft.
    What version of browser works best with CRM Online?
    Why is it different users running the same Software and hardware have different errors or works?

    To resolve the back cache  and https protocol error do the following:
    1). Open IE to clean the cache:
    IE -> tools -> Internet Options -> In browsing History -> click “delete” -> select all checkboxes -> click delete
    Close IE
    2). Please press Windows Key + R copy and paste the following paths then press Enter to access these 2 folders. Delete all the files from: 
    • %systemDrive%\Windows\Prefetch
    • %temp%
    If you have the following directory delete all content here too:
    • %systemDrive%\Users\%username%\AppData\Local\Microsoft\Windows\Temporary Internet Files
    4) Add to Internet Options >Security > Trusted Sites
    https://*.dynamics.com and https://*.microsoft.com
    The only thing we did different today was delete the prefetch files.
    Thanks for every ones feedback on this.

  • Installing CRM Online for Outlook with multiple profiles

    For a number of reasons I have had to create multiple profiles in Outlook. I also have a Microsoft CRM account. Up to this point I have been able to successfully install and use CRM for Outlook on my previous profiles. However, when the last profile was
    created the CRM for Outlook functionality did not install. / transfer. I have tried uninstalling the CRM for Outlook and reinstalling. No luck it only crashed an old profile which appears now to be inoperable. It is essential that I get the latest Profile
    working the CRM for Outlook  Any suggestions?

    Hi,
    As per the description, I understand that it's an issue about CRM Online for Outlook.
    This is the forum to discuss questions and feedback for Microsoft Office client. To get better assistance, I would suggest you to post in
    Microsoft Dynamics CRM Forum, where you can get more experienced responses:
    https://community.dynamics.com/crm/f/117.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • GUID in CRM Online for Objects in ISA b2c Application

    Hi All
       I am trying to find GUID for Some Objects Like Saved Basket Entries in CRM Online throgh Internet Sales 4.0
    <b>Scenario b2c</b>.
    Can Anybody Guide !!!!!!
    Thanks & Regards
       Ravi Sah

    <i>Hi Roman 
    Thank you for your attention.
    I needed to Find where Exactly Saved Basket( In Shopping Basket Module: <b><b>Save Basket as</b> Functionality</b>) is Stored in CRM . So I tried with Logging & Tracing to get the Function Module( which in turn contain the export tables ) needed to save those type of Basket Only.
    But coudnt find Exact One as it wasnot relavent.
    So by Stephen's Help i could know the Function Module as <b>CRM_ISA_BASKET_SAVE</b> but the Export Parametrs which it corrosponds , even there i could not find where those Basket Object is saved.
    So Last Option i had that if by some means , if i can get some method to get the GUID of the Entity of Saved Basket. We can Search the Exact Location  .
    So I need ur Help in these Context can u help me !!!!!
    Thanks & regards
      Ravi Sah</i>

  • CRM Online Security with Data Classified as HBI

    I have an old CRM solution hosting on an CRM 4.0 On-Premise environment in a domain network. I am planning to migrate it to the latest CRM Online 2015. However, since the data is classified as HBI, does anyone know if CRM Online will encrypt all data in
    the cloud database? Does CRM Online has any security policy to allow us and secure to put the HBI data on the cloud? Thanks.

    Hello,
    We have a CRM 2013 instance and planning to move to CRM 2015 online.
    Wanted to understand if CRM 2015 online is recommended only for LBI & MBI data or it's good for HBI data as well.
    Thanks
    Tarun
    Tarun

  • Prospective Account Sales Area Data on CRM Online

    Hi Experts,
    I am using CRM2007 SP4, and i am trying to assign Sales Area Data to a Prospective Account on CRM Online. However, unlike a reqular Sold-to account (CRM000) there does not seem to be a Sales Area Data Button where the Sales Area can be maintained for a Prospective account.
    The BP Role for the Prospective account is BUP002.
    It only seems possible to maintain this through the Web Client. Is there anyway which the Sales Area can be assigned to a Prospective Account through CRM Online.
    Any assistance would be appreciated.
    Thanks,
    Jonathan

    Hi Sasha,
    I've been checking it in our system (CRM 6.0). The field Price group (cust) from ECC (KNVV-KONDA) gets standard replicated to field Price Group (Cust) on the billing tab of customer data (BP).
    No additional customizing or development is needed.
    The field is stored in: CRMM_BUT_SET0030-PRICE_GROUP
    regards,
    Wim

  • CRM Online Zfields labels

    In CRM Online Zfields labels can only show 20 characters.
    If you go to the Portal, we can see only 15 characters.
    Can we modify the Portal iView to display 20 characters?
    Message was edited by: Amr Azim

    In CRM Online Zfields labels can only show 20 characters.
    If you go to the Portal, we can see only 15 characters.
    Can we modify the Portal iView to display 20 characters?
    Message was edited by: Amr Azim

  • Not able to connect CRM Online to PowerBI

    Not able to connect CRM Online to PowerBI, Please let me know if you have an idea to resolve this issue.
    oops, something went wrong
    Failed to update model parameters
    Activity Id59a2a854-8e34-6636-0679-3d2e245d2241
    Request Id9b7fa606-324e-4ec8-495f-13f91d03bc54
    Error Code400
    TimeWed Mar 18 2015 21:24:18 GMT-0400 (Eastern Daylight Time)
    Version11.0.9165.945
    Cluster URIhttps://wabi-south-east-asia-redirect.analysis.windows.net

    Hi Kiran
    Please chcek the Note 1359600-MDM stopped communicating after upgrading to 7.1.03 from SAP NOTES.
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1359600
    SAP Note Description:
    Summary
    Symptom
    MDM components stopped communicating after upgrading to 7.1.03
    Other terms
    TCP ports, Firewall, connection, network, SP03, SP3, 7.1
    Reason and Prerequisites
    Starting from version 7.1.03 the MDM suite is using different TCP ports for its operations. The change was in order to be compliant with the Internet Authority for Numbering Assignment. Port numbers changed as follows:
    Application Old Port # New Port #
    MDS 20005 59950
    MDLS 20008 59650
    MDIS 20009 59750
    MDSS 20010 59850
    If firewalls were configured to allow MDM's communication throughout the landscape, they actually might prevent (depending on their rules table) the communication after an upgrade to MDM suite starting at version 7.1.03 and higher.
    Solution
    Revise the firewall rules such that they will allow the communication according to the changes described above.
    In order to check that the ports are allowed to pass trough the firewall a telnet test could be done like so:
    1) Open a terminal window (on UNIX) or a command window (on Windows) on the same machine which hosts the application which tries to connect, and issue the following command:
    telnet <MDM server host name or IP address> <TCP port to test>
    2) If no error response is received than it means that the TCP port is allowed to go trough.
    3) Repeat steps 1,2 for all the other ports need by the application.
    Thanks
    Sowseel
    Edited by: sowseel pasumarthi on Jan 18, 2011 6:36 AM

  • CRM ONLINE 2013: On Approval Of Quotation, Run Report, Generate PDF and Send an Email With PDF as attachment

    Hi,
    I am using CRM ONLINE 2013.
    How to automate below process?
    1. On Approval Of Quotation, Run Report.
    2. Generate PDF.
    3. Send an Email With PDF as attachment.
    As i have gone through many forums for this topic, but creating a plugin code for generating Report PDF is not possible in CRM ONLINE.
    So, What is the alternate way to do this..?
    Thanks.

    This is my entire code mentioned below:-
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
        <script type="text/javascript">
            if (typeof (SDK) == "undefined")
            { SDK = { __namespace: true }; }
            SDK.JScriptRESTDataOperations = {
                _context: function () {
                    if (typeof GetGlobalContext != "undefined")
                    { return GetGlobalContext(); }
                    else {
                        if (typeof Xrm != "undefined") {
                            return Xrm.Page.context;
                        else { return new Error("Context is not available."); }
                _getServerUrl: function () {
                    var serverUrl = this._context().getServerUrl()
                    if (serverUrl.match(/\/$/)) {
                        serverUrl = serverUrl.substring(0, serverUrl.length - 1);
                    return serverUrl;
                _ODataPath: function () {
                    return this._getServerUrl() + "/XRMServices/2011/OrganizationData.svc/";
                _errorHandler: function (req) {
                    return new Error("Error : " +
      req.status + ": " +
      req.statusText + ": " +
      JSON.parse(req.responseText).error.message.value);
                _dateReviver: function (key, value) {
                    var a;
                    if (typeof value === 'string') {
                        a = /Date\(([-+]?\d+)\)/.exec(value);
                        if (a) {
                            return new Date(parseInt(value.replace("/Date(", "").replace(")/", ""), 10));
                    return value;
                Create: function (object, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("POST", this._ODataPath() + type + "Set", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 201) {
                                successCallback(JSON.parse(this.responseText, SDK.JScriptRESTDataOperations._dateReviver).d);
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send(JSON.stringify(object));
                Retrieve: function (id, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("GET", this._ODataPath() + type + "Set(guid'" + id + "')", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 200) {
                                successCallback(JSON.parse(this.responseText, SDK.JScriptRESTDataOperations._dateReviver).d);
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send();
                Update: function (id, object, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("POST", this._ODataPath() + type + "Set(guid'" + id + "')", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.setRequestHeader("X-HTTP-Method", "MERGE");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 204 || this.status == 1223) {
                                successCallback();
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send(JSON.stringify(object));
                Delete: function (id, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("POST", this._ODataPath() + type + "Set(guid'" + id + "')", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.setRequestHeader("X-HTTP-Method", "DELETE");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 204 || this.status == 1223) {
                                successCallback();
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send();
                RetrieveMultiple: function (type, filter, successCallback, errorCallback) {
                    if (filter != null) {
                        filter = "?" + filter;
                    else { filter = ""; }
                    var req = new XMLHttpRequest();
                    req.open("GET", this._ODataPath() + type + "Set" + filter, true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 200) {
                                successCallback(JSON.parse(this.responseText, SDK.JScriptRESTDataOperations._dateReviver).d.results);
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send();
                __namespace: true
        </script>
        <script type="text/javascript">
            //Create Email and link it with Order as Regarding field
            var Xrm;
            var email = new Object();
            var ownerID = "";
            var CustomerId = "";
            if (window.opener) { Xrm = window.opener.Xrm; }
            else if (window.parent) { Xrm = window.parent.Xrm; }
            //Get ownerid who send email of quotation to customer
            function GetOwnerID() {
                var owner = Xrm.Page.getAttribute("ownerid").getValue();
                ownerID = owner[0].id;
                var ownerName = owner[0].name;
                var entityType = owner[0].entityType;
                GetToEmailGUID();
            //Get customerid who receive email of quotation from owner
            function GetToEmailGUID() {
                var Customer = Xrm.Page.getAttribute('customerid').getValue();
                CustomerId = Customer[0].id;
                var CustomerName = Customer[0].name;
                var entityType = Customer[0].entityType;
                //if CustomerId is type of "Account" then get Primary Contact id of that account
                if (entityType == "account") {
                    var contact = Xrm.Page.getAttribute("customerid").getValue();
                    if (contact === null) return;
                    var serverUrl = Xrm.Page.context.getClientUrl();
                    var oDataSelect = serverUrl + "/XRMServices/2011/OrganizationData.svc/AccountSet(guid'" + contact[0].id + "')?$select=PrimaryContactId";
                    var req = new XMLHttpRequest();
                    req.open("GET", oDataSelect, false);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json;charset=utf-8");
                    req.onreadystatechange = function () {
                        if (req.readyState === 4) {
                            if (req.status === 200) {
                                var retrieved = JSON.parse(req.responseText).d;
                                CustomerId = retrieved.PrimaryContactId.Id;
                            else {
                                alert(this.statusText);
                    req.send();
            function CreateEmail() {
                GetOwnerID();
                email.Subject = "Email with Report Attachment";
                //Set The current order as the Regarding object
                email.RegardingObjectId = {
                    Id: Xrm.Page.data.entity.getId(),    //Get the current entity Id , here OrderId
                    LogicalName: Xrm.Page.data.entity.getEntityName()//Get the current entity name, here it will be “salesOrder”
                //Create Email Activity
                SDK.JScriptRESTDataOperations.Create(email, "Email", EmailCallBack, function (error) { alert(error.message); });
            // Email Call Back function
            function EmailCallBack(result) {
                email = result; // Set the email to result to use it later in email attachment for retrieving activity Id
                var activityPartyFrom = new Object();
                // Set the From party of the ActivityParty to relate an entity with Email From field
                activityPartyFrom.PartyId = {
                    Id: CustomerId, //"79EBDD26-FDBE-E311-8986-D89D6765B238",  // id of entity you want to associate this activity with.        
                    LogicalName: "contact"
                // Set the "activity" of the ActivityParty
                activityPartyFrom.ActivityId = {
                    Id: result.ActivityId,
                    LogicalName: "email"
                // Now set the participation type that describes the role of the party on the activity).
                activityPartyFrom.ParticipationTypeMask = { Value: 2 }; // 2 means ToRecipients
                // Create the from ActivityParty for the email
                SDK.JScriptRESTDataOperations.Create(activityPartyFrom, "ActivityParty", ActivityPartyFromCallBack, function (error) { alert(error.message); });
                var activityPartyTo = new Object();
                // Set the From party of the ActivityParty to relate an entity with Email From field
                activityPartyTo.PartyId = {
                    Id: ownerID, //"79EBDD26-FDBE-E311-8986-D89D6765B238",  // id of entity you want to associate this activity with.        
                    LogicalName: "systemuser"
                // Set the "activity" of the ActivityParty  
                activityPartyTo.ActivityId = {
                    Id: result.ActivityId,
                    LogicalName: "email"
                // Now set the participation type that describes the role of the party on the activity).    
                activityPartyTo.ParticipationTypeMask = { Value: 1 }; // 1 means Sender
                // Create the from ActivityParty
                SDK.JScriptRESTDataOperations.Create(activityPartyTo, "ActivityParty", ActivityPartyToCallBack, function (error) { alert(error.message); });
            //ActivityParty From Callback
            function ActivityPartyFromCallBack(result) {
            //ActivityParty To Callback
            function ActivityPartyToCallBack(result) {
                GetReportId('ABM_Infotech_SalesQuote');
            //Create attachment for the created email
            function CreateEmailAttachment() {
                //get reporting session and use the params to convert a report in PDF
                var params = getReportingSession();
                //Email attachment parameters
                var activitymimeattachment = Object();
                activitymimeattachment.ObjectId = Object();
                activitymimeattachment.ObjectId.LogicalName = "email";
                activitymimeattachment.ObjectId.Id = email.ActivityId;
                activitymimeattachment.ObjectTypeCode = "email",
                    activitymimeattachment.Subject = "File Attachment";
                activitymimeattachment.Body = encodePdf(params);
                activitymimeattachment.FileName = "Report1.pdf";
                activitymimeattachment.MimeType = "application/pdf";
                //Attachment call
                SDK.JScriptRESTDataOperations.Create(activitymimeattachment, "ActivityMimeAttachment", ActivityMimeAttachmentCallBack, function (error) { alert(error.message); });
            //ActivityMimeAttachment CallBack function
            function ActivityMimeAttachmentCallBack(result) {
                var features = "location=no,menubar=no,status=no,toolbar=no,resizable=yes";
                var width = "800px";
                var height = "600px";
                window.open(Xrm.Page.context.getServerUrl() + "main.aspx?etc=" + 4202 + "&pagetype=entityrecord&id=" + email.ActivityId, "_blank", features);
                // To open window which works in outlook and IE both
                //openStdWin(Xrm.Page.context.getServerUrl() + "main.aspx?etc=" + 4202 + "&pagetype=entityrecord&id=" + email.ActivityId, "_blank", width,
    height, features);
            //This method will get the reportId based on a report name that will be used in            getReportingSession() function
            function GetReportId(reportName) {
                var oDataSetName = "ReportSet";
                var columns = "ReportId";
                var filter = "Name eq '" + reportName + "'";
                retrieveMultiple(oDataSetName, columns, filter, onSuccess);
            function retrieveMultiple(odataSetName, select, filter, successCallback) {
                var serverUrl = Xrm.Page.context.getServerUrl();
                var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc";
                var odataUri = serverUrl + ODATA_ENDPOINT + "/" + odataSetName + "?";
                if (select) {
                    odataUri += "$select=" + select + "&";
                if (filter) {
                    odataUri += "$filter=" + filter;
                $.ajax({
                    type: "GET",
                    contentType: "application/json; charset=utf-8",
                    datatype: "json",
                    url: odataUri,
                    beforeSend: function (XMLHttpRequest) {
                        XMLHttpRequest.setRequestHeader("Accept", "application/json");
                    success: function (data) {
                        if (successCallback) {
                            if (data && data.d && data.d.results) {
                                successCallback(data.d.results);
                            else if (data && data.d) {
                                successCallback(data.d);
                            else {
                                successCallback(data);
                    error: function (XmlHttpRequest, errorThrown) {
                        if (XmlHttpRequest && XmlHttpRequest.responseText) {
                            alert("Error while retrieval ; Error – " + XmlHttpRequest.responseText);
            function onSuccess(data) {
                reportId = data[0].ReportId.replace('{', ").replace('}', ");
                CreateEmailAttachment(); // Create Email Attachment
            //Gets the report contents
            function getReportingSession() {
                var pth = Xrm.Page.context.getServerUrl() + "/CRMReports/rsviewer/reportviewer.aspx";
                var retrieveEntityReq = new XMLHttpRequest();
                var Id = Xrm.Page.data.entity.getId();
                var quotationGUID = Id.replace('{', ""); //set this to selected quotation GUID
                quotationGUID = quotationGUID.replace('}', "");
                var reportName = "ABM_Infotech_SalesQuote"; //set this to the report you are trying to download
                var reportID = "751089AA-74B8-E211-B52F-D8D3855B253B"; //set this to the guid of the report you are trying to download
                var rptPathString = ""; //set this to the CRMF_Filtered parameter
                var strParameterXML = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'><entity name='quote'><all-attributes /><filter type='and'><condition
    attribute='quoteid' operator='eq' uitype='quote' value='" + quotationGUID + "' /> </filter></entity></fetch>";
                retrieveEntityReq.open("POST", pth, false);
                retrieveEntityReq.setRequestHeader("Accept", "*/*");
                retrieveEntityReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
                rptPathString = "id=%7B" + reportID + "%7D&uniquename=" + Xrm.Page.context.getOrgUniqueName() + "&iscustomreport=true&reportnameonsrs=&reportName="
    +
                                reportName + "&isScheduledReport=false&p:ABMFilteredQuote=" + strParameterXML;
                //remove the part starting from &p:salesorderid if your report has no parameters
                retrieveEntityReq.send(rptPathString);
                var x = retrieveEntityReq.responseText.indexOf("ReportSession=");
                var ret = new Array();
                ret[0] = retrieveEntityReq.responseText.substr(x + 14, retrieveEntityReq.responseText.indexOf("&", x) - x - 14); //the session id
                x = retrieveEntityReq.responseText.indexOf("ControlID=");
                ret[1] = retrieveEntityReq.responseText.substr(x + 10, retrieveEntityReq.responseText.indexOf("&", x) - x - 10); //the control id
                return ret;
            var bdy = new Array();
            var bdyLen = 0;
            function concat2Bdy(x) {
                bdy[bdyLen] = x;
                bdyLen++;
            function encodePdf(params) {
                bdy = new Array();
                bdyLen = 0;
                var retrieveEntityReq = new XMLHttpRequest();
                var pth = Xrm.Page.context.getServerUrl() + "/Reserved.ReportViewerWebControl.axd?ReportSession=" + params[0] +
                "&Culture=1033&CultureOverrides=True&UICulture=1033&UICultureOverrides=True&ReportStack=1&ControlID=" + params[1] +
                "&OpType=Export&FileName=Public&ContentDisposition=OnlyHtmlInline&Format=PDF";
                retrieveEntityReq.open("GET", pth, false);
                retrieveEntityReq.setRequestHeader("Accept", "*/*");
                retrieveEntityReq.send();
                BinaryToArray(retrieveEntityReq.responseBody);
                return encode64(bdy);
            var StringMaker = function () {
                this.parts = [];
                this.length = 0;
                this.append = function (s) {
                    this.parts.push(s);
                    this.length += s.length;
                this.prepend = function (s) {
                    this.parts.unshift(s);
                    this.length += s.length;
                this.toString = function () {
                    return this.parts.join('');
            var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
            function encode64(input) {
                var output = new StringMaker();
                var chr1, chr2, chr3;
                var enc1, enc2, enc3, enc4;
                var i = 0;
                while (i < input.length) {
                    chr1 = input[i++];
                    chr2 = input[i++];
                    chr3 = input[i++];
                    enc1 = chr1 >> 2;
                    enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
                    enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
                    enc4 = chr3 & 63;
                    if (isNaN(chr2)) {
                        enc3 = enc4 = 64;
                    } else if (isNaN(chr3)) {
                        enc4 = 64;
                    output.append(keyStr.charAt(enc1) + keyStr.charAt(enc2) + keyStr.charAt(enc3) + keyStr.charAt(enc4));
                return output.toString();
        </script>
        <script type="text/vbscript">
        Function BinaryToArray(Binary)
               Dim i
               ReDim byteArray(LenB(Binary))
               For i = 1 To LenB(Binary)
                     byteArray(i-1) = AscB(MidB(Binary, i, 1))
                     concat2Bdy(AscB(MidB(Binary, i, 1)))
             Next
              BinaryToArray = byteArray
       End Function     
        </script>
    </head>
    <body>
        <input type="button" onclick="CreateEmail();" value="Attach Report" />
    </body>
    </html>

  • Error while uploading report in Microsoft Dynamics CRM Online

    I have created a report using fetch-xml query for Microsoft Dynamics CRM Online. In this field, I have created a custom enity which has "Last Accessed Date Time" field of type "DateTime". This field stores the value in GTM. I am retrieving
    the value of this field using fetch-xml query. Also, I want to calculate the difference between the current DateTime and the value (in the locale and not in GMT) of this field in "Hours Minutes Seconds" format. I
    have written an expression for the same in reportas follows.
    (IIF(((INT((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime(), DateTime.Now))/60))>60), INT(((((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value),
    DateTimeKind.Utc).ToLocalTime(), DateTime.Now)))/60)) / 60), 0))
    & "Hours"&
    (IIF(((INT((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime(), DateTime.Now))/60))>60), INT((((DateDiff(DateInterval.Second,DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value),
    DateTimeKind.Utc).ToLocalTime(), DateTime.Now)))/60) Mod 60), INT((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime(), DateTime.Now))/60)))
    & "Minutes" &
    ((DateDiff(DateInterval.Second, DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), 
    DateTimeKind.Utc).ToLocalTime(), DateTime.Now)) Mod 60)
    & "Seconds"
    This works fine in visual studio. But, when tried to upload the same report in CRM Online organization, it gives the following error.
    Any idea how to solve this issue?

    I have found the following useful link-
    - support.microsoft.com/.../en-us
    The error occurred because I have used some functions("Int", "DateTime.SpecifyKind(DateTime.Parse(Fields!new_lastaccesseddatetime.Value), DateTimeKind.Utc).ToLocalTime()") in my ssrs report which are not supported by CRM Online., though
    it works fine in visual studio.

  • OSMF Online-only User Group Meeting -- Edwin van Rijkom  |  TODAY Wed, Jan 20 @ 12:00 NOON PST

    TODAY Wed, Jan 20 @ 12:00 NOON PST we are having the third meeting of the online-only OSMF User Group ( http://www.adobe.com/go/osmf_usergroup ).
    The online-only OSMF User Group is pleased to have a live presentation on OSMF's new features by a developer from the OSMF Team, Edwin van Rijkom, Sr. Computer Scientist at Adobe.  This meeting is open to all who are interested.  Please forward notice about this meeting to all who you think may be interested.
    The link for the online meeting room can be found in the meeting announcement link here:
    http://groups.adobe.com/posts/3e8fddb492
    Edwin will be reviewing changes and new features in OSMF delivered in Sprint 8 (released December), as well as providing an overview of new features in Sprint 9 (releasing next week).
    Topics to be covered include:
    API Refactoring Changes
    Subclip Support
    Live Streaming Support
    Flash Media Manifest File Format (F4M) Support
    Multi-BitRate (MBR) Streaming;
    Digital Rights Management (DRM) via Flash Access,
    Closed Captioning Plug-in
    Pre-Assigned Durations
    Edwin previously presented at the Adobe MAX 2009 conference as a co-presenter on the session entitled "Introduction to Adobe's Open Source Media Framework".  Following is a link for a recording of Edwin's MAX Session (Edwin's portion starting at 24:00 in the recording timecode):
    http://max.adobe.com/online/session/332
    OSMF is an open source ActionScript 3 framework for building video and media players supporting cutting edge Flash Platform features for media delivery.  If you have any curiosity about media players in Flash or Flex, this is a great forum for exploring and getting questions answered.
    If you have an ongoing interest in this area, please join this group by logging in at groups.adobe.com/groups/7af970e6e4 and selecting the "JOIN THIS GROUP" link (red graphic on right side).
    This online-only OSMF User Group meets regularly at this time and day of every month.  That is the 3rd Wednesday of every month @ 12:00 NOON PST time.  All meetings are recorded.  Links for prior meeting recordings are on the group site in various places including on the group home page under the heading "Previous Connect Sessions".
    Following are a few time zone conversions:
    London:  8:00 PM to 9:30 PM GMT
    Rome/Paris/Berlin:  9:00 PM to 10:30 PM CET
    New York:  3:00 PM to 4:30 PM EST
    Los Angeles:  12:00 NOON to 1:30 PM PST
    Sydney:  7:00 AM to 8:30 AM EDT ** THURSDAY January 21 **

    The presentation by Will Law was recorded and can be viewed online, on-demand from the following link:
    http://experts.na3.acrobat.com/p47054887/ 
    Will's presentation is an excellent introduction to HTTP Dynamic Streaming.
    This presentation is a supersized version of a presentation that Will also will be delivering at Adobe MAX 2010.  MAX session description here:
    http://bit.ly/bh77Gz 
    Supersized in that in the recording above Will spent a bit more time in ActionScript for the OSMF developers in attendance than he will with more general audiences.  Plus supersized in that Will took 1 hour 15 minutes (plus 15 minutes more on Q&A), whereas MAX sessions are 60 minutes, less a few minutes for the Q&A.,
    hth,
    g

  • Communicate (CRUD) with CRM Online from SharePoint Online

    Hi,
    I'm working on an offer to a client where I'm considering if I'll recommend SharePoint Online.
    Most of the requirements from the client are out of the box SharePoint and doesn't affect the decision to go for SharePoint Online. However, the client has one requirement, which is that they need to be able to update Entities/records in their CRM Online
    solution from SharePoint. I'm not sure how those updates should be triggered, but my guess is it should be triggered when an item in a list/document library changes it's status (a status field). This would probably require custom development of some sort (Event
    Receiver? Workflow?) which uses the CRM web services.
    Is this even possible in SP Online?
    I've done a lot of searching for this in Google, but haven't found anything interesting yet. I come across solutions for integration the other way though (FROM CRM to SharePoint), but I need integration with CRM FROM SharePoint.
    Thanks!

    Hi,
    According to your post, my understanding is that you want to communicate SharePoint Online and CRM Online.
    We can use the Business Connectivity Services (BCS) to communicate SharePoint Online (SPO) to CRM Online.
    The following blog for your reference:
    http://blogs.msdn.com/b/girishr/archive/2013/05/13/connecting-sharepoint-online-and-crm-online-using-bcs-2013-edition.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Groupware Transaction is rejected in CRM Online

    Hello All,
    Appointments and Tasks are replicating fine from CRM to Groupware.
    But when I create an appointment in Groupware ( in our case Lotus ), I get an email from the CRMAdmin saying 'Transaction is rejected in CRM Online'
    Does anyone know how to solve this issue.
    Thanks.
    Pratima

    Hi Pratima,
    You can try activating the power user mode in admin tool and create an activity and check for the error logs.
    Error log may help you pointing towards the error.
    Else check if this has groupware role still assigned or not?
    You may also check the user id and password you have given in Lotus config tool is not locked.
    Regards...Arup

  • Appointment - Transaction is rejected in CRM online

    Hello,
    When creating an appointment in my CRM calendar i get an email from the admin account set for groupware connector with a link of the appointment. It does synchronise in my calendar successfully but i want to disable the email that i am getting. Sometime also i get an a message Transaction is rejected in CRM online .
    I have been looking for a while to disable this function but can't seem to find any informations regarding this issue.
    I noticed those messages appear in the Outbox of the groupware connector account in Exchange 2007. If anyone had a similar issue let me know how you resolved it. I want to be able to disable the message that are generated when i create an appointment in my CRM calendar.
    SAP CRM 7.0
    SAP Groupware Connector 2.1
    Exchange 2007 (Outlook 2007)
    Thank you,
    Martin

    for your issue "email from the admin account set for groupware connector with a link of the appointment. It does synchronize in my calendar successfully "
    you have go to CRM Middleware and Related Components>CRM Middleware and Related Components>Groupware Integration>Maintain General Groupware Settings
    set value         ACT HOSTNAME XXX.XXXX.COM (check SMICM for your CRM link.)
    you can also disable this function set value   ACT NO_BSP_URL            X
    for issue "Sometime also i get an a message Transaction is rejected in CRM online "
    This issue might got when you create Appointment in OUTLOOK , if you check middleware entry from GWCONNECTOR ID,
    yo will see Appointment transaction  type is missing for incoming entry .you can use BADI  "CMW_GW_ACT_IN" to set transaction type onte basis catagory "'CRM_ACT 301(Date)'".
    i hope your issue will resolved.
    regard ,
    vijay

Maybe you are looking for

  • Deleting BOTH duplicate rows in Excel

    Hi everyone, I have just been introduced to Applescript and I was hoping to automate some things at my workplace. One of the first activities that I have been trying to figure out involves Excel 2008, which is running on a G5 (Latest version of Mac O

  • IPhoto Themes

    Hi, I am unable to print using iPhoto 08 version 7.1.5 (running MacOS 10.5.6)as I am told that I need to install themes. Checking the application support folder, I see that the iPhoto folder has all the themes in it with version.plist in the contents

  • Wm_Valid: Fail to convert to internal representation error while inserting

    Hi, I'm trying to execute an insert via XmlCommand. The table is created with this statement: create table testtable4 (testtable4_pk number, mydate date, myts timestamp with time zone, wm_valid wm_period); I have a problem while inserting on a simple

  • Watchdog reset in WLC 5508 7.4.100.60

    Hi , Last week we found that primary WLC was hanged so we need to reboot it. As per logs: Last Reset....................................... Watchdog reset We are using 7.4.100.60. Any idea what could be the root cause. Regards,

  • How to make a straight line of points in a curve in CS6

    In PSCS5 and earlier, I used to be able to make a straight line of points in a curve by placing 9 points on the straight line curve.  I did this by drawing a small straight line at the bottom of the curve using the pencil tool and then clicking the c