[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 773
  • Last Modified:

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

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
tommym121
Asked:
tommym121
1 Solution
 
Chinmay PatelEnterprise ArchitectCommented:
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
 
tommym121Author Commented:
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now