Skip to main content

Posts

Showing posts from May, 2018

Salesforce admin gotchas

After coming across some of these for the hundredth time, I've decided to keep a list of bizarre inconsistencies / gotchas in Salesforce.


Editable list views for certain objects don't allow editing of record owner field, even though certain object types (e.g. Cases) have a "Change owner" or "Assign" option right there on the list view which does the same thing, so something exactly like this is obviously already implemented.It's possible to mass-edit most things in list views, but not tasks.  There's no explanation why, official response from Salesforce is "install an AppExchange package" - at least there's a community that building what should be basic functionality (and already is, for other objects!).You can mass transfer ownership of accounts, but not contacts. It's because of this.The force.com cli's export-to-csv functionality (force query --format:csv) creates a file that its own CSV parsing functions consider invalid if …

"A section using 'configSource' may contain no other attributes or elements" error after installing Application Insights

After installing the Application Insights nuget package to an Umbraco solution, you'll get this error:

A section using 'configSource' may contain no other attributes or elements

<ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
     <log4net configSource="config\log4net.config">
         <root>
             <level value="ALL" />
             <appender-ref ref="aiAppender" />
Source File: \project\web.config

This happens because part of the Application Insights installation process adds a <log4net> section to web.config.  Which would make sense, except Umbraco already has a <log4net> section in /config/log4net.config.  So as you can imagine, the solution is to manually move everything its added into that file. Unfortunately you can't just copy/paste the whole lot, but it's not particularly complicated:


Move <appender-ref ref="aiAppender" /> into the lo…