• Adam Haithcox
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hey,

As we know  salesforce removing Javascript support from side bar  home component after summer 15,Also salesforce added visualforce in home componenet,Since Visualforce page in iframe.Visuaforce in home component is not able to interact with salesforce standard UI.

Any Idea or any research or javascript , we should control standard salesforce UI through home component.


Thanks,
Anil

I'm using the Office Toolkit interface to submit a SOQL query like this:

 

strQuery = string.Format(

    "SELECT Id, Owner.Extension, LastActivityDate, CreatedDate FROM Contact WHERE "+

    "Phone LIKE \'{0}\' OR OtherPhone LIKE \'{0}\' OR MobilePhone LIKE \'{0}\'", strNumber);

 

QueryResultSet4 result = SFSession.Query(strQuery, false);

 

It works fine, finds the expected record and I can access the Id, LastActivityDate adn the CreatedDate field values by enumerating the fields collection of the QueryResultSet4.  What I can't figure out is how to extract the presumably returned Owner.Extension field.  I think that part of the query is working as if I change it then the query fails.  I just can't figure out how I'm supposed to get at the data for the field...???

 

Thanks!