Solved

CRM 2011 - xRM - How to use the name of the form to get the form id

Posted on 2012-04-09
2
713 Views
Last Modified: 2012-04-13
I would like to switch form, but  I need to get the itemId,  How do I know the itemID,
Is there a xRM function to give me the itemId give the name of the form.


Xrm.Page.ui.formSelector.items.get(itemId).navigate();
0
Comment
Question by:tommym121
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 37826106
Hi tommym121,

Check this : http://msdn.microsoft.com/en-us/library/gg309560.aspx

Basically you will use the getLabel method and then compare the labels to navigate to the form.

Regards,
Chinmay.
0
 

Author Closing Comment

by:tommym121
ID: 37842552
Thanks
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question