![]() |
#1 |
Участник
|
crmtipoftheday: Tip #1421: Hide form selector in model-driven apps
Источник: https://crmtipoftheday.com/1421/hide...el-driven-apps
============== Everybody take a seat. Tanguy WiTouzard has the floor. (You can grab everyone’s attention too by sending your useful tip to jar@crmtipoftheday.com) Wizardry starts here I don’t know if it was published before but I just found out that we were able to remove “forms” from “form selector” using Javascript. It’s really useful when you have many forms because you are creating forms for different purpose but don’t want users to be able to switch themselves to those forms. ![]() function disableFormSelector(){ formContext.ui.formSelector.items.forEach( function(f){ f.setVisible(false); } );} Voila! Sans sélecteur de formulaire! (Tanguy actually didn’t say anything here but I’m not missing the opportunity to flex my Google-inspired French skills – t.j.) ![]()
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|