Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Get id of selected row of view in crm 2011 using javascript

(0) ShareShare
ReportReport
Posted on by 260

Hi,

How can i get the id of the selected row of view. In view there is a table using javascript in ms crm 2011.. And i need the if of tr.

Can anyone help me please? The picture of view is in the attachment.4405.id.png

*This post is locked for comments

  • Suggested answer
    Summer Garg Profile Picture
    Summer Garg 585 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Hi Muharrem ALTUN,

    Check this article, to get GUID of selected records :

    crmhub.blogspot.in/.../how-to-get-selected-records-guid-from-home-page-entity-view-using-Java-Script-MS-Dynamic-CRM.html

  • altun8tr Profile Picture
    altun8tr 260 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Thank you

  • Suggested answer
    altun8tr Profile Picture
    altun8tr 260 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Thanks a lot.

  • Verified answer
    Meena Kannan Profile Picture
    Meena Kannan 230 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Hi,

    Call your java script function through ribbon workbench like below,

    135437.Capture.PNG

    Your java script function should have the ability to receive parameter like below,

    function your_FunctionName(selectedItems){

    //write your logic here//

    }

  • altun8tr Profile Picture
    altun8tr 260 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Hi CLAB01 ,

    Can you give me an example of the first option which is :use Javascript/jquery : considered unsupported

  • altun8tr Profile Picture
    altun8tr 260 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Hi Meena,

    Can you give me an example code of it

  • Suggested answer
    Meena Kannan Profile Picture
    Meena Kannan 230 on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Hi,

    I hope you are trying to get the selected record id from grid. If it so use "SelectedControlSelectedItemIds" as Crm parameter in the action area. It will return guid of selected records.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Get id of selected row of view in crm 2011 using javascript

    Hi ,

    Refer to this Thread , you have 2 options :

    - use Javascript/jquery : considered unsupported

    - Customize the ribbon as mentionned in the thread by Scott Durow.

    https://community.dynamics.com/crm/f/117/t/109227

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans