web
You’re offline. This is a read only version of the page.
close
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 262

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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

  • Suggested answer
    Meena Kannan Profile Picture
    232 on at

    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.

  • altun8tr Profile Picture
    262 on at

    Hi Meena,

    Can you give me an example code of it

  • altun8tr Profile Picture
    262 on at

    Hi CLAB01 ,

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

  • Verified answer
    Meena Kannan Profile Picture
    232 on at

    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//

    }

  • Suggested answer
    altun8tr Profile Picture
    262 on at

    Thanks a lot.

  • altun8tr Profile Picture
    262 on at

    Thank you

  • Suggested answer
    Summer Garg Profile Picture
    585 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans