javascript - c# - Dynamics CRM Plugin - Auto-fill data prior to creation -


i'd use plugin fill case entity form data. i'm new working c# , plugins, sense more reliable using javascript form scripting. if bad assumption, please tell me.

my goal 1) , check security role of user, 2) based on security role, auto-fill "customer" field generic, hard-coded value.

the "customer" field on case form "system required" field. have plugin registered on create of incident, pre-validation & synchronous. when try save without manually filling out "customer" field, unable save , ui points me fact field not filled out yet.

am trying not possible? or should using javascript and/or business rules this?

  1. plugin expensive. according need, onload javascript function more appropriate.
  2. regarding pre-validation stage, validation check against things user privileges; field requirement level checked on client side. pre-validation plugin won't user skip required field.
  3. if plugin preference, may set default value field, , populate correct value in plugin.

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -