• Rachna
  • NEWBIE
  • 0 Points
  • Member since 2009

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

Hi,


 I have a requirement to display count of list views of tasks in a VF page. Through API is it possible to get the count of list views?


 Thanks in advance
Rachna

 

 

  • December 30, 2010
  • Like
  • 0

Hi,

 

I need to make a field read only and show its value in the clone page. Client is asking to go for s-control.

 

I have created an s-control and overridden the clone button.

 

This is my code:-

 

<script type="text/javascript" src="/soap/ajax/15.0/connection.js" > </script>
<script type="text/javascript" src="/js/functions.js"></script>

<script type="text/javascript">
function LoadingA()
{

var f= parent.document.createElement('form');
f.method='post';
f.target='_top';
var ch=parent.document.createElement('input');
ch.id='00NT00000017dAZ';
ch.name='00NT00000017dAZ';
ch.type='hidden';
ch.value='Cap Mkts';
f.appendChild(ch);
parent.document.body.appendChild(f);
f.submit();

}
</script>
<html>
<body id="thisBody" onload=LoadingA();>
<body>
</html>

 

On click of Clone button. The page is opened with the field value as "Cap Mkts". But its not read only.

 

Please suggest me a solution.

 

Thanks

Rachana

  • December 02, 2009
  • Like
  • 0

Hi,

 

 

From this forum i got to know that its possible to run apex dataloader from a unix machine. Can any one provide suggestions on how can it be installed and run on a unix box?

 

 

Thanks

Rachana

Is it possible to run apex datalader from unix platfom?

 

I have a requirement to schedule a dataloader batch job in a unix platform. How can it be done? 

 

Any solutions will be appreciated.

 

 

Hi All,

I am trying to deploy a package from Sandbox to Production. In Production already some Apex classes(Say LoanTriggerTester,SavingsTriggerTester) are existing.

I am getting the following errors when I am trying to deploy it..

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11">

C:\salesforce_ant\sample\build.xml:53: Failures:

Test failure, method: LoanTriggerTester.testLoanTransaction_BeforeInsert_AllInte

restPayment -- System.Exception: Assertion Failed: Expected: -8, Actual: null st

ack Class.LoanTriggerTester.testLoanTransaction_BeforeInsert_AllInterestPayment:

 line 134, column 9


<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11">

Test failure, method: SavingsTriggerTester.Contact_CascadeAccountToSavings -- Sy

stem.Exception: Assertion Failed: Expected: 0013000000NAPVeAAP, Actual: null sta

ck Class.SavingsTriggerTester.Contact_CascadeAccountToSavings: line 26, column 9


When I tried to deploy this package in my developer instance. It got deployed without any errors.


The Classes existing in Production is not required now.Even I tried to delete it through ANT Tool (Salesforce Migration tool)itself.

Then also its showing the same errors.



  • January 02, 2009
  • Like
  • 0
Hi All,

I am trying to deploy a package from Sandbox to Production. In Production already some Apex classes(Say LoanTriggerTester,SavingsTriggerTester) are existing.

I am getting the following errors when I am trying to deploy it..

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11">

C:\salesforce_ant\sample\build.xml:53: Failures:

Test failure, method: LoanTriggerTester.testLoanTransaction_BeforeInsert_AllInte

restPayment -- System.Exception: Assertion Failed: Expected: -8, Actual: null st

ack Class.LoanTriggerTester.testLoanTransaction_BeforeInsert_AllInterestPayment:

 line 134, column 9


<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11">

Test failure, method: SavingsTriggerTester.Contact_CascadeAccountToSavings -- Sy

stem.Exception: Assertion Failed: Expected: 0013000000NAPVeAAP, Actual: null sta

ck Class.SavingsTriggerTester.Contact_CascadeAccountToSavings: line 26, column 9


When I tried to deploy this package in my developer instance. It got deployed without any errors.


The Classes existing in Production is not required now.Even I tried to delete it through ANT Tool (Salesforce Migration tool)itself.

Then also its showing the same errors.



  • January 02, 2009
  • Like
  • 0
Hi,
I am trying to migrate a set of Scontrols and some custom fields from Qa/Dev/Sandbox to Production using  salesforce Ant(Migration Tool).
I am able to retrieve the content from QA Environment successfully.But I am not able to deploy it to Production.
Deployment to Dev and Sandbox from QA is happening perfectly.
I am facing following run time error while I try the same steps for Production:

C:\salesforce_ant\sample>ant deployUnpackaged
Buildfile: build.xml

deployUnpackaged:

BUILD FAILED
C:\salesforce_ant\sample\build.xml:25: Failures:
Test failure, method: testClass.test -- System.DmlException: Update failed. Firs t exception on row 0 with id a0R400000005mpPEAQ; first error: ENTITY_IS_DELETED,  entity is deleted stack Class.testClass.test: line 6, column 1

Code coverage issue, class: tocAgreementAfterUpdate -- Test coverage of selected  Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue, class: tocOportunityAfterUpdate -- Test coverage of selecte d Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue, class: trmAccountBeforeUpdate -- Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue -- Average test coverage across all Apex Classes and Trigger s is 0%, at least 75% test coverage is required







Message Edited by GauravGathania on 08-23-2008 12:51 AM