• Frederic_D
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 7
    Replies
Hello all!
I created a S-Control and i would like to insert it in the Opportunity Edit page.  I've looked in the page layout.  I did edit the properties of the custom section that i created for this SControl, and i checked the box that says: "Show Section Heading on Edit Page".  It does not display the section at all....
Is this a bug and am I not using this correctly?
Thank you for your replies!
Frederic
Hello all:
I created a custom sControl and placed it in the opportunity section.  This SControl populates all the Opportunity's Account contacts in a drop-down list.  Anyways, it's simple and not a lot of HTML to display.
When i add that SControl to the page layout, it adds a lot of white space below the actual SControl and it does not look good at all!
Any thoughts on how i can get rid of that white space?
Thanks for your replies!
Frederic
Hello all:
I'm running into a problem when using the Login web service call to SFDC:
I'm using Axis 1.2 and I can confirm that all the Axis classes are there on the server....
 
java.lang.NoSuchMethodError
at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:136)
at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:103)
at org.apache.axis.client.Service.<init>(Service.java:112)
at com.sforce.soap.partner.SforceServiceLocator.<init>(SforceServiceLocator.java:16)
at com.itl_sfdc.wrapper.Client.Login(Client.java:166)
at com.itl_sfdc.apps.SFDCDataExport.runProgram(SFDCDataExport.java:98)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
 
Any pointers on how to solve that problem?...
Thanks!
Fred
I copied the syntax below from the API samples and made a little change to read an existing field , which it did , but when reading a custom field id failed.
 
Please help.
 
========================
<html>
  <head>
  <script src="/soap/ajax/9.0/connection.js"  type="text/javascript"></script>
  <script>
    function setupPage() {
      //function contains all code to execute after page is rendered
      var state = { //state that you need when the callback is called
          output : document.getElementById("output"),
          startTime : new Date().getTime()};
      var callback = {
          //call layoutResult if the request is successful
          onSuccess: layoutResults,
          //call queryFailed if the api request fails
          onFailure: queryFailed,
          source: state};
      sforce.connection.query(
          "Select   ContractNumber, pricing_contract_number__c  From Contract order by ContractNumber limit 30",
           callback);
  }
  function queryFailed(error, source) {
    source.output.innerHTML = "An error has occurred: " + error;
  }
  /**
  * This method will be called when the toolkit receives a successful
  * response from the server.
  * @queryResult - result that server returned
  * @source - state passed into the query method call.
  */
  function layoutResults(queryResult, source) {
    if (queryResult.size > 0) {
      var output = "";
      //get the records array
      var records = queryResult.getArray('records');
      //loop through the records and construct html string
      for (var i = 0; i < records.length; i++) {
        var account = records[i];
        output +=  account.ContractNumber+ "    " +   account.pricing_contract_number__c " <br>";
      }
    //render the generated html string
    source.output.innerHTML = output;
    }
  }
  </script>
  </head>
  <body onload="setupPage()">
    <div id="output"> </div>
  </body>
</html>
Hello all!
I created a S-Control and i would like to insert it in the Opportunity Edit page.  I've looked in the page layout.  I did edit the properties of the custom section that i created for this SControl, and i checked the box that says: "Show Section Heading on Edit Page".  It does not display the section at all....
Is this a bug and am I not using this correctly?
Thank you for your replies!
Frederic
Hello all:
I created a custom sControl and placed it in the opportunity section.  This SControl populates all the Opportunity's Account contacts in a drop-down list.  Anyways, it's simple and not a lot of HTML to display.
When i add that SControl to the page layout, it adds a lot of white space below the actual SControl and it does not look good at all!
Any thoughts on how i can get rid of that white space?
Thanks for your replies!
Frederic
Hello all:
I'm running into a problem when using the Login web service call to SFDC:
I'm using Axis 1.2 and I can confirm that all the Axis classes are there on the server....
 
java.lang.NoSuchMethodError
at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:136)
at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
at org.apache.axis.client.Service.getAxisClient(Service.java:103)
at org.apache.axis.client.Service.<init>(Service.java:112)
at com.sforce.soap.partner.SforceServiceLocator.<init>(SforceServiceLocator.java:16)
at com.itl_sfdc.wrapper.Client.Login(Client.java:166)
at com.itl_sfdc.apps.SFDCDataExport.runProgram(SFDCDataExport.java:98)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
 
Any pointers on how to solve that problem?...
Thanks!
Fred