Exchange/Outlook Indexing Stinks
Last Updated on Wednesday, 14 May 2008 04:16 Written by Steve Wednesday, 14 May 2008 04:16
Evernote, Xobni, Gmail, and Google Desktop’s Outlook search all have better indexing than Exchange. And Exchange is supposed to be the enterprise-level flagship of messaging systems. How is it that I can’t find my Exchange mail when I need it?
Learn MoreRelationship changes and dead reports
Last Updated on Wednesday, 14 May 2008 09:15 Written by Steve Wednesday, 14 May 2008 09:15
Summer ’08 is coming. There are a couple features that are hitting that will allow me to ditch a bunch of Apex code I’ve written. I’m kind of surprised at this, only 9 months after I got access to Apex, the platform is maturing to where things I did with Code can be done in much easier ways. Here are the features that are coming that will be most helpful in getting rid of Apex:
- Cross Object Formulas: The ability to show Parent data on the Child record will obviate the use of Apex for that kind of thing. I was doing this with a Contact in a Household–showing the Household Name and Greeting on the Contact. Won’t need to now, I can just create two formula fields.
- Double Master Detail: Having two master-detail records allows rollups in two directions. Right now I have some Apex to allow us to fund individual projects from Restricted Funding Pools. Project Funds is an object that pulls an amount from a Fund and applies it to a project. My Apex does the math and shows the money drawn down from the Fund and applied to the project. This will be completely obviated by Summary Rollups now that I have double master details.
Here’s a small problem. When I change text fields that are written by Apex to cross-object formula fields, I’ll have to tweak all the reports that use those fields. That makes sense, and it’s work that will be well worth it.
Here’s the big problem. By taking advantage of the new master-detail relationships, I have to change the relationship type, which ruins all reports that are based on that relationship. Turns out that the schema change takes 15 seconds, and the rebuilding of reports can take many, many hours.
In the project arena, we have over 100 reports that will potentially have to be rebuilt. And the real drag is that the old reports aren’t viewable after you change the relationship type, so you have to know what you want to rebuild ahead of time.
What I would love is this–if you change a relationship from lookup to master detail, it would be great if your reports were migrated for you. I have no idea how hard that would be because there is so much that happens behind the scenes with reporting. But the current situation is pretty rough when you want to change relationship structure.
I can only imagine what it must be like if a large organization wants to change schema to take advantage of the new double master detail. If there is anything Salesforce.com can do to mitigate this problem, I’d love to see it.
If reports ever get exposed via the metadata API that might help a lot–easier to tweak 100 text files rather than recreate 100 reports from scratch.
Learn MoreMy first Cross-Object formula
Last Updated on Wednesday, 7 May 2008 03:30 Written by Steve Wednesday, 7 May 2008 03:30
In my brand new Summer ’08 pre-release dev environment I created a formula field on Opportunity that looks up to the related Campaign:
IF(NOT(ISNULL(CampaignId)),HYPERLINK("/" & CampaignId, Campaign.Name ),"")
Which is a hyperlink to the Campaign to which an Opp is related.
Why, you might ask. Because for some reason, Campaign isn’t available in the Related List for Opportunities on the Contact Page Layout. And sometimes it’s nice to see giving history along with the Campaigns those gifts came in from. I had a customer ask me for this today, as a matter of fact.
Would be even nicer if I didn’t have to fake it, but this will do.
Learn More