Comments for X-Squared On Demandhttp://www.x2od.com
Salesforce and Force.com solution developmentThu, 28 Apr 2016 21:14:30 +0000hourly1https://wordpress.org/?v=4.4.10Comment on Lightning Component With Running User Information by Drewhttp://www.x2od.com/2015/02/27/lightning-component-running-user#comment-82598
Thu, 28 Apr 2016 21:14:30 +0000http://www.x2od.com/?p=4255#comment-82598David,
Thanks for putting this code example together, it’s exactly what I needed as a newbie to SF development. I have the controller working how I want in the sandbox, but now I need to deploy the CurrentUserController into production and write a simple test class for it. I’ve got the test class started, but something is not quite right, because the dev console tests are not showing that it’s calling the controller and reading through the lines of code. Could you help point out what I’m missing in the code below:

]]>Comment on Visualforce Email Inbox by c13moorehttp://www.x2od.com/2009/07/14/visualforce-email-inbox#comment-82450
Thu, 21 Apr 2016 21:09:42 +0000http://www.x2od.com/?p=642#comment-82450I am having an issue with the options where the developer console does not like the 2 sets of quotes. Is there a way around that?
]]>Comment on Lightning Component With Running User Information by David Schachhttp://www.x2od.com/2015/02/27/lightning-component-running-user#comment-81159
Tue, 24 Nov 2015 03:25:20 +0000http://www.x2od.com/?p=4255#comment-81159Thanks for the comment. To make the lightning styles show on your VF page, check out the Salesforce Lightning Design System. There is full documentation there.
]]>Comment on Lightning Component With Running User Information by Eduardo Offermann Palmahttp://www.x2od.com/2015/02/27/lightning-component-running-user#comment-80783
Fri, 06 Nov 2015 01:56:21 +0000http://www.x2od.com/?p=4255#comment-80783Hi David,

Thank you for posting this. Could you please help me to find out a way to use the lighting styles component in a visualforce page?. I am showing up a lighting datepicker into a regular VF page but it looks bad.

Thanks for putting together this blog article. The example you used pretty much fit my exact use case and was able to help me understand what was going on without having to spend a few hours reading through The Lightning Components Developer Guide.

]]>Comment on Convert between Business and Person Accounts (B2B – B2C) by David Schachhttp://www.x2od.com/2008/08/19/convert-between-business-and-person-accounts-b2b-b2c#comment-70806
Fri, 20 Mar 2015 00:47:07 +0000http://www.x2od.com/?p=169#comment-70806Hi Julien – thanks for the comment. Without more information, I don’t think I can help you. Post the JavaScript you’re using?
]]>Comment on Convert between Business and Person Accounts (B2B – B2C) by Julien Camphttp://www.x2od.com/2008/08/19/convert-between-business-and-person-accounts-b2b-b2c#comment-70797
Thu, 19 Mar 2015 23:46:37 +0000http://www.x2od.com/?p=169#comment-70797Hi David,

Don’t know if you’re still monitoring this post, but I created this button and nothing seems to be happening; just wondering what I’ve done wrong.

Thanks if you see this!

Best,
Julien

]]>Comment on Salesforce Order of Execution by Salesforce: Triggers and Order of Execution | Vu Chi Hieuhttp://www.x2od.com/2008/11/09/salesforce-order-of-execution#comment-6471
Fri, 04 Jul 2014 06:44:48 +0000http://www.x2od.com/?p=230#comment-6471[…] http://www.x2od.com/2008/11/09/salesforce-order-of-execution […]
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by David Schachhttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1093
Wed, 30 Oct 2013 00:21:22 +0000http://www.x2od.com/?p=4114#comment-1093Go to the chatter editor and choose the action from the available ones. (Be sure to add it to the list there first.)
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by Dhavalhttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1089
Tue, 24 Sep 2013 11:42:35 +0000http://www.x2od.com/?p=4114#comment-1089In this post its clear how to create an action. But how to use it? you have not mentioned any step after creating action. I tried with creating page and action but then what i need to do?
]]>Comment on Create and Populate a Map<Id, Sobject> Without Loops by David Schachhttp://www.x2od.com/2012/07/25/populate-map-without-fo-loops#comment-1070
Wed, 07 Aug 2013 17:13:26 +0000http://www.x2od.com/?p=1499#comment-1070That is close to what I did, but we have to differentiate between a Map and a List. There is a limitation (feature?) in Apex, as in Java or C++, where one must instantiate a new map before populating it.
Apex does let you create a List without instantiating it, and that is what one would get from your query:List mylist = [SELECT Id, Name FROM Account];
Bottom line: Maps must be instantiated with a “new” call. Lists are what one gets when not instantiating a Map. I hope this helps.
]]>Comment on Create and Populate a Map<Id, Sobject> Without Loops by Mariappanhttp://www.x2od.com/2012/07/25/populate-map-without-fo-loops#comment-1069
Wed, 07 Aug 2013 05:19:21 +0000http://www.x2od.com/?p=1499#comment-1069Hi.
Its great to see the map concept without loops.
My question is like : Is it possible to have map =[SOQL Query];
I know its a kind of mad question but if it exist , we could reduce the loops as you did in this blog .
Anyway thanks a lot in advance .
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by William Moxley (@wjmoxley)http://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1060
Mon, 29 Jul 2013 21:50:08 +0000http://www.x2od.com/?p=4114#comment-1060Nice post David.
]]>Comment on Display Only My Role’s Records on a Report by larsenfedhttp://www.x2od.com/2013/07/22/my-role-records#comment-1059
Thu, 25 Jul 2013 13:22:41 +0000http://www.x2od.com/?p=4195#comment-1059Display My Role’s Records on a Report: Making a Salesforce Opportunity leaderboard is possible, but I’ve seen … http://t.co/XQ1tczExYM
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by bracketlabshttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1054
Mon, 15 Jul 2013 23:56:03 +0000http://www.x2od.com/?p=4114#comment-1054Chatter Publisher Actions in #Salesforce: Object Custom Action http://t.co/8F7w61UkNw via @dschach
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by Pat Pattersonhttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1055
Mon, 15 Jul 2013 23:51:59 +0000http://www.x2od.com/?p=4114#comment-1055As if by magic, here’s part 2 of @dschach’s series on Chatter Publisher Actions: Object Custom Actions http://t.co/AtFnvaxFFK
]]>Comment on Chatter Publisher Actions (Part 1): Create a Record by Pat Pattersonhttp://www.x2od.com/2013/06/28/publisher-actions-pt1#comment-1052
Mon, 15 Jul 2013 23:39:04 +0000http://www.x2od.com/?p=4112#comment-1052Nice intro to ‘Create a Record’ Chatter Actions from @dschach – looking fwd to part 2! /via @adamse http://t.co/6jMwh6ePIN
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by John Brockhttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1048
Mon, 15 Jul 2013 18:41:21 +0000http://www.x2od.com/?p=4114#comment-1048Great explanations and examples: “@dschach: New blog post is live: Custom Chatter Actions (the right way) http://t.co/qVi0N84DIY” #Summer13
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by David Schachhttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1045
Mon, 15 Jul 2013 16:47:57 +0000http://www.x2od.com/?p=4114#comment-1045New blog post is live: Object Custom Chatter Actions (the right way) http://t.co/L1Jr0KaJMF
]]>Comment on Chatter Publisher Actions (Part 2): Object Custom Action by CRMmanagerhttp://www.x2od.com/2013/07/15/publisher-actions-pt2#comment-1046
Mon, 15 Jul 2013 16:35:10 +0000http://www.x2od.com/?p=4114#comment-1046Chatter Publisher Actions (Part 2): Object Custom Action http://t.co/nqQtK98QJO #salesforce via @dschach
]]>