Crm 2011 switching between multiple forms within the same object

We are currently developing our solutions using a single form for each object. We have a current set of requirements, where 10 or so entities are similar to functionality and data collection. Ideally, we would like to have an entity with 10 or so shapes, and depending on the displayed value, display the correct shape when you click a custom button.

Earlier, I worked with a provider that implemented something like this, displaying the correct form using the GUID (using the quidystring formid parameter) in the load event using JavaScript. Although this worked in 95% of cases, depending on the client machine, it did not accidentally load the correct form due to synchronization problems, that is, the code was not running properly at the time the form was loaded.

Are there any best practices for using this method?

I think my other options are 1) several objects 2) one form with tabs / sections that I show / hide when the form loads

I tend to implement option 2)

Richard

+3
source share
2 answers

CRM 2011 . .

  • , , , JavaScript . ( )

  • - JavaScript / ( 4.0)

  • JS .

+3

JavaScript.

JavaScript URL:

[ServerURL]/main.aspx?etn= [EntityName] & extraqs =% .. 3d [entitytypecode]% 26formid% 3d [formguid]% 26id% 3d% 257b [recordguid]% 257d & PageType = entityrecord

entityname = (, ),

entitytypecode = (, 112),

formguid = guid , ,

recordguid = guid . id, .

0

All Articles