Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

How to get selected record id in an iframe using JavaScript in MS CRM 2011?

$
0
0

Hi Friends,

I am setting up the url of iframe in Contract entity using JS. My ifram url points to Associated View url. Now, I want to get the id of a record which has been selected in an iframe using JS.

Fyi, I have tried the below code.

var gridControl = document.getElementById("yourSubGridName").control;
var ids = gridControl.get_selectedIds();

I cannot see the method name as get_selectedIds() which will give you the id of a selected row.

Please suggest. Thanks!

 


Vineet

Viewing all articles
Browse latest Browse all 10280

Trending Articles



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