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

    • Saravanan Sekar

      Hi  Rakesh Ediga,



      What help you want, where you stuck?



      What code you have written?



       



      S.Saravanan

    • Rakesh Ediga
      We have a Requirement that,we need to store sales cloud,Opty value into Right Now Incident object,when we are going to update in Opportunity Sales Cloud,that value has to store in RightNow Incident Object. We have Invoked Right Now Web services into Sales cloud. We have Created the Web Services in Application Composer under Common Setup. https://instanceclient.custhelp.com/cgi-bin/instance.cfg/services/soap?wsdl Web service which we created name is "RK_RIGHTNOW_WEB" That Web service,we are using under opportunity-->server script-->Web Services ------------------------------------------------------------------------------------------------------------------------------------------------------------------- Code we used, Application-->Sales-->Opportunity-->Server Scripts-->Before Update if(OptyId!=null) { def ClientInfoHeader = [AppID :'Basic create', ] def RNObjects = [ [PrimaryContact :[Contact:[id:'6']]],[Subject:"Test_Integration_Rakesh_Ediga"] ] def ProcessingOptions = [ SuppressExternalEvents :false, SuppressRules :false, ] def Incident = adf.webServices.RK_RIGHTNOW_WEB.Create(ClientInfoHeader, RNObjects, ProcessingOptions) return Incident } ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- But,we are getting Error,while updating in Opportunity. Please help me to Resolve the Issue. Thank You Rakesh
    • Rakesh Ediga
      Hi Sarvanan, I am getting web service error and one time stamp error i am getting,while going to save in opportunity object in sales cloud.i am R10 sales cloud instance...my concern is,that ode correct..is i need to do any modifications in that..vould please help me resolve the Issue. Thank you Rakesh
    • Rakesh Ediga
      Hi Sarvanan, I am getting web service error and time stamp error i am getting,while going to save in opportunity object in sales cloud.i am R10 sales cloud instance...my concern is,that code,which wrote is correct..is i need to do any modifications in that..could you please help me to resolve the Issue. Thank you Rakesh
    • Rakesh Ediga

      Hi Team,

      Could any one,help in this issue,we are new to service cloud.

      we have a requirement that,we have to attach a txt file into service cloud,Incident object using PHP connect API.

      Could you please help me to resolve the issue and provide me the sample code.

       

      Thank you

      Rakesh

    • Narendra Muttineni

      Hi Rakesh,

      Please start new discussion.

      Thanks,

      Narendra

    • Danette Beal

      Rakesh Ediga said:


      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


      View original


      Hi Rakesh,



      Thank you for your reaching out to the Community with your questions! To better assist the Community, will you please create a new  thread with your questions as this will help Community members in the future with this specific ask.  If you have questions about this or around Community Guidelines and Best Practices, please feel free to reach out to me directly.



      Regards,



      Danette, Community  Manager

    • 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

    • Danette Beal

      No worries on the extension Pramod,

      I am going to mark your answer as the Best Answer as I think it best resolves how to achieve the original ask within this thread.

      Thank you again for your additional input!

      Danette, Community Manager