Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-04-09
2
Medium Priority
?
764 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part II
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

927 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