• ali991
  • NEWBIE
  • 0 Points
  • Member since 2008

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

I am trying to install the Entitlements package from the AppExchange.

 

http://sites.force.com/appexchange/listingDetail?listingId=a0N300000016ZMkEAM

 

I have tried in both my dev edition and my sandbox. Each time it tells me its installing and I will receive a mail when its completed. I then get a mail saying that the installation has failed.

 

Has anyone else encountered this?

 

Thanks

Hello,
 
I have a custom object, tecnical contact, that associates a contact with a contract. I have added a button onto a case
which calls an apex class which gets contact id from the case and pulls up a list of the contracts associated with
that contact via the technical contact object and displays them in a seperate page. The contracts are displayed in an apex:pageBlockTable.
 
I want to have a select button beside each of the contracts in the apex:pageBlockTable that when clicked will get the value of the Contract Ref No (a custom field) and pass this back to a method in the controller to allow me to add this value into a field on the case. I have tried to do this is using an apex param but have not been able to get this to work.
Can anyone help?
 
The apex page looks like this:

<apex:sectionHeader title="Supported Contracts" />

<apex:pageBlock id="thePageBlock">

<apex:pageBlockButtons location="top">

<apex:commandButton value="Back to Case" action="{!backToCase}"/>

</apex:pageBlockButtons>

<apex:pageBlockTable value="{!SupContract}" var="c">

<apex:column >

<apex:commandButton action="{!addSupportContract}" value="Select"/>

<apex:param assignTo="{!supportedConId}" value="{!c.Id}"/>

</apex:column>

<apex:column >

<apex:facet name="header">Contract_Ref_No</apex:facet>

<apex:commandLink rerender="detail">

{!c.Contract_Ref_No__c}

<apex:param name="conid" value="{!c.Id}"/>

</apex:commandLink>

</apex:column>

<apex:column >

<apex:facet name="header">Start Date</apex:facet>

<apex:outputField value="{!c.StartDate}"/>

</apex:column>

The section of the controller looks like this:

public void addSupportContract ()

{

selectedConID = System.currentPageReference().getParameters().get('supportedConId');

System.debug (' *****Contract ref from page ' + selectedConID);

c.Contract_Ref_No__c = selectedConId;

}

Thanks

  • September 08, 2008
  • Like
  • 0

I am trying to install the Entitlements package from the AppExchange.

 

http://sites.force.com/appexchange/listingDetail?listingId=a0N300000016ZMkEAM

 

I have tried in both my dev edition and my sandbox. Each time it tells me its installing and I will receive a mail when its completed. I then get a mail saying that the installation has failed.

 

Has anyone else encountered this?

 

Thanks