• gustavo.lei
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi there,

I'm trying to make docusign and salesforce integration. Currently, I am able to send documents following this reference: https://www.greytrix.com/blogs/salesforce/2018/05/23/docusign-integration-with-salesforce-using-docusign-apis-part-1/. Now, I want to attach completed (assigned) documents to my Salesforce object, using a postback response from Docusign. I followed this https://support.docusign.com/articles/DocuSign-for-Salesforce-Adding-Completed-Documents-to-the-Notes-and-Attachments-New from their support.

I'm using a salesforce sandbox enviroment and a docusign demo account for systems integretation. This is my Docusign Connect object:

Connector obj

Also, my triggers events are correctly set (as I can see), because when I take a look into my API logs, looks like my connect object is being successfully called, as bellow:

User-added image

And this is my docusign Salesforce account configuration:

User-added image
If any other information is required for a possible solution, just let me know I'll post it.

Thank you in advance.
Hi there,

I'm trying to make docusign and salesforce integration. Currently, I am able to send documents following this reference: https://www.greytrix.com/blogs/salesforce/2018/05/23/docusign-integration-with-salesforce-using-docusign-apis-part-1/. Now, I want to attach completed (assigned) documents to my Salesforce object, using a postback response from Docusign. I followed this https://support.docusign.com/articles/DocuSign-for-Salesforce-Adding-Completed-Documents-to-the-Notes-and-Attachments-New from their support.

I'm using a salesforce sandbox enviroment and a docusign demo account for systems integretation. This is my Docusign Connect object:

Connector obj

Also, my triggers events are correctly set (as I can see), because when I take a look into my API logs, looks like my connect object is being successfully called, as bellow:

User-added image

And this is my docusign Salesforce account configuration:

User-added image
If any other information is required for a possible solution, just let me know I'll post it.

Thank you in advance.
Hi All, 

We had this following error : 502 (Bad Gateway) when we tried to call a WS (soap) from community.
There is no issue if we test it in admin

here the code : 


sforce.connection.remoteFunction({
              url : "https://v10-creditor.cs81.force.com/creditor/services/Soap/class/WebServiceTest",//"https://" + window.location.host + "/services/Soap/class/WebServiceTest",//"https://maps.googleapis.com/maps/api/geocode/json?address=Kensington",
            //mimeType: "text/xml",
            cache : false,
            async: false,
              requestHeaders: {"Authorization":"Bearer " + __sfdcSessionId, 
              "Content-Type":"text/xml",
                        "SOAPAction": "Hello"
                    },
              requestData: envelope.join(''),
              method: "POST",
              onSuccess : function(response) {
                  // sforce.debug.log(response);
                  console.log('response: ');
                  console.log(response);
                  var obj = JSON.stringify(xmlDoc);
                  console.log('stringify: ');
                  console.log(obj);
                   var jObj = JSON.parse(obj);
                  //alert("onSuccess: \n\n" + jObj);
                  console.log('JSON: ');
                   console.log(jObj);

                  return returnObject;
              },
              onFailure : function(response) {
                  console.log(response);
                  var parser = new DOMParser();
                  var xmlDoc = parser.parseFromString(response,"text/xml");
                  //alert("onFailure end:" + xmlDoc);
                  return returnObject;
              }
            });
            // Step 3: Get Response from GED WS - Khanh
            return returnObject;
        }