Customer Portal

Get Involved. Join the Conversation.

Topic

    Saravanan Sekar
    How to show sales cloud details in Rightnow customer portal?Answered
    Topic posted May 11, 2016 by Saravanan SekarBronze Trophy: 5,000+ Points 
    333 Views, 24 Comments
    Title:
    How to show sales cloud details in Rightnow customer portal?
    Content:

    Hi,

    I want to show some sales cloud details in customer portal, Please suggest me how to achieve this.

    I didn't do this task before, so tell me what are the procedures.

     

    Thanks in advance,

    S.Saravanan.

    Best Comment

    Pramod Vasudeva Murthy

    Concluding the thread by comments(even though I am extending itwink). If you are trying integration b/w OSvC and OSC w/o ICS keep following in mind, I have tried this recently(all object synch) and found success, hence sharing my experience:



    • W/o ICS,easiest possible way is through CPM and of asynchronous type. Synchronous won't work as you have to use cURL.
    • Make sure you test your soap request that talks to Sales cloud is tested in SOAP UI or Boomerang. Resolve any errors in them and then embed the same in CPM.
    • Each and every call via cURL has a response and each response varies object wise. So, you have to write a xml parser or atleast traverse nodes based on response returned, it is very hard to design a generic parser(I tried and failed). I used SimpleXMLParser and it worked.
    • Use only those fields of Sales Cloud Object that can be updatable/creatable, do not use DB fields which are controlled by Sales cloud for eg; Updated time and Createdtime etc. Hence run requests in SOAP UI once.
    • Include your parsers in CP libraries folder and refer them relatively in CPM or you place it in File Manager also.
    • Write responses to a log file in assets folder. Refer my other post in community for "Embedding logs in CPM".


    Thanks and Regards,



    Pramod V

    Comment

    • Narendra Muttineni

      Hello,

      You can do the Integration between Sales Cloud and Service Cloud. You can get the data from Sales cloud by using Web Services and display that data into our Customer Portal.

      Regards,

      Narendra

    • Saravanan Sekar

      Thanks Narendra Muttineni.

      Is there any tutorial/Doc for this?

    • Narendra Muttineni

      Nope !!

      If you are well experienced with the PHP, then you can easily do the Integration with external system from Service Cloud Customer Portal. 

      Regards,

      Narendra

    • Saravanan Sekar

      Am not a well experienced in PHP,

      I dont want to store the sales detail in my service cloud, I just want to show the detail in customer portal.

      How to achieve this?

    • Narendra Muttineni

      No need to store any data in our RNT system, however with the help of web services you can accomplish this. 

      Step1: Get the Web Services for the get method from the Sales cloud team.  For ex: if you want to get the Opportunity details from the Sales cloud, then get the Web Services related to that method to fetch that data from the Sales Cloud.

      Step2: Then with the help of Curl Functionality, you can build the code to fetch the data by using web services and display the data on your pages.

      Regards,

      Narendra

    • Saravanan Sekar

      Hi Narendra Muttineni,

       

      Now, I got this error "Call to undefined function curl_init()",can you help me to solve this error.

       

      Regards,

      S.Saravanan.

    • Narendra Muttineni

      Hi Sravanan, 

      Can you please send me the piece of code which you wrote ?

      Regards,

      Narendra

    • Nag A

      share your code, how you are calling webservice?

      you will have to add load_curl(); before making a call.

      Regards,

      Nag

    • Sriranjjani Muralidharan

      Hi Saravanan,

      I had the same problem. Include  load_curl() in your code. It will work out.

       

       

      Thanks,

      Sriranjjani

    • Saravanan Sekar

      Thank You Sriranjjani and Narendra

      Now I didnt get any error.But the page loads empty. No data is being displayed in the page.

      Please help me with this.

      Regards,

      S.Saravanan

    • Saravanan Sekar

      Hi Narendra,

      I wrote this code,

      load_curl();

      $curl = curl_init();
      curl_setopt($curl, CURLOPT_URL, "https://mysite/salesApi/resources/latest/Config_c");
      curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($curl,CURLOPT_USERPWD,"abc:xyz@123");
      $result = curl_exec($curl);
      curl_close($curl);

      Regards,

      S.Saravanan

    • Saravanan Sekar

      Hi Nag,

      Thanks for your response,

      I wrote Load_curl() in code.Kindly see my code above.

      Regards,

      Saravanan

    • Rakesh Ediga

      Hi  Saravanan S,



      I am new to Integration between Sales cloud and Rightnow,i need to send the sales cloud data values into Rightnow Instance,Could you please help to Resolve the Issue and Provide me the Documentation and sample code and example.



       



      Thank you



       



      Rakesh

    • Rakesh Ediga

      Hi  Saravanan S,



      I am invoking Rightnow(OutBound) webservices in Sales cloud and in Opportunity server scripts,object function,i am writing the code to send the opportunity value into Rightnow,but i am unable to write the code and i dnt knw,what procedure i need to use,help on this please.



      Thank you



      Rakesh



       



       

    • Dietrik

      Do you have made a design of the solution you're trying to code ?

      If you're hoping someone sends you a full solution you might better leave this task to someone else.