Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: Javascript in related entity

$
0
0
Hi! In the Main Account form I'm trying to trigger a function whenever a user adds/deletes rows to a custom grid(Rows are records), the thing is that the Grid doesn't appear in the Account form, it appears when you click on the common entities in the ribbon bar(I don't know if that's the correct name) and you select that specific entity. A good example of this behavior could be like: In a Microsoft Dynamics CRM trial, if you open an Account and click in the ribbon bar/common entities/Activities, CRM will 'Update' the Account form and it will show you the view of the related Activities of that Account. What I'm trying to do is 'detect' that form change and trigger a javascript after the new 'form' with the related records is loaded, after that attach a function to the 'refresh' of the Grid and if the user adds a row(Record) update a field of the regarding Account(The account that I opened at the first time). I've an idea of how to attach the javascript to the refresh of the grid but not sure of the next steps. How can I do that? BTW I'm using CRM 13 On premise :) Thanks!

Viewing all articles
Browse latest Browse all 154803


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>