• DoubleheadSoftware
  • NEWBIE
  • 5 Points
  • Member since 2013
  • Doublehead Software

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 5
    Replies
A introduction to Salesforce Lightning component development.  The training video goes over at a high level what developing a lightning component is like.  Visit http://doubleheadsoftwaretraining.com/developer-landing19082899
I am trying to pre-populate the WhoId for a force:inputField field .  I have the pre-poluation working for the WhatId but not the WhoId.  The WhoId does not have "v.values" field.  Is there a way to do this?

 <div>
            <label>Related To</label>
            <force:inputField aura:id="whatId" value="{!v.newTask.WhatId}" />
        </div> 
        <div class="whoId-field">
            <label>Name</label>
            <force:inputField aura:id="thewhoId" value="{!v.newTask.WhoId}" />
        </div>

values = [{
                type: 'Account',
                id:  '0016E000003vp1NQAQ',
                label:  'ABC Company',
                icon: {
                    url: '/img/icon/t4v35/standard/account_120.png',
                    backgroundColor: 'A094ED',
                    alt: 'Contact'
                }
            }];
            cmp.find('whatId').get("v.body")[0].set('v.values', values);
I have created several External Objects and am accessing in several Apex classes. How do I create test coverage for the External Objects without setting the SeeAllData to true? Is there a mock class to use? 

I am trying to consuming a Dot.Net WCf web service.  I have been able to import the WSDl using the WSDl import tool .  The service was setup using the Channel Factory method to call the service.  The Channel Factory class was not imported with the WSDl import.  Is this possible in Saleforce?  This is a sample client using a Dot.Net client

 

const string apiKey = "89D7C85C-3B7B-4671-998C-6878C48FF6E6";

var channelFactory = new ChannelFactory<IOnboardingService>("onboardingService");

var client = channelFactory.CreateChannel();

var context = new OnboardingContext();

 

context.AccountName = "SAI";

context.FirstName = "John";

context.LastName = "Doe";

// ... fill in the data ...

 

var response = client.Call(new Request() { ApiKeyID = apiKey, Context = context });

I am trying to pre-populate the WhoId for a force:inputField field .  I have the pre-poluation working for the WhatId but not the WhoId.  The WhoId does not have "v.values" field.  Is there a way to do this?

 <div>
            <label>Related To</label>
            <force:inputField aura:id="whatId" value="{!v.newTask.WhatId}" />
        </div> 
        <div class="whoId-field">
            <label>Name</label>
            <force:inputField aura:id="thewhoId" value="{!v.newTask.WhoId}" />
        </div>

values = [{
                type: 'Account',
                id:  '0016E000003vp1NQAQ',
                label:  'ABC Company',
                icon: {
                    url: '/img/icon/t4v35/standard/account_120.png',
                    backgroundColor: 'A094ED',
                    alt: 'Contact'
                }
            }];
            cmp.find('whatId').get("v.body")[0].set('v.values', values);
Hi all ,  
I have 2 objects Rooms and Room Booking, 
Room has a date field Booked date 
Room Booking has date field Booking date 

if i enter a date in Booking date field of Room Booking
then i want the date field of the Rooms to be updated with the same date. 

i want this to be done by workFlow not by trigger 
 
Looking for a developer to work remotely in the US as a contractor on an as needed basis. Lots of developer work to be done, mainly triggers and VF pages. If interested, please reply.
Organization in downtown Chicago in need of basic setup of Salesforce for small sales function (3 users). Blocking and tackling simple archetciture, standard reports, and connector to Pardot. Would need to sign an NDA, but don't hesitate to ask any questions.
Hi,

I have developed an account based forecast tool for my current company and am considering trying to get it on the app exchange.  Anyone that might be interested in a partnership to do so please contact me.

Thanks,

Mathew
I have created several External Objects and am accessing in several Apex classes. How do I create test coverage for the External Objects without setting the SeeAllData to true? Is there a mock class to use?