Solved

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

Posted on 2012-04-09
2
700 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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