• scoop
  • NEWBIE
  • 0 Points
  • Member since 2003

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

Hi,

As there is no access to reports via the api now is there a way to simulate the "last activity" checkbox on the "accounts general" section of accounts reporting via the api?

Thanks.

  

 

  • October 12, 2004
  • Like
  • 0

Hi,

I am trying to undo a hierarchy that has been built up on an account.  I tried to replace the parent account id with blank value, but received an error stating "object reference not set to an instance of an object".  Is there a way to undo a hierarchy via the api?

Thanks.

 

  • October 08, 2004
  • Like
  • 0

Are saved views and reports accessible through the api?

If not are there any plans for this in the future?

Thanks.

  • September 02, 2004
  • Like
  • 0

Hi,

We are having inconsistent problems with doing queries against fields that are not in a page layout.  Sometimes it works fine, other times an error occurs.  Do fields have do be in a page layout to be accessed through the api?  What is the relationship?

Thanks. 

  • July 29, 2004
  • Like
  • 0

Hi,

I was curious as to where the correct place to report a bug or odd behavior?  When we call our app from a WIL it used to fit the screen perfectly without scroll bars or clipping.  Now it is clipping the screen halfway up and also putting scroll bars on.  The result of this is that some navigation buttons at the bottom of the screen that used to be visible aren't any longer making it very confusing for the users and ulgy from an aesthetic standpoint.

Where is the official place to log a request to have this corrected?

Thanks.

  • April 13, 2004
  • Like
  • 1

Hi,

I have a query that I'm running against several different instances that includes some SFDC required fields like rating and sic code.  Even though these are required fields in SFDC if they are not in the account layout, the query seems to fail.  Is the account layout what determines if I can query against account fields?

Is there a way to have a field that does not show up to users but I can use to drive logic for my app? (If it is in some other obscure layout visible only to the sys admin would the query work then?)

Thanks,

Greg

  • April 08, 2004
  • Like
  • 0

Hi,

I have part of may application that is till using the old api's.  When I call it from an web intergation link in SFDC I was getting what appeared to be geographic responses for the API partner url so I could map those  to v2.0 endpoints.  Now I am getting responses like https://ssl.salesforce.com/services/Soap/u/2.5 which I can't seem to map to a url for the older api.  Is there a way to do this or do I need to upgrade my app?

I prefer the query capability of the 2.5 api but MUCH prefer the XML that is returned from the older api.

Thanks.

  • March 10, 2004
  • Like
  • 0

Hi,

I'm getting return values from a query about users but am getting some unexected results, namely every element is preceded by "nsX:"  is there a way to just get

<records>
    <username>
    <etc>
</records>

for each returned record as opposed to having the "nsX" added?

I'm sending:

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance">
 <soapenv:Header>
  <ns1:SessionHeader soapenv:mustUnderstand="0" xmlns:ns1="SoapService">
   <ns2:sessionId xmlns:ns2="urn:enterprise.soap.sforce.com">[omit]</ns2:sessionId>
  </ns1:SessionHeader>
  <ns3:QueryOptions soapenv:mustUnderstand="0" xmlns:ns3="SoapService">
   <ns4:batchSize xmlns:ns4="urn:enterprise.soap.sforce.com">100</ns4:batchSize>
  </ns3:QueryOptions>
 </soapenv:Header>
 <soapenv:Body>
  <query xmlns="urn:enterprise.soap.sforce.com">
   <queryString>select username, firstName, lastName, id from User</queryString>
  </query>
 </soapenv:Body>
</soapenv:Envelope>

and receiving

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <queryResponse xmlns="urn:enterprise.soap.sforce.com">
   <result>
    <done>true</done>
    <queryLocator xsi:nil="true"/>
    <records>
     <ns1:type xmlns:ns1="urn:sobject.partner.soap.sforce.com">User</ns1:type>
     <ns2:Username xmlns:ns2="urn:sobject.partner.soap.sforce.com">greg@insidescoop.com</ns2:Username>
     <ns3:FirstName xmlns:ns3="urn:sobject.partner.soap.sforce.com">Greg</ns3:FirstName>
     <ns4:LastName xmlns:ns4="urn:sobject.partner.soap.sforce.com">Campbell</ns4:LastName>
     <ns5:Id xmlns:ns5="urn:sobject.partner.soap.sforce.com">00530000000byXhAAI</ns5:Id>
    </records>
    <records>
     <ns6:type xmlns:ns6="urn:sobject.partner.soap.sforce.com">User</ns6:type>
     <ns7:Username xmlns:ns7="urn:sobject.partner.soap.sforce.com">cbadger@insidescoop.com</ns7:Username>
     <ns8:FirstName xmlns:ns8="urn:sobject.partner.soap.sforce.com">Chris</ns8:FirstName>
     <ns9:LastName xmlns:ns9="urn:sobject.partner.soap.sforce.com">Badger</ns9:LastName>
     <ns10:Id xmlns:ns10="urn:sobject.partner.soap.sforce.com">00530000000bzOAAAY</ns10:Id>
    </records>
    <size>2</size>
   </result>
  </queryResponse>
 </soapenv:Body>
</soapenv:Envelope>

I'm using the partner wsdl

Thanks.


 

 

  • February 04, 2004
  • Like
  • 0

Is there any way to pass parameters from the useful links on the home page as you can do from the links on the account detail page or other detail pages?

Alternately, is there a way to put a web integration link on the account page (not account detail)?

Thanks.

  • December 23, 2003
  • Like
  • 0

Hi,

I'm trying to send a query with the following SOAP message and keep getting an error.  Can you tell me what I'm doing wrong?

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance">
 <soapenv:Header>
  <ns1:SessionHeader soapenv:mustUnderstand="0" xmlns:ns1="SoapService">
   <ns2:sessionId xmlns:ns2="urn:enterprise.soap.sforce.com">L6Jh_qm105waKfoxUQDONdL1cntm5STnSQemqyEG0hCjYlL4lX11Cipr2mWX2W8XVY0tP.6F.7fW24vkGD9t1PbtzKggVlhL</ns2:sessionId>
  </ns1:SessionHeader>
  <ns3:QueryOptions soapenv:mustUnderstand="0" xmlns:ns3="SoapService">
   <ns4:batchSize xmlns:ns4="urn:enterprise.soap.sforce.com">10</ns4:batchSize>
  </ns3:QueryOptions>
 </soapenv:Header>
 <soapenv:Body>
  <query xmlns="urn:enterprise.soap.sforce.com">
   <queryString>select Name from Account where Name = "BEA SYSTEMS, INC."</queryString>
  </query>
 </soapenv:Body>
</soapenv:Envelope>

Thanks.

 

 

  • December 10, 2003
  • Like
  • 0

Hello,

I'm trying to do a query and filter on the ownerID.  I grab the ownerID from the login response and send it in the query below.  Instead of getting only the recordds for the owner I get all of the records.

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="salesforce" xmlns:types="salesforce/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <SOAP-ENV:Header>
  <tns:headerStruct id="id1">
   <session_id xsi:type="xsd:string">Y2yEm260JcBXwX.6IxHVST03gigYRpU2jpM7zsrJOEV4dh2tbEampE.tzWjidzk0qxfkZmVvHYFWA2ID7R7JFPbtzKggVlhL</session_id>
   <version xsi:type="xsd:string">2.0</version>
  </tns:headerStruct>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <q1:query xmlns:q1="sfconnector:SalesforceConnector">
   <scope xsi:type="xsd:string">filter</scope>
   <type xsi:type="xsd:string">account</type>
   <maxRows xsi:type="xsd:int">100</maxRows>
   <select href="#id1"/>
  </q1:query>
  <SOAP-ENC:Array id="id1" SOAP-ENC:arrayType="xsd:string[6]">
   <Item>name</Item>
   <Item>billingCity</Item>
   <Item>accountPhone</Item>
   <Item>ticker</Item>
   <Item>id</Item>
   <Item>ownerID</Item>
  </SOAP-ENC:Array>
  <SOAP-ENC:Array id="id2" SOAP-ENC:arrayType="xsd:anyType[1]">
   <Item href="#id3"/>
  </SOAP-ENC:Array>
  <SOAP-ENC:Array id="id3" SOAP-ENC:arrayType="tns:mapEntry[3]">
   <Item href="#id4"/>
   <Item href="#id5"/>
   <Item href="#id6"/>
  </SOAP-ENC:Array>
  <tns:mapEntry id="id4" xsi:type="tns:mapEntry">
   <key xsi:type="xsd:string">field</key>
   <value xsi:type="xsd:string">ownerID</value>
  </tns:mapEntry>
  <tns:mapEntry id="id5" xsi:type="tns:mapEntry">
   <key xsi:type="xsd:string">value</key>
   <value xsi:type="xsd:string">00530000000bzOA</value>
  </tns:mapEntry>
  <tns:mapEntry id="id6" xsi:type="tns:mapEntry">
   <key xsi:type="xsd:string">operator</key>
   <value xsi:type="xsd:string">equals</value>
  </tns:mapEntry>
  <useCaseSafeIDs xsi:type="xsd:boolean">1</useCaseSafeIDs>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks,

Greg 

  • September 16, 2003
  • Like
  • 0

Hi,

I was curious as to where the correct place to report a bug or odd behavior?  When we call our app from a WIL it used to fit the screen perfectly without scroll bars or clipping.  Now it is clipping the screen halfway up and also putting scroll bars on.  The result of this is that some navigation buttons at the bottom of the screen that used to be visible aren't any longer making it very confusing for the users and ulgy from an aesthetic standpoint.

Where is the official place to log a request to have this corrected?

Thanks.

  • April 13, 2004
  • Like
  • 1

Hi,

We are having inconsistent problems with doing queries against fields that are not in a page layout.  Sometimes it works fine, other times an error occurs.  Do fields have do be in a page layout to be accessed through the api?  What is the relationship?

Thanks. 

  • July 29, 2004
  • Like
  • 0
Is there a way to call an external web service from sforce.com? I want to add a custom tab to sales.com. Every time the users click on this tab, I want to fetch data by calling an external web service (that we already have) and display the data.

If this is not supported, what is the preferred way of fetching data from an external datasource? The documentation talks extensively about getting data out of salesforce.com. I could not find much information on making outbound calls from salesforce.com. WILs seem to require creation of web pages outside of salesforce.com.

TIA.

Hi,

I'm trying to send a query with the following SOAP message and keep getting an error.  Can you tell me what I'm doing wrong?

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance">
 <soapenv:Header>
  <ns1:SessionHeader soapenv:mustUnderstand="0" xmlns:ns1="SoapService">
   <ns2:sessionId xmlns:ns2="urn:enterprise.soap.sforce.com">L6Jh_qm105waKfoxUQDONdL1cntm5STnSQemqyEG0hCjYlL4lX11Cipr2mWX2W8XVY0tP.6F.7fW24vkGD9t1PbtzKggVlhL</ns2:sessionId>
  </ns1:SessionHeader>
  <ns3:QueryOptions soapenv:mustUnderstand="0" xmlns:ns3="SoapService">
   <ns4:batchSize xmlns:ns4="urn:enterprise.soap.sforce.com">10</ns4:batchSize>
  </ns3:QueryOptions>
 </soapenv:Header>
 <soapenv:Body>
  <query xmlns="urn:enterprise.soap.sforce.com">
   <queryString>select Name from Account where Name = "BEA SYSTEMS, INC."</queryString>
  </query>
 </soapenv:Body>
</soapenv:Envelope>

Thanks.

 

 

  • December 10, 2003
  • Like
  • 0

Hello,

I'm trying to do a query and filter on the ownerID.  I grab the ownerID from the login response and send it in the query below.  Instead of getting only the recordds for the owner I get all of the records.

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="salesforce" xmlns:types="salesforce/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <SOAP-ENV:Header>
  <tns:headerStruct id="id1">
   <session_id xsi:type="xsd:string">Y2yEm260JcBXwX.6IxHVST03gigYRpU2jpM7zsrJOEV4dh2tbEampE.tzWjidzk0qxfkZmVvHYFWA2ID7R7JFPbtzKggVlhL</session_id>
   <version xsi:type="xsd:string">2.0</version>
  </tns:headerStruct>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <q1:query xmlns:q1="sfconnector:SalesforceConnector">
   <scope xsi:type="xsd:string">filter</scope>
   <type xsi:type="xsd:string">account</type>
   <maxRows xsi:type="xsd:int">100</maxRows>
   <select href="#id1"/>
  </q1:query>
  <SOAP-ENC:Array id="id1" SOAP-ENC:arrayType="xsd:string[6]">
   <Item>name</Item>
   <Item>billingCity</Item>
   <Item>accountPhone</Item>
   <Item>ticker</Item>
   <Item>id</Item>
   <Item>ownerID</Item>
  </SOAP-ENC:Array>
  <SOAP-ENC:Array id="id2" SOAP-ENC:arrayType="xsd:anyType[1]">
   <Item href="#id3"/>
  </SOAP-ENC:Array>
  <SOAP-ENC:Array id="id3" SOAP-ENC:arrayType="tns:mapEntry[3]">
   <Item href="#id4"/>
   <Item href="#id5"/>
   <Item href="#id6"/>
  </SOAP-ENC:Array>
  <tns:mapEntry id="id4" xsi:type="tns:mapEntry">
   <key xsi:type="xsd:string">field</key>
   <value xsi:type="xsd:string">ownerID</value>
  </tns:mapEntry>
  <tns:mapEntry id="id5" xsi:type="tns:mapEntry">
   <key xsi:type="xsd:string">value</key>
   <value xsi:type="xsd:string">00530000000bzOA</value>
  </tns:mapEntry>
  <tns:mapEntry id="id6" xsi:type="tns:mapEntry">
   <key xsi:type="xsd:string">operator</key>
   <value xsi:type="xsd:string">equals</value>
  </tns:mapEntry>
  <useCaseSafeIDs xsi:type="xsd:boolean">1</useCaseSafeIDs>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks,

Greg 

  • September 16, 2003
  • Like
  • 0