• Gaurav Patil
  • NEWBIE
  • 0 Points
  • Member since 2015

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

I have created canvas app which will make signed request to third party app. Along with this I am adding parameters to <apex:canvasApp parameters="here" > tag

I want to debug this request and parameters. Any thoughts ?

Hello i was trying to display info from my Wrapper Class to VF Page but i am not able to find where i was doing wrong .. could someone please help me out with this.

here are my controller and VF page codes.

VF Page
<apex:page controller="Aclist3">
  
  <apex:form >
      <apex:pageBlock >
          <apex:pageblockTable value="{!Mytablerow}" var="t">
                <apex:column value="{!t.theAccount.Name}"/>
                <apex:column value="{!t.theContact.Name}"/>
          </apex:pageblockTable>
              
      </apex:pageBlock>
              
   </apex:form>
</apex:page>

CONTROLLER



public class Aclist3 {

    public aTableRow getMytablerow() {
        return null;
    }

    Public List<aTableRow> tableRows {get; set;}
    public Aclist3()
        {
        
       List<aTableRow> tableRows = new List<aTableRow>();
       
       Account a = [SELECT Name FROM Account LIMIT 1];
       Contact c = [SELECT Name FROM Contact LIMIT 1];
       
       aTableRow Mytablerow = new aTableRow();
       
       MyTablerow.theAccount = a;
       MyTablerow.theContact = c;
             system.debug('temp******'+myTablerow.theAccount.Name);
        }

Public Class aTableRow
    {
        Public Account theAccount {get; set;}
        Public Contact theContact {get; set;}
        
        
    }
    
    
}
I want to write a trigger in account object . when a new record is created with same name then it will automatically send mail to account owner that duplicate record is created .
 
Hi All,
how can i cover http resonce in code coverage am facing this Error while running the Test class "Methods defined as TestMethod do not support Web service callouts"
               Http htp = new Http();
                HttpRequest req = new HttpRequest();
                req.setEndpoint(ENDPOINT);
                req.setMethod('GET'); 
                HttpResponse res = new HttpResponse();
                res = htp.send(req);

Thanks.
  • January 03, 2017
  • Like
  • 0

I have created canvas app which will make signed request to third party app. Along with this I am adding parameters to <apex:canvasApp parameters="here" > tag

I want to debug this request and parameters. Any thoughts ?