Flitered Sub-grid in Online CRM 2015

Hi all ,
   I have the following requirement. In Case form we included multiple sub-grids (Opportunity,Lead, etc..). On selecting the value in customer field, only the related records of that particular Customer should flow in the
respective sub-grids.
The same functionality we worked in CRM 2013 which was working fine. At present in CRM 2015 on loading the form some times it is working & some times it is not working (means some times it shows related record & some times it shows all records).
Unable to identify the issue. We have also tried by refreshing the sub-grid twice in J-script.
Any solution?
Thanks &  Regards
Shankar

Hi Polat,
 Thanks for your reply. We have done the same work. Please find below Jscript we have used, which is working fine in CRM 2013. In CRM 2015 some times it works & some times it shows all the records with out filter. So any other solution for
this issue.
function BindGridSubscription() {
    // Get  Customer
    var lookupfield = new Array;
    lookupfield = Xrm.Page.getAttribute("customerid").getValue();
    if (lookupfield != null) {
        var lookupid = lookupfield[0].id;
    else {
        return;
    var relatedSubscriptions = null;
    relatedSubscriptions = document.getElementById('sgvSubscriptionDetails');
    if (relatedSubscriptions == null || relatedSubscriptions.readyState != "complete") {
        setTimeout('BindGridSubscription()', 2000);
        return;
    var fetchXmlSubs = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>";
    fetchXmlSubs += "<entity name='opportunity'>";
    fetchXmlSubs += "<attribute name='opportunityid' />";
    fetchXmlSubs += "<attribute name='tec_zone' />";
    fetchXmlSubs += "<attribute name='totalamount' />";
    fetchXmlSubs += "<attribute name='tec_subscriptiontype' />";
    fetchXmlSubs += "<attribute name='tec_copystartdate' />";
    fetchXmlSubs += "<attribute name='tec_copyenddate' />";
    fetchXmlSubs += "<attribute name='tec_subscribedscheme' />";
    fetchXmlSubs += "<attribute name='tec_subscribedproduct' />";
    fetchXmlSubs += "<attribute name='tec_schemestartdate' />";
    fetchXmlSubs += "<attribute name='tec_schemeenddate' />";
    fetchXmlSubs += "<attribute name='tec_poimplementationdate' />";
    fetchXmlSubs += "<attribute name='tec_bookingformnumber' />";
    fetchXmlSubs += "<attribute name='tec_bookingdate' />";
    fetchXmlSubs += "<order attribute='tec_zone' descending='false' />";
    fetchXmlSubs += "<filter type='and'>";
    fetchXmlSubs += "<condition attribute='customerid' operator='eq' uitype='contact' value='" + lookupid + "' />";
    fetchXmlSubs += "</filter>";
    fetchXmlSubs += "</entity>";
    fetchXmlSubs += "</fetch>";
    relatedSubscriptions.control.SetParameter("fetchXML", fetchXmlSubs);
    relatedSubscriptions.control.Refresh();
Thanks
Shankar

Similar Messages

  • Email Template Issue in MS CRM 2015 Online

    Hi,
    We recently upgraded the CRM form 2011 on premise to MS CRM 2015 online.
    We are facing the issue in Email Templates navigation in MS CRM 2015 online version as mentioned below.
    SETTINGS-->TEMPLATES-->Email Templates getting the following error message.
    I have deleted all the email templates in DEV instance but still this error occurred.
    Please help how to resolve this issue. Its very urgent.
    Yadav

    Hi,
    Please let me know if anybody aware of this issue.
    Yadav

  • Configure SMTP server profile on CRM 2015 online

    Hi,
    I am trying to get the CRM mail router to work with CRM 2015 online.
    I use smtp.org.com as the address, but I get this error: '
    Unsupported Email server. The specified email server location isn't supported by server side synchronization. Specify a valid server location to connect to the supported email server and try again.
    I read online that MS CRM 2015 supports POP3/SMTP mail servers, so why this error?

    Hello,
    Try looking for the specific error in the CRM Trace folder.
    To enable tracing, please read
    this post.
    Cornel Croitoriu - Senior Software Developer
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

  • CRM 2015 Online, E-mail router performs so slow

    Hi,
    We are testing staging CRM 2015 Online.  Email router for 2015 is installed in an online Windows 2012 server.  We set Polling Period(seconds) 60 in Email Router Configuration Manager.  However, when I send an e-mail, it takes
    more than 20 minutes for the e-mail to arrive in my Gmail Inbox.  Checking System Jobs and views regarding sent e-mail, all indicates that the e-mail was sent instantly.  What shall I do to improve the Email Router performance?  Thanks.

    Why are you using the email router if your Exchange Server is also Online?  Dynamics CRM Online has Server Sync built in so it will directly communicate to Exchange Online.  Much better solution than rolling up an email Router. 
    Also, if you don't have access to the Exchange server, I' doubt there's much you can do, since you don't have all the tools you need to troubleshoot the issue.
    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

  • Unable to register custom workflow activity on MS CRM 2015 Online

    Hi All,
    I am trying to register custom workflow activity using plugin registration tool on MS CRM 2015 Online.
    Error says that 'No Plugin have been selected from list. Please select atleast one and try again'
    In short my assembly is not considered as custom workflow activity.
    I am giving my code let me know, If any thing is wrong.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Activities;
    using Microsoft.Xrm.Sdk;
    using Microsoft.Xrm.Sdk.Workflow;
    namespace Training.SamplePlugin
        public class SampleCustomworkflow : CodeActivity
            [Input("Birthday")]
            public InArgument<DateTime> BirthDate { get; set; }
            [Output("NextBirthday")]
            public OutArgument<DateTime> NextBirthDay { get; set; }
            protected override void Execute(CodeActivityContext executionContext)
                //Create the tracing service
                ITracingService tracingService = executionContext.GetExtension<ITracingService>();
                //Create the context
                IWorkflowContext context = executionContext.GetExtension<IWorkflowContext>();
                IOrganizationServiceFactory serviceFactory = executionContext.GetExtension<IOrganizationServiceFactory>();
                IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
                if (context.PrimaryEntityName.ToLowerInvariant() == "contact")
                    DateTime birthDate = BirthDate.Get<DateTime>(executionContext);
                    DateTime nextBirthDate = new DateTime(DateTime.Now.AddYears(1).Year, birthDate.Month, birthDate.Day);
                    //NextBirthDay.Set(executionContext, nextBirthDate);
                    Entity newContact = new Entity();
                    newContact.LogicalName = "contact";
                    newContact.Id = context.PrimaryEntityId;
                    newContact["new_nextbirthday"] = nextBirthDate;
                    service.Update(newContact);
    If code is correct then has somebody faced this kind of issue earlier, what is resolution.
    Thanks
    Apurv

    Have your signed your assembly ??
    Microsoft Dynamics CRM Training|Our Blog |
    Follow US |
    Our Facebook Page |
    Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • What happens if I don't approve Update to CRM 2015 Online

    Hi there
    Can anyone help me with this simple question?
    What happens if I don't approve the automatic Upgrade to CRM 2015 Online?
    Blogs tell me, that the Org is not being updated. That's ok, but what are my options afterwards?
    Let's say I let the automatic Update pass by not approving it and in 10 month I would still like to get the upgrade. Can I still get an automatic upgrade at a later  point of time?
    Thanks for your help.
    I posted the same question here: https://community.dynamics.com/crm/f/117/t/152185.aspx
    but received no reasonable feedback.

    Hi Tobi,
    I don't know what you mean for "reasonable feedback", but as I wrote in the other post, at a certain post you will not able to delay the upgrade and your instance will be updated automatically to CRM 2015. And as the other user wrote, the deadline
    is end of June of this year.
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

  • CRM 2015 Customer Main Grid Fancy

    0
    In CRM 4.0, At Customer Main Grid has option to popup some address details like below.  
    Does any one know In CRM 2015, How to enable this option or is there any Add-On/Plugin/Solution out there to enable this sort of pop up windows with few column details at Customer grid??  Technically we can inject JavaScript function to pop up tooltip
    with nice windows on Mouse hover event on Customer Grid, but curious, if any one have done that or any article/link for this??
    Thanks,
    Nick

    0
    In CRM 4.0, At Customer Main Grid has option to popup some address details like below.  
    Does any one know In CRM 2015, How to enable this option or is there any Add-On/Plugin/Solution out there to enable this sort of pop up windows with few column details at Customer grid??  Technically we can inject JavaScript function to pop up tooltip
    with nice windows on Mouse hover event on Customer Grid, but curious, if any one have done that or any article/link for this??
    Thanks,
    Nick

  • CRM 2015 Custoemr Main Grid Fancy tooltip solution/script

    In CRM 4.0, At Customer Main Grid has option to popup some address details like below.  
    Does any one know In CRM 2015, How to enable this option or is there any Add-On/Plugin/Solution out there to enable this sort of pop up windows with few column details at Customer grid??  Technically we can inject JavaScript function to pop up tooltip
    with nice windows on Mouse hover event on Customer Grid, but curious, if any one have done that or any article/link for this??
    Thanks,
    Nick

    In CRM 4.0, At Customer Main Grid has option to popup some address details like below.  
    Does any one know In CRM 2015, How to enable this option or is there any Add-On/Plugin/Solution out there to enable this sort of pop up windows with few column details at Customer grid??  Technically we can inject JavaScript function to pop up tooltip
    with nice windows on Mouse hover event on Customer Grid, but curious, if any one have done that or any article/link for this??
    Thanks,
    Nick

  • Can CRM 2015 Online use the CRM 2013 Email Router?

    We are trying to plan our upgrade to CRM 2015 Online from CRM 2013 Online. We currently use the CRM 2013 Email Router and want to know if we need to upgrade the email router immediately after the CRM server is upgraded or if we could wait a short period
    of time. I searched but could not find any information on the Email Router compatibility. Does anyone have any information?

    Why are you using the email router if your Exchange Server is also Online?  Dynamics CRM Online has Server Sync built in so it will directly communicate to Exchange Online.  Much better solution than rolling up an email Router. 
    Also, if you don't have access to the Exchange server, I' doubt there's much you can do, since you don't have all the tools you need to troubleshoot the issue.
    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

  • Import Solution from CRM 2015 online to CRM 2015 on premise faild Error: {1}{0}

    Hi,
    i was trying to import a solution into a crm 2015 on premise System which I've exported from a crm online system (also CRM 2015 without the last Update).
    On the crm server I do have Administrators rights.
    When I try to Import the solution I get the erro Message
    error: {1}{0}
    Does anybody know, how I can get the information why this error occures?
    Greeting Ferdinand

    Hello,
    Try looking for the specific error in the CRM Trace folder.
    To enable tracing, please read
    this post.
    Cornel Croitoriu - Senior Software Developer
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

  • How Remove Sample User Form CRM 2015 Online

    I have CRM 2015 Online and Use Sample Data And Sample User
    I have remove the Sample Data which is removed but how I remove the Sample User
    There is no option for delete and Disable User in CRM 2015 Online on System User Entity
    One thing More in Office 365 Admin there is No Sample User Exists so that I can delete or Disable
    Muhammad Sohail

    Like Every CRM 2015 Online contain Built in Sample Data (Accounts,Contacts,Leads,Opportunities,Cases,Campaigns,Goals)
    Similarly have CRM User Approx 24 User and these user not showing in Office 365 Licensed User List.
    I remove the sample data and also want to delete or disable that sample (demo) users but how??
    Muhammad Sohail

  • Microsoft Dynamics CRM 2015 online (AD requirements)

    Hi all,
    we are currently looking to setup a CRM 2015 online environment.
    I tried looking in the Technet articles but couldn't find an answer.
    Do we need to forsee Active directory groups (such as PrivUserGroup, SQLAccessGroup,...) like we do for the On premise version?
    And do we need to give a license, or does this come with the Office 365 license?
    Any help would be highly appreciated.
    Regards,

    Got a call from MS support, its across the entire service. They are working hard to fix meanwhile they provided a work around I am not sure if it will work for everyone but 
    https://ORGNAME--s.crm4.dynamics.com worked for me. Or variations where --d becomes --s
    so that is the normal url https://ORGNAME.crm4.dynamics.com/ you take the orgname and add --d or --s followed by crm4.dynamics.com 
    Only works in IE 
    teach a man to fish ... etcetera

  • Getting wrong letters when tracking german email into CRM 2015 online

    I have a german user that when he is tracking an e-mail into our CRM 2015 Online the special german letters gets changes.
    "für" changes into "für" 
    Any suggestions why this is and what can be done?

    Hi All.
    Today's update.
    According to the Order Tracker-
    Apparently, as of Friday the 10th of August, my BT Infinity 2 service installation was completed. Funny, I don't remember an OpenReach engineer breaking in and installing an Infinity wall-plate, and setting up my non-delivered and thus non-existent HH3!
    Also, about an hour ago from this post time, around 1600hrs on Wednesday the 15th of August, my "New" Evening and Weekend Calling Package went "Live". I believe I have had that package all along. One of my gripes was that I was taken off the Anytime Package.
    Hang on! What's this that came in the post earlier today? Dated the 10th of August - I am being informed that my "Unlimited Anytime Plan" is being set up. Cool! Ah, no completion date, but I was told over the phone, on the 10th, that it will have gone live by midnight of the 10th.
    So, have I got it, or not? Any of it?
    So. Still no second Infinity line.
    Yes I know, some of you poor buggers cannot even get Infinity, but thanks to my Lodger and the general incompetence of one BT department or another, neither can I!
    I am posting this over my trusty 1Mbps ADS2+ line, while trying to download a 3.2GB disc image from MS TechNET. Apparently, it is going to take me nearly 10 hours at the current speed. I have at least five more large images to download.
    Oh boy...

  • Filtered Sub-grid lookup

    I'm trying to achieve the following setup for a client in CRM2015:
    They have a 2-level hierarchy of Accounts (Head-office and Branches) that are related using the 'Parent Account' field. For each Parent Account, there are multiple ways they internally group the related child accounts with the parent account.  To replicate
    this grouping, I've created a new entity called 'Account Lists' that allows them to select a parent account and then in a Sub-grid select one or more of the related child accounts.
    These are the steps I took so far:
    1) Added a new View to the Accounts Entity called 'Child Accounts' which displays all accounts where a custom option set value is equal to Child
    2) On the new 'Account Listings' Entity I created a N:N relationship with the Accounts entity
    3) Inserted a Sub-Grid on the form and selected the following for Data Source:
     -Records - Only selected records
     -Entity - Accounts (Child Accounts)
     -Default View - Child Accounts
    4) In additional options, I applied the following settings:
     -View Selector: Show Selected Views
     -In the Views list, I only have the 'Child Accounts' view selected
    The problem I'm having is that the Sub-grid drop down and related lookup is displaying all accounts, including parent accounts, and not just child accounts.  Is there something I've done wrong here or do I need to be looking at custom lookups with
    JavaScript to achieve what I'm looking for?
    Thank you

    Just wanted to add some more information in case I helps explain this issue:
    1) Our custom 'Account Lists' entity only contains two controls: a lookup and a subgrid.
    -The lookup is labeled Parent Account and only allows the user to select an Account where a custom option set field value is equal to "Parent".  The lookup view attached to this lookup is a custom view called Parent Account that enforces this
    restriction.
    -The second control is a subgrid labeled Child Accounts.  Similar to the lookup, we've tried to apply a custom View to filter which accounts the user can select.  In particular, we created a view called Child Accounts as we're hoping they would
    only be able to select Child Accounts from the subgrids related selectors (ie via the plus button or after clicking the "Lookup More records" link).
    2) The enforcing of the default View between the Lookup and Subgrid is behaving differently as follows:
    -When the user opens the lookup, they are presented with the "Parent Account" view and cannot select any other View.  This is perfect.
    -With the subgrid, when the user clicks the plus button (+) they are shown 10 accounts, but the accounts shown include both Parent and Child accounts and not just Child accounts as we expected when assigning our custom view to this grid.  Also,
    even though I see the name of the custom View (Child Accounts) to the left of the plus button, the grid is displaying different fields then those defined by the view.
    -Similarly, when they click the "Lookup More Records" link and are presented the Look up Records window, the default view is the native "Account Lookup View" and all the other Account views are available for selection.  I was expecting
    to see only our "Child Accounts" view to be available for selection so the users could only add these Accounts to the grid.
    Any idea why we can enforce a default view on the lookup, but not the subgrid?  Am I missing something here or is this is a bug in CRM 2015?

  • Cant add Competitors on Mobile Phone App CRM 2015

    I'm currently configuring the mobile phone app for CRM 2015 online.
    The issue i'm having is that i cant seem to add competitors, either directly or to an existing Lead or Opportunity. Although the entity appears in the lead and opportunity records, it only shows already added competitors (which were added via the browser
    or tablet app). I don't seem to have the option to add new competitors within the mobile phone app as the little "+" symbol at the top of the form is not present.
    I have the competitors entity enabled for the mobile phone app and tablet app. the tablet app works fine.
    I've also noticed that competitors entity appears on the tablet home page navigation but not on the mobile home page.
    Any suggestions?

    Hi,
    This is very urgent. I have to submit the app in 2 days. Doesn'y anyone have any idea about this?? Please Help

Maybe you are looking for

  • Can I view the basic jpeg in Aperture?

    Hi All, When using my Nikon D60 camera I have it set to RAW + jpeg basic so that with every press of the shutter release button it generates two files, a RAW file and a basic jpeg file. I think the camera performs several enhancements that are when g

  • Problem displaying date

    Hi, I am trying to display date, the source code is: code]import java.lang.*; import java.text.*; import java.util.*; class Date { public static void main(String args[]) { Date date = new Date(); System.out.println("the date is:" + date.toString());

  • Coverage profile

    Hi Friends, I have a understanding issue in coverage profile. I will explain with an example. suppose i have to manufacture 300 components in a month. so average per day is 10 and coverage profile is 10 days. so the system will maintain a stock of 10

  • VM with Office

    Hi, This should be very simple but I can't find it. How do I create a virtual machine with Office 2013 in Azure? I need it for test reasons an I do have a MSDN with the office licenses. But I can't find it anywhere in the wizards inside Azure. /Torbe

  • DVPRO HD doesn't play in QuickTime

    Someone sent me a movie file (.mov), that they exported this from Final Cut Pro but I beleive they have used the DVPRO HD codec they told me the file would work on all Macs but I tried 5 computers and always QuickTime tells me I need to download a pl