+ Reply to Thread
Results 1 to 4 of 4

Thread: Dynamic REST Web Service

  1. #1
    barrylast is offline Junior Member
    Join Date
    Nov 2008
    Posts
    4

    Dynamic REST Web Service

    Hi,

    I don't suppose anyone would know how to call a dynamic webservice from within SalesForce ideally via a trigger or S-Control.

    What I am trying to achieve is as follows:

    Opportunity runs its course until it is closed / won.

    At this stage based on the opportunity type it wil link to an external service and create a new project ( opportunity Name ), default milestones + Tickets ( custom Objects ) and a svn repository ( opportunity Name ).

    The webservice is based on a dynamic subdomain basis and requires a administration username and password to create new projects. Again I have created a custom object to store these details.

    At present I am thinking of uploading Prototyle or Jquery Libraries and writing s-Control snippets and attaching them to buttons.

    Any advise would really help.

    Thanks

    Barry

  2. #2
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    557
    Blog Entries
    15
    Quote Originally Posted by barrylast View Post
    Hi,

    I don't suppose anyone would know how to call a dynamic webservice from within SalesForce ideally via a trigger or S-Control.

    What I am trying to achieve is as follows:

    Opportunity runs its course until it is closed / won.

    At this stage based on the opportunity type it wil link to an external service and create a new project ( opportunity Name ), default milestones + Tickets ( custom Objects ) and a svn repository ( opportunity Name ).

    The webservice is based on a dynamic subdomain basis and requires a administration username and password to create new projects. Again I have created a custom object to store these details.

    At present I am thinking of uploading Prototyle or Jquery Libraries and writing s-Control snippets and attaching them to buttons.

    Any advise would really help.

    Thanks

    Barry

    I asked your first question at DreamForce and it cannot be done at this time. I understand that they are going to allow a call to an external web service via the triggers in the near future

    and when you say you are going to upload prototype or jquery libraries to where? Your salesforce Org?
    Honestly I dont think that will work either

    but if you can get it to work, shoot go for it and please let me know how it goes

    ~Mike

  3. #3
    barrylast is offline Junior Member
    Join Date
    Nov 2008
    Posts
    4
    Hi Mike,

    Thanks that kind of put the spanner in the works.

    I will now have to look into a couple of other options.


    Writing an API mash-up that would link both systems together, however I would stil like the entire process automated.

    Alternatively see if can hack some javascript into a s-control snippet which is called on button press.


  4. #4
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    557
    Blog Entries
    15
    Quote Originally Posted by barrylast View Post
    Hi Mike,

    Thanks that kind of put the spanner in the works.

    I will now have to look into a couple of other options.


    Writing an API mash-up that would link both systems together, however I would stil like the entire process automated.

    Alternatively see if can hack some javascript into a s-control snippet which is called on button press.

    Are you wanting to include some javascript in an s-control that calls an external service? I am not sure that can be done either, but I may be off totally on that. If that does work, please share what you are doing, I am totally interested

    Good luck with your custom scripting, sounds interesting

    ~Mike

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.1