• Demint
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 9
    Replies

Hello

 

Does anyone know of any solution to allow mapping relationships between contacts and accounts in a visual format?

 

Specifically I want to be able to find a set of contacts and show a relationship map for them, with something like colour coding for Account groupings (contacts at the same account) and different line weights to show the strength / type of relationships / influence?

 

 I have looked on the Appexchange but can't find anything other than org charts.

 

If I have to develop this I think it will end up being a major task / high cost...  someone out there must have built this already hopefully - any ideas??

 

Thanks in advance

Demi

 

 

Hello,

 

I wonder if anyone knows a way to modify (add fields to) the search results page that you get when you search for Accounts to merge [via Accounts >> Merge Accounts (in Tools section) >> Find Accounts]?

 

Thanks in advance

 

Demi

Happy (nearly) New year!   Please can you help as am stumped on this one...

I am getting inconsistent behaviour between Eclipse and Salesforce when executing a web service callout.

I have hand coded the callout with a HTTP Request (rather than use WSDL2Apex).  The callout works perfectly in Eclispe execute anonymous but fails in the Salesforce app with error:

  Unsupported encoding: "utf-8"

It also works fine from a standalone SOAP generator like SOAP UI.  Could it be related to the user I am running it as in SF?  Or could it be the encoding genuinely is not supported (I think it is since I have consumed other web services with UTF-8 before from the same org)

I know that most orgs by default having encoding set to UTF-8 ( the documentation says: "If your organization logs into ssl.salesforce.com, then your encoding is ISO-8859-1. All other instances use UTF-8. " - I am logging on to a developer account which is not ssl.salesforce.com).

 However I do not know how to check this setting from within Salesforce (without writing some external Java or C++ and using describeGlobal()


Does anyone have any suggestions on how to get to the bottom of what this error is? Or how to check my org encoding setting from within Salesforce?

The web service is running on Glassfish if that helps at all (although I have limited knowledge / access to it).

Thanks in advance,

Demi

 

 

  • December 31, 2010
  • Like
  • 0

Hi,

 

I am stuck trying to integrate to an external web service using an Apex callout.

 

I have generated the classes using WSDL2Apex and am trapping the SOAP callout in Eclipse.  When I run it from Salesforce (via execute anonymous in Eclipse) it gives me this SOAP message (which returns an error along the line of 'Expression produces unexpected value: null.' from the web service provider):

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Header /> <env:Body> <m:dynamicQandA xmlns:m="http://qddynamicqandaservice/"> <arg0> <PolicyData policyExpiryDate="?" noClaimsDiscountStatus="?" lastRenewalDate="?" premiumPaidTodateStatus="?" levelOfCoverCode="?" nextRenewalDate="?" productCode="?" policyEffectiveDate="?" policyType="?" policyInceptionDate="?" terminationCode="?" reinsurerIndicator="?" /> <ManagementInformation executeFinish="?" lastRuleID="?" message="?" executeTime="?" executeStart="?" /> <Outcome nextQuestion="?" ruleState="?" outcomeMessage="?" rulesComplete="true" outcomeName="?" /> <Question> <QuestionName>Service Request Type</QuestionName> <AnswerDataType>String</AnswerDataType> <AnswerValue>Insurance Claim</AnswerValue> </Question> </arg0> </m:dynamicQandA> </env:Body> </env:Envelope>

 

HOWEVER when I run it from SOAP UI (a non-Salesforce tool that generates Webservice calls outs from WSDL) I get the following SOAP message (which works fine, no error msg):

 

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:qdd="http://qddynamicqandaservice/" xmlns:ccl="http://www.cdecisions.com/cclaimsrulesservice"> <soapenv:Header/> <soapenv:Body> <qdd:dynamicQandA> <!--Optional:--> <arg0> <ccl:PolicyData productCode="?" lastRenewalDate="?" levelOfCoverCode="?" nextRenewalDate="?" noClaimsDiscountStatus="?" policyEffectiveDate="?" policyExpiryDate="?" policyInceptionDate="?" policyType="?" premiumPaidTodateStatus="?" reinsurerIndicator="?" terminationCode="?"/> <ccl:ManagementInformation lastRuleID="?" executeTime="?" message="?" executeStart="?" executeFinish="?"/> <Outcome outcomeName="?" outcomeMessage="?" rulesComplete="?" ruleState="?" nextQuestion="?">?</Outcome> <!--Zero or more repetitions:--> <ccl:Question> <QuestionName>Service Request Type</QuestionName> <AnswerDataType>String</AnswerDataType> <AnswerValue>Insurance Claim</AnswerValue> </ccl:Question> </arg0> </qdd:dynamicQandA> </soapenv:Body> </soapenv:Envelope>

 

So it appears that Salesforce is not forming the SOAP message well - specifically it appears to be dropping the second namespace (= http://www.cdecisions.com/cclaimsrulesservice).

 

I have tried hacking the generated classes from WSDL2Apex without much luck (although to be honest it has been mainly trial and error!).

  

My issue seems very similar to that discribed here: http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=4679

 

However the answer to that one was that it is a SF bug that is now allegedly fixed??....  So I am at a loss!

 

Can anyone help?  Any advice on how I might fix (is it possible to fix by tweaking the generated WSDL2Apex Classes?)

 

Thanks in advance,

 

Demi 

Message Edited by Demint on 12-16-2009 02:13 AM
  • December 15, 2009
  • Like
  • 0

Hi,

 

I am looking at design options to develop an integration to an external webservice.

 

The webservice will take a couple of fields off of a parent object (say account) and then a couple of fields from the set of child objects (say contact).

 

So for arguments sake lets say it takes the account name and site and then an array of contact name and postcodes.

 

It would be triggered by a button on the child object (so would send details about its parents and siblings if that makes sense!) .

 

1.  What is the best method to achieve this callout?  (outbound message vs apex callout vs ...?) - I think Apex is the only option?

2.  I have built similar webservice callouts using Apex before but they've always been very simple (send in one or 2 parameters) - How would one go about passing in the array of child objects to the web service? (I have no control over the external end so can't just pass a query string for it to retrieve the records)

 

Any thoughts much appreciated,

 

Demi

 

 

 

 

  • December 03, 2009
  • Like
  • 0

Hi,

 

I am struggling with what I guess should be simple - please help!

 

I want to add the colored bar (with the icon on it) to a VF page, and ideally inherit the color and icon from another tab.  Easy??

 

In the simplest form here is what I am doing - but whatever I try I can't get the bar with icon to appear (the colors are inherited but the bar is not there).

 

Am I missing something?  Is there an <apex> tag to use etc?

 

<apex:page standardController="Contact" showheader="true" tabStyle="Opportunity" > <!-- Begin Default Content REMOVE THIS --> <h1>Congratulations</h1> This is your new Page: tabstyle_test <!-- End Default Content REMOVE THIS --> </apex:page>

 

 

Thanks

Demi

  • November 13, 2009
  • Like
  • 0

Hi

 

I am fairly new to Force.com development and have hit an issue trying to build some relationships on a custom object.

 

I have an 'Assessment' custom object with a custom lookup field to a 'Claim' custom object.  I want to build a further custom lookup field on Assessment: 'Claim Contact' that looks up from another custom object, but this object is the detail in a master-detail relationship with the Claim object. 

 

I want to know how to constrain the 'Claim Contact' lookup so that it only shows values that are related to the Claim that has already been looked up on to the Assessment.

 

i.e. if the Assessment is linked to Claim A, which has child Contacts Jack and Jill, then these should be the only contacts I am able to pick using the 'Claim Contact' lookup on the Assessment.  If the assessment is not linked to any Claim then I need the lookup to return no results.

 

Is there a configuration solution to this or if not does anyone know what the best approach is to do this?

 

Many thanks in advance!

  • April 15, 2009
  • Like
  • 0

Hello,

 

I wonder if anyone knows a way to modify (add fields to) the search results page that you get when you search for Accounts to merge [via Accounts >> Merge Accounts (in Tools section) >> Find Accounts]?

 

Thanks in advance

 

Demi

Hi,

 

I am stuck trying to integrate to an external web service using an Apex callout.

 

I have generated the classes using WSDL2Apex and am trapping the SOAP callout in Eclipse.  When I run it from Salesforce (via execute anonymous in Eclipse) it gives me this SOAP message (which returns an error along the line of 'Expression produces unexpected value: null.' from the web service provider):

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Header /> <env:Body> <m:dynamicQandA xmlns:m="http://qddynamicqandaservice/"> <arg0> <PolicyData policyExpiryDate="?" noClaimsDiscountStatus="?" lastRenewalDate="?" premiumPaidTodateStatus="?" levelOfCoverCode="?" nextRenewalDate="?" productCode="?" policyEffectiveDate="?" policyType="?" policyInceptionDate="?" terminationCode="?" reinsurerIndicator="?" /> <ManagementInformation executeFinish="?" lastRuleID="?" message="?" executeTime="?" executeStart="?" /> <Outcome nextQuestion="?" ruleState="?" outcomeMessage="?" rulesComplete="true" outcomeName="?" /> <Question> <QuestionName>Service Request Type</QuestionName> <AnswerDataType>String</AnswerDataType> <AnswerValue>Insurance Claim</AnswerValue> </Question> </arg0> </m:dynamicQandA> </env:Body> </env:Envelope>

 

HOWEVER when I run it from SOAP UI (a non-Salesforce tool that generates Webservice calls outs from WSDL) I get the following SOAP message (which works fine, no error msg):

 

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:qdd="http://qddynamicqandaservice/" xmlns:ccl="http://www.cdecisions.com/cclaimsrulesservice"> <soapenv:Header/> <soapenv:Body> <qdd:dynamicQandA> <!--Optional:--> <arg0> <ccl:PolicyData productCode="?" lastRenewalDate="?" levelOfCoverCode="?" nextRenewalDate="?" noClaimsDiscountStatus="?" policyEffectiveDate="?" policyExpiryDate="?" policyInceptionDate="?" policyType="?" premiumPaidTodateStatus="?" reinsurerIndicator="?" terminationCode="?"/> <ccl:ManagementInformation lastRuleID="?" executeTime="?" message="?" executeStart="?" executeFinish="?"/> <Outcome outcomeName="?" outcomeMessage="?" rulesComplete="?" ruleState="?" nextQuestion="?">?</Outcome> <!--Zero or more repetitions:--> <ccl:Question> <QuestionName>Service Request Type</QuestionName> <AnswerDataType>String</AnswerDataType> <AnswerValue>Insurance Claim</AnswerValue> </ccl:Question> </arg0> </qdd:dynamicQandA> </soapenv:Body> </soapenv:Envelope>

 

So it appears that Salesforce is not forming the SOAP message well - specifically it appears to be dropping the second namespace (= http://www.cdecisions.com/cclaimsrulesservice).

 

I have tried hacking the generated classes from WSDL2Apex without much luck (although to be honest it has been mainly trial and error!).

  

My issue seems very similar to that discribed here: http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=4679

 

However the answer to that one was that it is a SF bug that is now allegedly fixed??....  So I am at a loss!

 

Can anyone help?  Any advice on how I might fix (is it possible to fix by tweaking the generated WSDL2Apex Classes?)

 

Thanks in advance,

 

Demi 

Message Edited by Demint on 12-16-2009 02:13 AM
  • December 15, 2009
  • Like
  • 0

Hi,

 

I am looking at design options to develop an integration to an external webservice.

 

The webservice will take a couple of fields off of a parent object (say account) and then a couple of fields from the set of child objects (say contact).

 

So for arguments sake lets say it takes the account name and site and then an array of contact name and postcodes.

 

It would be triggered by a button on the child object (so would send details about its parents and siblings if that makes sense!) .

 

1.  What is the best method to achieve this callout?  (outbound message vs apex callout vs ...?) - I think Apex is the only option?

2.  I have built similar webservice callouts using Apex before but they've always been very simple (send in one or 2 parameters) - How would one go about passing in the array of child objects to the web service? (I have no control over the external end so can't just pass a query string for it to retrieve the records)

 

Any thoughts much appreciated,

 

Demi

 

 

 

 

  • December 03, 2009
  • Like
  • 0

Hi,

 

I am struggling with what I guess should be simple - please help!

 

I want to add the colored bar (with the icon on it) to a VF page, and ideally inherit the color and icon from another tab.  Easy??

 

In the simplest form here is what I am doing - but whatever I try I can't get the bar with icon to appear (the colors are inherited but the bar is not there).

 

Am I missing something?  Is there an <apex> tag to use etc?

 

<apex:page standardController="Contact" showheader="true" tabStyle="Opportunity" > <!-- Begin Default Content REMOVE THIS --> <h1>Congratulations</h1> This is your new Page: tabstyle_test <!-- End Default Content REMOVE THIS --> </apex:page>

 

 

Thanks

Demi

  • November 13, 2009
  • Like
  • 0

Hi

 

I am fairly new to Force.com development and have hit an issue trying to build some relationships on a custom object.

 

I have an 'Assessment' custom object with a custom lookup field to a 'Claim' custom object.  I want to build a further custom lookup field on Assessment: 'Claim Contact' that looks up from another custom object, but this object is the detail in a master-detail relationship with the Claim object. 

 

I want to know how to constrain the 'Claim Contact' lookup so that it only shows values that are related to the Claim that has already been looked up on to the Assessment.

 

i.e. if the Assessment is linked to Claim A, which has child Contacts Jack and Jill, then these should be the only contacts I am able to pick using the 'Claim Contact' lookup on the Assessment.  If the assessment is not linked to any Claim then I need the lookup to return no results.

 

Is there a configuration solution to this or if not does anyone know what the best approach is to do this?

 

Many thanks in advance!

  • April 15, 2009
  • Like
  • 0
Hello,

I have a very tricky problem with a web service call I'm doing to an external server.  When I generate the WSDL and do a callout, I get this SOAP request that I trap in the System Log with the debug level set to "Callout":

Code:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <env:Header />
 <env:Body>
  <doUserPointTransactions xmlns="http://webservice.razorpoints.ilr.com">
   <adminUsername>my.name@domain.com</adminUsername>
   <adminPassword>mypassword</adminPassword>
   <wsPointUploads>
    <WsPointUpload>
     <amount>111</amount>
     <description>aaaaaaaaaaaaa</description>
     <programAccountPK>1</programAccountPK>
     <userPK>bbb</userPK>
    </WsPointUpload>
   </wsPointUploads>
  </doUserPointTransactions>
 </env:Body>
</env:Envelope>

However, this returns a SoapFault because the receiving side says that WsPointUpload is empty, which it clearly is not.  When I generate the same web service call in Eclipse with the same WSDL, I get this:

Code:
<soapenv:Envelope xmlns:q0="http://webservice.razorpoints.ilr.com" 
 xmlns:q1="http://webservice.model.razorpoints.ilr.com"
 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></soapenv:Header>
 <soapenv:Body>
  <q0:doUserPointTransactions>
   <q0:adminUsername>my.name@domain.com</q0:adminUsername>
   <q0:adminPassword>mypassword</q0:adminPassword>
   <q0:wsPointUploads>
    <q1:WsPointUpload>
     <q1:amount>111</q1:amount>
     <q1:description>aaaaaaaaaaaaa</q1:description>
     <q1:programAccountPK>1</q1:programAccountPK>
     <q1:userPK>bbb</q1:userPK>
    </q1:WsPointUpload>
   </q0:wsPointUploads>
  </q0:doUserPointTransactions>
 </soapenv:Body>
</soapenv:Envelope>

Note that in this request, there are two namespaces, http://webservice.razorpoints.ilr.com and http://webservice.model.razorpoints.ilr.com.  In the first WS call (the one generated by Salesforce) there is only one namespace, http://webservice.razorpoints.ilr.com, and the WsPointUpload element is not part of this namespace.

If I make a SOAP request in Eclipse using the Salesforce request (the first one above) and manually add 'xmlns="http://webservice.model.razorpoints.ilr.com"' to the <WsPointUpload> element, the web service call works.  Is there any way I can force this second namespace to appear in Salesforce or is this just a Saleforce bug?


Message Edited by ckemp on 05-16-2008 10:14 AM
  • May 16, 2008
  • Like
  • 0