CRM Form Collapsible Sections
//Add collapsible functionality to sections.
/*********************************************************************/
function attachCollapsableToSections() {
var sections = getElementsByCondition(function(elm)
{ if (elm.className.indexOf("ms-crm-Form-Section") != -1) return true; }, null);
for (var i = 0; i < sections.length; i++) {
sections[i].innerHTML = ‘<img alt="Expanded, click to collapse" src="/_imgs/navup.gif" style="cursor:hand;"/>’ + sections[i].innerHTML; sections[i].childNodes[0].attachEvent(‘onclick’, toggleVisibility);
}
}
function attachCollapsableToSections() {
var sections = getElementsByCondition(function (elm) { if (elm.className.indexOf("ms-crm-Form-Section") != -1) return true; }, null);
for (var i = 0; i < sections.length; i++) {
sections[i].innerHTML = ‘<img alt="Expanded, click to collapse" src="/_imgs/navup.gif" style="cursor:hand;"/>’ + sections[i].innerHTML;
sections[i].childNodes[0].attachEvent(‘onclick’, toggleVisibility);
}
}
function toggleVisibility(e) {
var sectionContainer = e.srcElement.parentNode.parentNode.parentNode;
var elements = getElementsByCondition(function (elm) { if (elm.vAlign == "top") return true; }, sectionContainer);
for (var i = 0; i < elements.length; i++) {
if (elements[i].style.display == "none") {
elements[i].style.display = "";
e.srcElement.src = e.srcElement.src.replace("navdown", "navup");
}
else {
elements[i].style.display = "none";
e.srcElement.src = e.srcElement.src.replace("navup", "navdown");
}
}
}
function getElementsByCondition(condition, container) {
container = container || document;
var all = container.all || container.getElementsByTagName(‘*’);
var arr = [];
for (var k = 0; k < all.length; k++) {
var elm = all[k];
if (condition(elm, k))
arr[arr.length] = elm;
}
return arr;
}
/*********************************************************************/
Is an app just HTML 5?
I created an HTML 5 based CMS app:
http://m.wix.com/gregjonescto/icandothat
Is this the best way to build enterprise based apps – HTML 5?
I don’t see why not.
Greg Jones
This is your new Flavors.me page.
via Greg Jones.
Thinking about how IT will work in the near future
OS
- Windows 8
- Metro Look
- Touch
- Blend Apps with other apps
- OS X Lion
Cloud
- Private Clouds
- HyperV, VMWare
- Public Clouds
- Amazon
App Solutions
App Development
- Social vs Crowdware
- Mobile vs HTML 5
Processes
- BCP & Strategic Planning => Enterprise Architecture
Other
- BYOT (Bring Your Own Tech.. to the office)
ITIL Service Catalog
I found a great example of communicating an ITIL Service Catalog from Purdue University.
Microsoft Dynamics CRM 2011 Development Resources
Placeholder so I don’t forget where it is:
Disable an entire CRM Form
Used to disable an entire form after a certain status has occurred:
for (var index = 0; index < crmForm.all.length; index++)
{
if(crmForm.all[index].Disabled != null)
{
crmForm.all[index].Disabled = true;
}
}
Quick SCRUM write-ups and videos
SCRUM Write-up
http://en.wikipedia.org/wiki/Scrum_(development)
What is SCRUM
http://www.mountaingoatsoftware.com/topics/scrum
Implementing Scrum 1 of 2 Video
http://www.youtube.com/watch?v=LbNO9HLo4No&feature=related
SCRUM Master Video 10 Minutes
http://www.youtube.com/watch?v=Q5k7a9YEoUI
Selling EA and anything else
From a LinkedIn discussion about”What we need EA”
JD B. • @Wanderson – In a different forum the question was asked “how do I sell a value proposition?” The answer was “Make a clear distinction between (1) Creating a value proposition, (2) Communicating the value proposition, and (3) Communicating the value proposition plan?
# 1, the actual value proposition, should always include (a) the types of value – monetary, utility/functional, quality, perceptual/psychological – being created and (b) the business and customer perspectives of ‘the value’. McKinsey have a very interesting article on value perception/purchasing reasons in a Q4, 2010 retail survey. In summary, the results were: Utility 40%, monetary 34%, Quality 14.5%, and perceptual 11.5%
#2, A simple approach for #2 is emphasizing Value, Value, and Value, and how the Value will be created.
#3, A workable approach for #3 is When, What, Why, How, Who, and Where.
The point is that if the question had been, as it so often is, about Enterprise Architecture, the answer would be the same. It’s all about freaking value Dude