• Parag Bhatt 10
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hi,
I am new In GoLanguage and i need to integrate my salesforce org to the golang so that i can query any specified object records from command prompt .
i have configured go in my PC as well as i have created a workspace.
now I want to integrate my salesforce org to the GOLanguage and query all the Records of specified object from command prompt kindly help me..?

Thanks in advance 
vf Should be like below:
There must be an input field name label
after inserting some object name in that label it must populate field set Related to that object
and then after inserting some records in the field sets inputfield .
save button should save the records
Plz help me...
what are the best practises for Exception handling in salesforce.I have gone through SF Document but didn't find any where.
Thanks
Hi, I am having trouble with the "Attributes and Expressions" module from trailhead.

Here is the challenge:
Create a Lightning Component to display a single item for your packing list.
  • Create a component called campingListItem that displays the name (ui:outputText) and the three custom fields using the appropriate output components.
  • Add an attribute named 'item' for type Camping_Item__c.
I created an component named campingListItem and this is the code:
<aura:component >
    <aura:attribute name="item" type="<my_domain>__Camping_Item__c"/>
    
    <ui:outputText value="{!v.item.Name}"/>
    <ui:outputCheckbox value="{!v.item.<my_domain>__Packed__c}"/>
    <ui:outputCurrency  value="{!v.item.<my_domain>__Price__c}"/>
    <ui:outputNumber value="{!v.item.<my_domain>__Quantity__c}"/>
</aura:component>

The error that I am getting is: "Challenge Not yet complete... here's what's wrong: 
The packingListItem Lightning Component's attribute tag doesn't exist or its attributes are not set correctly."

With this, I tried to create another component, with the name "packingListItem", but It didn't work.

Can anyone help me?

Thanks,

How to get sObject type from the Id?

 

I dont want to use the SOSL query approach or the exception handling approach. Is there any other straight forward way  I can get the API name of the object if i pass the Id?

 

I attempted something like below

 

If(Account.sObjectType==new sObject (sId).getsObjectType())

 

expecting new sObject (sId).getsObjectType() to return Account.sObjectType if 'sId'  belongs to an accoun record.

 

Please help and share your experience when you encountered similar situation.

 

 

~Sachi

  • August 31, 2011
  • Like
  • 0