Customizing Service Activities Form Duration Listbox - CRM 4

ricardo.talbot
Member Posts: 30
When entering / editing service activity, data entry is facilitated through the use of a listbox that contains preset durations ranging from 1 minute to 3 days.
A user asekd for some more values in the listbox. However, the CRM entity customization utility does not allow changes to that field because it is placed in a locked section.
Is there a way to momentarily unlock the section? If not, does anyone on this forum know about a workaround?
Thanks in advance,
Ricardo.
A user asekd for some more values in the listbox. However, the CRM entity customization utility does not allow changes to that field because it is placed in a locked section.
Is there a way to momentarily unlock the section? If not, does anyone on this forum know about a workaround?
Thanks in advance,
Ricardo.
0
Comments
-
No idea on how to amend it due to the limitation as you stated.
Can try using js to hide the default section, and create a new similar section for user to input / edit, provided some func to sync both sections. Agree?0 -
Thanks for the tip, "ianlcy". All forum members who responded suggested using js, so I guess I'll have to brush up my js notions ;-)
Thanks, I'll look into it.
In the meantime, can you recommend a "Dynamics CRM 4 Scripting for Dummies" website or book?
Thanks again,
Ricardo.0 -
Tried scripting the addition of a new option, and something interesting happened: it works with a field that is not located within a locked section, but if you try to read the properties of a filed located in a locked section (as is the case with the Duration field), you get an error message that says the object is Null
Any other ideas, anyone?0 -
Hi there, you are welcome, I'm normally just googling around when out of idea.
I've not customize this portion before so not sure about the solution, but can try to provide some possible way to code it.
Due to limitation of "locking" on the UI, therefore we need to create a "buffer area" for user input. Noticed that UI scheduleduration is actually pointing to DB scheduledurationminutes which is in int format, so logically the buffer_scheduleduration should be in picklist provided those options which needed by your client, then a onchange func to convert picklist value into minutes then only set it into scheduledurationminutes.
If this way not works, there is another option to pass in value using plugin. Again you need to use the buffer area for storing pre-process data, convertion happen upon onsave in plugin...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions