• linganna
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 21
    Questions
  • 13
    Replies

Hi all,

I am getting the following error any one please help me to solve

 

expenseList = [Select id,

Name,

Doctors_Met__c,

station__c,

Month_Year_Combination__c,

Chemist_Met__c,

( select id,frommarket__c,tomarket__C,Fare__c from Expense_Fares__r)

from Expense__c ];

 

Error: ManageExpenseStatementController Compile Error: Didn't understand relationship 'Expense_Fares__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names. at line 100 column 21 

 

Hi all

 Iam getting the error while pluging "An error occurred while collecting items to be installed".

 

error details:

 

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.salesforce.ide.api,25.0.0.201206181021.
MD5 hash is not as expected. Expected: cfe2af79a543696580b0dc8120ae63ea and found 588125013b250a06d070868b41826665.
Problems downloading artifact: osgi.bundle,com.salesforce.ide.core,25.0.0.201206181021.
MD5 hash is not as expected. Expected: 2850ffbb014faaf022bbb32f146ee699 and found 112f203fd7f7b1acc50fd8eaa2e47907.
Problems downloading artifact: osgi.bundle,com.salesforce.ide.documentation,25.0.0.201206181021.
MD5 hash is not as expected. Expected: 314d2f02d4c7e63caaff7feff76dcd87 and found c9a98a00ecc3bcff018d3a390fb2e70e.

 

regards

linganna

 

Hi

 

I used the below code for google map integration with salesforce  but the google map  not visible in my visual force page 

but when I use the  same code in note pad with out <apex:page> tag  its working .

anybody help me

 

 

 

<apex:page sidebar="false">

<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?sensor=false ">
</script>
<script type="text/javascript">
function initialize() {
var myOptions = {
center: new google.maps.LatLng(-34.397, 150.644),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
}
</script>
</head>
<body onload="initialize()">

<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>


</apex:page>

Hi

 

how to get all fields from account  using query? else is ther another way.

 

thanks

HI all

 

 

here I am using param tag for accessing value but i am not getting the value in control. in developer console its showing null

 

 

<apex:pageBlock >
<apex:pageblockTable value="{!wrap}" var="w">
<apex:column headerValue="accountname" value="{!w.aname}"/>
<apex:column headerValue="no.contacts" >
<apex:commandLink value="{!w.con}" action="{!showcon}">

<apex:param name="abc" value="{!w.name}" assignedto="{!pname1}"/>
</apex:commandlink>
</apex:column>

</apex:pageblocktable>

</apex:pageblock>

 

 

cnotroller

 

 

public string pname1{set;get;}


public void showcon(){

system.debug('@@@@@@@@@@@@@@@@@@@'+pname1);


//string pname=ApexPages.currentPage().getParameters().get('abc') ;

//system.debug('$$$$$$$$$$$$$$$$$$$$$$'+pname);

}

 

 

thanks

 

 

HI 

 

I am calling process() method from <actionfunction> tag there no compilation error

but the method unable to invoke.

 

anybody help me.

thanks in advance

 

 

public with sharing class PassParameterActionFunction {

public string name{set;get;}
public string nameval{set;get;}
public void process(){

nameval=name;
}

}

 

 

..............................................................

 

 

<apex:page controller="PassParameterActionFunction">
<apex:form id="theform">
<apex:outputPanel id="thepanel">
<apex:outputlabel value="{!nameval}"/>
</apex:outputPanel>

entername:<apex:inputtext id="thename"/>
<apex:commandButton onclick="show();" value="show"/>


<apex:actionFunction name="display" action="{!process}" rerender="thepanel">
<apex:param name="first" assignTo="{!name}" value=""/>
</apex:actionfunction>
</apex:form>
<script type="text/javascript">
function show(){

var a=document.getElementById("{!$Component.theform.thename}").value;
display(a)
}
</script>

</apex:page>

 

HI all

 

I try to install eclipse3.6 helios in windows7 64 bit and jdk also 64bit

Iam getting the below error any body suggest me

 

error:an error occur while collecting items to be installed

 

 

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.salesforce.ide.api,24.0.0.201202291629.
MD5 hash is not as expected. Expected: 7251ab037ae632a5a9835c7c07210451 and found 67101250dcac527d8d48723ed1c755a3.
Problems downloading artifact: osgi.bundle,com.salesforce.ide.core,24.0.0.201202291629.
MD5 hash is not as expected. Expected: 44db36699ca7fdd38917fced4e63c3b3 and found ef4a0f1e944928f580614c72d123c04b.
Problems downloading artifact: osgi.bundle,com.salesforce.ide.documentation,24.0.0.201202291629.
MD5 hash is not as expected. Expected: 6d87eb2e76e7e19f7b709682e5272dfc and found ed282dd737edbae764dbb58a899c8919.

 

thanks 

 

Linganna

Hi all

 

I  am using old version developer edition  how to upgrade to spring 12.

 

what are customer portal and partner portal?

Any body please explain me.

Hi all

How to deploy the appliction to production environment.

any body help  me

Hi all

 

when I uplaod csv file Iam getting the above error .

anybody help me

 

System.StringException: BLOB is not a valid UTF-8 string 

Hi all

 

what is difference between sales cloud and service cloud?

 I am Unable to understand 

 

Regards

 

Linganna

 

hi all

iam getting the email but records not deleted and in developer console displaying

 

24.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
Execute Anonymous: Id batchinstanceid = database.executeBatch(new deleteAccounts('select Id from Account'),10);
23:39:01.051 (51627000)|EXECUTION_STARTED
23:39:01.051 (51640000)|CODE_UNIT_STARTED|[EXTERNAL]|execute_anonymous_apex
23:39:01.051 (51742000)|VARIABLE_SCOPE_BEGIN|[1]|batchinstanceid|Id|false|false
23:39:01.052 (52262000)|STATEMENT_EXECUTE|[1]
23:39:01.052 (52272000)|STATEMENT_EXECUTE|[1]
23:39:01.054 (54858000)|METHOD_ENTRY|[1]|01pU0000000xjRc|deleteAccounts.deleteAccounts()
23:39:01.054 (54869000)|STATEMENT_EXECUTE|[1]
23:39:01.055 (55004000)|SYSTEM_MODE_ENTER|false
23:39:01.055 (55021000)|HEAP_ALLOCATE|[1]|Bytes:5
23:39:01.055 (55030000)|STATEMENT_EXECUTE|[1]
23:39:01.055 (55039000)|SYSTEM_MODE_EXIT|false
23:39:01.055 (55049000)|METHOD_EXIT|[1]|deleteAccounts
23:39:01.055 (55069000)|HEAP_ALLOCATE|[1]|Bytes:8
23:39:01.055 (55078000)|HEAP_ALLOCATE|[1]|Bytes:22
23:39:01.055 (55121000)|CONSTRUCTOR_ENTRY|[1]|01pU0000000xjRc|(String)
23:39:01.055 (55158000)|VARIABLE_SCOPE_BEGIN|[4]|this|deleteAccounts|true|false
23:39:01.055 (55186000)|HEAP_ALLOCATE|[3]|Bytes:8
23:39:01.055 (55212000)|VARIABLE_ASSIGNMENT|[4]|this|{}|0x2cb7594f
23:39:01.055 (55221000)|VARIABLE_SCOPE_BEGIN|[4]|q|String|false|false
23:39:01.055 (55236000)|VARIABLE_ASSIGNMENT|[4]|q|"select Id from Accou (2 more) ..."
23:39:01.055 (55249000)|STATEMENT_EXECUTE|[1]
23:39:01.055 (55259000)|SYSTEM_MODE_ENTER|false
23:39:01.055 (55267000)|HEAP_ALLOCATE|[3]|Bytes:5
23:39:01.055 (55275000)|STATEMENT_EXECUTE|[3]
23:39:01.055 (55287000)|SYSTEM_MODE_EXIT|false
23:39:01.055 (55300000)|SYSTEM_MODE_ENTER|false
23:39:01.055 (55306000)|HEAP_ALLOCATE|[3]|Bytes:5
23:39:01.055 (55312000)|STATEMENT_EXECUTE|[5]
23:39:01.055 (55316000)|STATEMENT_EXECUTE|[6]
23:39:01.055 (55364000)|VARIABLE_ASSIGNMENT|[6]|this.Query|"select Id from Accou (2 more) ..."|0x2cb7594f
23:39:01.055 (55375000)|SYSTEM_MODE_EXIT|false
23:39:01.055 (55399000)|CONSTRUCTOR_EXIT|[1]|01pU0000000xjRc|(String)
23:39:01.055 (55431000)|SYSTEM_METHOD_ENTRY|[1]|Database.executeBatch(APEX_OBJECT, Integer)
23:39:01.101 (101186000)|HEAP_ALLOCATE|[1]|Bytes:15
23:39:01.101 (101206000)|SYSTEM_METHOD_EXIT|[1]|Database.executeBatch(APEX_OBJECT, Integer)
23:39:01.101 (101232000)|HEAP_ALLOCATE|[1]|Bytes:18
23:39:01.101 (101257000)|VARIABLE_ASSIGNMENT|[1]|batchinstanceid|"707U0000003azznIAA"
23:39:01.783 (104487000)|CUMULATIVE_LIMIT_USAGE
23:39:01.783|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 0 out of 100
  Number of query rows: 0 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Number of script statements: 3 out of 200000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 10
  Number of Email Invocations: 0 out of 10
  Number of fields describes: 0 out of 100
  Number of record type describes: 0 out of 100
  Number of child relationships describes: 0 out of 100
  Number of picklist describes: 0 out of 100
  Number of future calls: 0 out of 10

23:39:01.783|CUMULATIVE_LIMIT_USAGE_END

23:39:01.104 (104521000)|CODE_UNIT_FINISHED|execute_anonymous_apex
23:39:01.104 (104529000)|EXECUTION_FINISHED

 Error: unexpected token: '<EOF>' at line 0 column -1

 

Iam getting this error .

thanks

 

regards

linganna

Hi

any one please tell me what is difference between apex and dynamic apex.

regards

 

linganna

Hi

Any one please help how to write testclass and execution with small exemple

thanks 

 

Regards

linganna

hi

 

what is difference between standard and custom controller in salesforce.I am getting confusation.

thanks.

 

Hi

 

I want  to enable <apex:chart > tag in my developer account .any one please suggest me.

thanks

 

Redkite in|force Connector

 

Hi

I connectd with linkdin using redkite inforce connecter from getting appexchange.When i create  contact

and click on linked tab i am getting the error as

 

Visualforce Error

System.NullPointerException: Argument cannot be null. 

 

An unexpected error has occurred. Your solution provider has been notified. (system)

 

any one please suggest me

thanks

 



hi

 

iam getting the below error   please suggest me.

thanks

 

Error: Compile Error: Invalid bind expression type of SOBJECT:Account for column of type Id at line 5 column 56

 

 

trigger score on Opportunity (after insert) {

for(Opportunity op:trigger.new)
{
account acc=[select id,score__c from account where id=:op.Account];
acc.score+=2;
update acc;
}
}

Hi all

 

what is difference between sales cloud and service cloud?

 I am Unable to understand 

 

Regards

 

Linganna

Hi all,

I am getting the following error any one please help me to solve

 

expenseList = [Select id,

Name,

Doctors_Met__c,

station__c,

Month_Year_Combination__c,

Chemist_Met__c,

( select id,frommarket__c,tomarket__C,Fare__c from Expense_Fares__r)

from Expense__c ];

 

Error: ManageExpenseStatementController Compile Error: Didn't understand relationship 'Expense_Fares__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names. at line 100 column 21 

 

Hi

 

I used the below code for google map integration with salesforce  but the google map  not visible in my visual force page 

but when I use the  same code in note pad with out <apex:page> tag  its working .

anybody help me

 

 

 

<apex:page sidebar="false">

<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?sensor=false ">
</script>
<script type="text/javascript">
function initialize() {
var myOptions = {
center: new google.maps.LatLng(-34.397, 150.644),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
}
</script>
</head>
<body onload="initialize()">

<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>


</apex:page>

Hi

 

how to get all fields from account  using query? else is ther another way.

 

thanks

HI all

 

 

here I am using param tag for accessing value but i am not getting the value in control. in developer console its showing null

 

 

<apex:pageBlock >
<apex:pageblockTable value="{!wrap}" var="w">
<apex:column headerValue="accountname" value="{!w.aname}"/>
<apex:column headerValue="no.contacts" >
<apex:commandLink value="{!w.con}" action="{!showcon}">

<apex:param name="abc" value="{!w.name}" assignedto="{!pname1}"/>
</apex:commandlink>
</apex:column>

</apex:pageblocktable>

</apex:pageblock>

 

 

cnotroller

 

 

public string pname1{set;get;}


public void showcon(){

system.debug('@@@@@@@@@@@@@@@@@@@'+pname1);


//string pname=ApexPages.currentPage().getParameters().get('abc') ;

//system.debug('$$$$$$$$$$$$$$$$$$$$$$'+pname);

}

 

 

thanks

 

 

HI 

 

I am calling process() method from <actionfunction> tag there no compilation error

but the method unable to invoke.

 

anybody help me.

thanks in advance

 

 

public with sharing class PassParameterActionFunction {

public string name{set;get;}
public string nameval{set;get;}
public void process(){

nameval=name;
}

}

 

 

..............................................................

 

 

<apex:page controller="PassParameterActionFunction">
<apex:form id="theform">
<apex:outputPanel id="thepanel">
<apex:outputlabel value="{!nameval}"/>
</apex:outputPanel>

entername:<apex:inputtext id="thename"/>
<apex:commandButton onclick="show();" value="show"/>


<apex:actionFunction name="display" action="{!process}" rerender="thepanel">
<apex:param name="first" assignTo="{!name}" value=""/>
</apex:actionfunction>
</apex:form>
<script type="text/javascript">
function show(){

var a=document.getElementById("{!$Component.theform.thename}").value;
display(a)
}
</script>

</apex:page>

 

 

hi all

iam getting the email but records not deleted and in developer console displaying

 

24.0 APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
Execute Anonymous: Id batchinstanceid = database.executeBatch(new deleteAccounts('select Id from Account'),10);
23:39:01.051 (51627000)|EXECUTION_STARTED
23:39:01.051 (51640000)|CODE_UNIT_STARTED|[EXTERNAL]|execute_anonymous_apex
23:39:01.051 (51742000)|VARIABLE_SCOPE_BEGIN|[1]|batchinstanceid|Id|false|false
23:39:01.052 (52262000)|STATEMENT_EXECUTE|[1]
23:39:01.052 (52272000)|STATEMENT_EXECUTE|[1]
23:39:01.054 (54858000)|METHOD_ENTRY|[1]|01pU0000000xjRc|deleteAccounts.deleteAccounts()
23:39:01.054 (54869000)|STATEMENT_EXECUTE|[1]
23:39:01.055 (55004000)|SYSTEM_MODE_ENTER|false
23:39:01.055 (55021000)|HEAP_ALLOCATE|[1]|Bytes:5
23:39:01.055 (55030000)|STATEMENT_EXECUTE|[1]
23:39:01.055 (55039000)|SYSTEM_MODE_EXIT|false
23:39:01.055 (55049000)|METHOD_EXIT|[1]|deleteAccounts
23:39:01.055 (55069000)|HEAP_ALLOCATE|[1]|Bytes:8
23:39:01.055 (55078000)|HEAP_ALLOCATE|[1]|Bytes:22
23:39:01.055 (55121000)|CONSTRUCTOR_ENTRY|[1]|01pU0000000xjRc|(String)
23:39:01.055 (55158000)|VARIABLE_SCOPE_BEGIN|[4]|this|deleteAccounts|true|false
23:39:01.055 (55186000)|HEAP_ALLOCATE|[3]|Bytes:8
23:39:01.055 (55212000)|VARIABLE_ASSIGNMENT|[4]|this|{}|0x2cb7594f
23:39:01.055 (55221000)|VARIABLE_SCOPE_BEGIN|[4]|q|String|false|false
23:39:01.055 (55236000)|VARIABLE_ASSIGNMENT|[4]|q|"select Id from Accou (2 more) ..."
23:39:01.055 (55249000)|STATEMENT_EXECUTE|[1]
23:39:01.055 (55259000)|SYSTEM_MODE_ENTER|false
23:39:01.055 (55267000)|HEAP_ALLOCATE|[3]|Bytes:5
23:39:01.055 (55275000)|STATEMENT_EXECUTE|[3]
23:39:01.055 (55287000)|SYSTEM_MODE_EXIT|false
23:39:01.055 (55300000)|SYSTEM_MODE_ENTER|false
23:39:01.055 (55306000)|HEAP_ALLOCATE|[3]|Bytes:5
23:39:01.055 (55312000)|STATEMENT_EXECUTE|[5]
23:39:01.055 (55316000)|STATEMENT_EXECUTE|[6]
23:39:01.055 (55364000)|VARIABLE_ASSIGNMENT|[6]|this.Query|"select Id from Accou (2 more) ..."|0x2cb7594f
23:39:01.055 (55375000)|SYSTEM_MODE_EXIT|false
23:39:01.055 (55399000)|CONSTRUCTOR_EXIT|[1]|01pU0000000xjRc|(String)
23:39:01.055 (55431000)|SYSTEM_METHOD_ENTRY|[1]|Database.executeBatch(APEX_OBJECT, Integer)
23:39:01.101 (101186000)|HEAP_ALLOCATE|[1]|Bytes:15
23:39:01.101 (101206000)|SYSTEM_METHOD_EXIT|[1]|Database.executeBatch(APEX_OBJECT, Integer)
23:39:01.101 (101232000)|HEAP_ALLOCATE|[1]|Bytes:18
23:39:01.101 (101257000)|VARIABLE_ASSIGNMENT|[1]|batchinstanceid|"707U0000003azznIAA"
23:39:01.783 (104487000)|CUMULATIVE_LIMIT_USAGE
23:39:01.783|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 0 out of 100
  Number of query rows: 0 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Number of script statements: 3 out of 200000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 10
  Number of Email Invocations: 0 out of 10
  Number of fields describes: 0 out of 100
  Number of record type describes: 0 out of 100
  Number of child relationships describes: 0 out of 100
  Number of picklist describes: 0 out of 100
  Number of future calls: 0 out of 10

23:39:01.783|CUMULATIVE_LIMIT_USAGE_END

23:39:01.104 (104521000)|CODE_UNIT_FINISHED|execute_anonymous_apex
23:39:01.104 (104529000)|EXECUTION_FINISHED

Hi

 

I want  to enable <apex:chart > tag in my developer account .any one please suggest me.

thanks

 

Hi,

 

I've created a dynamic table which allows you to add rows which contain custom fields. Once the save button is clicked all the rows are inserted at once.

 

I'm wanting to add a 'delete row' button on each row.

 

My problem is that I need to be able to pass the row index to the remove method in the apex code.

 

Does anyone have any examples of this?

 

Many thanks in advance

 

Ezmo

  • June 27, 2011
  • Like
  • 0