• venkateswarlu
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hello,

 

I am including content in a visualforce page from a zip file which I reference for the required element in the page.

For example I include an Image as follows

 

<img src="{!URLFOR($Resource.MyPageResources, 'img/my-logo.png')}" class="mt4" alt="My Logo" />

 

This works fine.

 

I was wondeirng. Can I put a HTML page in my zip file and reference this in my visualforce page, from my static resource.

 

IIf so, how would I reference this in my page?  I wasn;t sure how to reference full HTML.

 

Thanks in advance for any help!

Hello,

I am using a soql query to retrieve records from contact.

Here is my query:

List<contact> contactList=[Select name,Email from contact where id=:contactId];

 

I am able to execute this if i have less records but if i have more records that is fr about 200 Records i am getting an exception:

Too many SOQL queries: 101 .

 

When i looked for this Exception  i came to know that a database statement cannot process more than 100 records. 

 

Is there any method to overcome this issue please help me out with code if any.

 

Please help me out of this issue.

 

Thanks in advance,

prashanth. 

 

 

  • July 04, 2009
  • Like
  • 0
When trying to deploy apex code we are receiving the following error.

Unable to test deploy Force.com components.

Reason:
OutOfMemoryError: Java heap space


I have no idea what this means or how to fix it. Ideas?


Message Edited by TehNrd on 10-14-2008 10:25 AM
  • October 14, 2008
  • Like
  • 0