Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Dynamics Crm 2011 - How to set a default form depending on attribute value (without using Javascript)?

$
0
0

Hy all you guys. I have a little requirement that is making me crazy: We have 8 different forms for the Contact Entity. We also have a pick list with 8 options. The idea is that based on the option selected we could open that Contact record showing by default a particular form WITHOUT USING JAVASCRIPT in order to avoid performance problems (each record has to be loaded twice). Example:

Forms:
Form 1
Form 2
Form 3

Pick List Values - Default Form:

Form 1
Form 2
Form 3

If Form 3(pick list value) is selected then, the next time I open that record, Form 3 should be displayed by default.

If Form 1(pick list value) is selected then, the next time I open that record, Form 1 should be displayed by default.

I've trayed registering a plugin at the systemform entity, in RetrieveFilteredForms message, updating the userentityuisettings table and I've been able to set a "DEFAULT" that is displayed every time the records is opened regardless the last opened form.

I've trayed registering a plugin at the contact entity, in Retrieve message, updating the userentityuisettings table but I found that Crm only consults the table Once if there is no attribute updated, the following times Crm take the the default form to open value from the cache.

I hope someone could help me. Thanks in advance!


Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>